Questions tagged [io]
IO or I/O is a common shorthand for referring to Input and Output
266
questions
-1
votes
0
answers
8
views
About PCIe bus enumeration without IO map [closed]
I'm a beginner starting to under stand PCIe protocol and I have a question about enumeration of PCIe.
According to PCIe spec, PCIe uses memory mapped IO (MMIO) instead of IO mapped IO.
The book ...
0
votes
1
answer
21
views
Temporarily disabling hardware IO ports for remote connection
I'm using moonlight with sunshine to stream my desktop to my mobile devices for remote access.
Is there a way for a script to toggle the all IO ports, except the ethernet, on and off to prevent direct ...
-2
votes
2
answers
81
views
Can ionice reduce wear and tear on hard disks?
Without knowing how ionice works functionally, I was wondering if ionice more smartly batches disk I/O operations for more efficient physical movement (spinning disks specifically).
I run a lot of ...
0
votes
1
answer
334
views
How can I view the max wattage of my usbcpd port of my laptop?
I have a Lenovo laptop with one of the USB C 3.2 gen 2 ports labeled as USB-PD, and I'm wondering what it is rated for. Based on some Googling it seems that USB 3.1 PD ports support up to 240 watts, ...
2
votes
0
answers
74
views
Continuously writing multiple files: sequential write or random write I/O?
I am trying to choose an SD card to get the best I/O performance for an application which basically does this:
Writes a 4K 30FPS video stream
Writes a VGA video stream
Writes multiple log files of ...
0
votes
1
answer
189
views
Extremely slow json.load of a network response in WSL
Decoding a json response takes a lot of time on my system - Precision 5520 (11th gen I7, 64 GB) with Linux 20.04 LTS under WSL2 under Windows 10 Pro. Here is the relevant part of the code:
def ms_now()...
1
vote
0
answers
39
views
btt in blktrace tool does not report any data in android
I have collected trace data in file parse.bin with blktrace in android.
Then I use btt to parse the cellocted data as below:
/ssd/blktrace/btt/btt -i parse.bin
But it does not report any data. The ...
0
votes
2
answers
193
views
Check that every file is successfully readable on a volume
For the first time since many years, I have a disk (SSD that shows 99% health with DiskInfo!) that has a few unreadable files. I tried to open these files with wxHexEditor, and when scrolling in the ...
0
votes
0
answers
21
views
On Linux (Fedora), I want to track a PARTICULAR process' I/O to find out if it's hung or is making progress
So... I'm busy trying to clean up two decades of backups an have a particular job that's trying to get a sha1sum on two possibly duplicate files and it appears to be hung... the operative word being &...
1
vote
0
answers
273
views
ZFS I/O Error, Kernel Panic during import
I'm running a raidz1-0 (RAID5) setup with 4 data 2TB SSDs.
During midnight, somehow 2 of my data disks experience some I/O error (from /var/log/messages).
When I investigated in the morning, the zpool ...
0
votes
1
answer
1k
views
Can switching off computer’s power supply while it’s running damage the I/O?
Working on a HTPC build, and we accidentally switched off the PSU while it was running. Motherboard still runs and fans work, but video output and USB devices are no longer responding. Did we fry the ...
0
votes
0
answers
124
views
Bad disk write performance & high PSI
I'm currently running into an issue where writing files is causing insanely high pressure on the I/O side:
It goes so far that the system even stalls for a few seconds then writes a bit, stalls again,...
2
votes
1
answer
904
views
How to get the current IO utilization in percentage from the command line on Windows 10?
I already know how to get the CPU usage percentage:
wmic cpu get loadpercentage
That returns:
LoadPercentage
21
But what about the IO? Meaning the total disk utilization in percentage, or one per ...
0
votes
1
answer
665
views
Signals vs. polling for I/O (uses very simple example of I/O)
I understand how hardware interrupts work. I have a basic question about I/O, and will use keyboard and characters from key presses as the context for the question.
In a general sense, do processes ...
0
votes
1
answer
349
views
Where is hardware buffer often located for USB ports?
This is a pretty broad question. The hardware buffer for USB ports, where is it typically located? I have heard they are typically in the USB controller. I attach what looks like a generic image to me ...
0
votes
1
answer
1k
views
Is there some way to make a foobar2000 playlist automatically track and update its file paths?
I have a lot of poorly named music files. They are poorly named because when they were digitized or converted, there either was no metadata at all, or it was incomplete/inconsistent, etc.
Manually ...
-2
votes
1
answer
58
views
CPU and its operations
The 3 operations performed by a CPU are:
Transfer of data between memory and I/O
Logical and Arithmetical functions
Program flow through simple decisions
I dont understand what the 3rd operation is ...
0
votes
1
answer
53
views
How is it possible for a process to read 300+ I/O TB?
Take a look at how much I/O this process done! KillerAnalyticsService is, apparently, program made by the manufacturer of network card installed in PC. Can somebody explain how so much bytes was read?
...
0
votes
1
answer
342
views
Is JBOD or striping better for lots of small files?
I have a server in multi-disk configuration using LVM-on-LUKS in JBOD mode. But I notice in htop that the kernel time in CPU usage is (un)usually very high, and in iotop the jbd2/dm-5-8 and ...
5
votes
1
answer
201
views
Do writes and reads contend with each other for an SSD? [closed]
I have a disk I/O intensive application where I am reading and writing a lot concurrently.
For a spinning disk, it makes sense that there is contention because the pointer has to move around a lot but ...
0
votes
1
answer
378
views
pipe-lining using wget or curl on linux
I would like to know how can I download a file from the internet using wget and/or curl by separating the file into even segments and downloading the file using 8 or 16 direct links, substantially ...
1
vote
2
answers
4k
views
Settings for com ports to speed device I/O data transfers
I used to be able to go to com port settings for device I/O on windows and change settings such as baud rate for computer between internal PC hardware. I'm looking for instructions to do the same ...
0
votes
0
answers
127
views
Stop disk activity of a process without killing the process
Is there a technique or tool that can be used to stop a running process from writing to a drive, but not kill the process.
If I have more level of control in that, like selecting which drives the ...
4
votes
0
answers
186
views
Any way to tweak Windows' kernels or drives to handle I/O and reduce or eliminate hangs with failing drives?
I frequently work with failing hard drives for data recovery and various tasks. These tasks are usually short lived in nature, but important. The way Windows seems to handle any failing drive that's ...
4
votes
2
answers
2k
views
See exactly which files each program accesses
You can easily observe that a program is performing I/O disk operations using a process monitor. Is there an easy way to observe exactly what files are being read/written to by each process?
Windows/...
0
votes
1
answer
258
views
Disk writes in Mac OS Mojave (10.14.6)
Good day everyone!
I am trying to dissect MacOS to remove functions I do not need such as Siri, Spotlight, Sidecar stuff, etc.
Mainly, I follow https://gist.github.com/pwnsdx and similar resources all ...
0
votes
2
answers
71
views
What kind of disk operation is not read or write?
When reading a performance chart like this, what does the Other IO/Sec mean? What kind of operation is not read or write?
The info button only leads to a doc with this vague description:
NFS Write – ...
0
votes
1
answer
159
views
Alert when a partition is read/written
My hard disk sometimes makes unexpected noise, indicating activity. By eyeballing iotop I believe this process is responsible:
mount.ntfs /dev/sda2 /storage -o rw,umask=007,gid=46
however the ...
0
votes
1
answer
139
views
How can one see how much total reads and writes (in bytes) a given file has received cumulatively since Windows started?
I started Microsoft Windows a few hours ago. I would like to see how much total reads and writes (in bytes) a given file has received cumulatively since Windows started. Windows Results Monitor doesn'...
1
vote
0
answers
44
views
How to prevent Windows 10 and/or my computer from going completely crippled while utilizing file copying over USB?
I have a monster PC running Windows 10. There are zero known hardware issues, and it's managed by me, a poweruser. There are no weird things slowing it down. It runs at expected speed normally.
It is ...
1
vote
1
answer
822
views
EMMC with unblanced block erase count
We developed some embedded Linux products which write data log 24h*7 to 8GB eMMC chips. When reading the block erase counts of every block inside the eMMC chips by sending the CMD56 command. We found ...
1
vote
0
answers
99
views
Why does transferring files to a USB stick grind my computer to a halt?
I'm currently syncing a bunch of files to a USB stick.
Regardless of what USB version it uses, and regardless of my motherboard's ability to transfer USB data, why does it cause my entire computer to ...
2
votes
1
answer
411
views
Using the sound card of a DVD player with a surround sound system for my monitor [closed]
I've recently acquired a DVD player with a built-in 5+1 Surround sound system from a family member. I have been using streaming services quite awhile now so I really don't need a DVD player. However I ...
0
votes
0
answers
112
views
How to redirect specific file I/O to another drive
I'm on Windows and i'm dealing with a badly written application that needs to store huge temporary files, but the temp directory is apparently hardcoded to %localappdata%\Temp and cannot be changed.
...
0
votes
1
answer
2k
views
PCI device: who assign I/O address range ? (Bios, Driver or Opeating System)
Who assign I/O memory adress range ?
I'm a little confused, I don't know if this address range is assigned by Bios, Driver or Operating system.
I have a problem with an address range of a device and ...
0
votes
1
answer
49
views
HDD I/O fast at first but gradually decreases? [duplicate]
I was benchmarking my WD 500 GB HDD in Ubuntu Disks several times and saw that the read speeds started at 140 MB/s, but it consistently would gradually decrease by a few MB/s with seemingly no floor. ...
0
votes
0
answers
181
views
unclear semantics of some fio options
I am doing some raw disk tests using fio. I found some behaviour are not clear when I specify --filename=/dev/device_name and --direct=1. Could please help me to explain it?
(1) default ioengine is ...
1
vote
0
answers
745
views
High percentage of IO in iotop
I have a problem with a very slow process (mongod), so I downloaded iotop to see how is my drive going.
I can see a very high percentage in the IO< column, constantly about 70-99%. Can someone ...
1
vote
1
answer
107
views
Writing keypresses to SSD & wear leveling
I am planning to write an application that tries to write as much to file as possible as to never lose any significant amount of data. It will write every key stroke including micro or even nano-...
2
votes
1
answer
1k
views
why keyboard input lags while using Zoom app
Every time I am using Zoom App or Google Meet, The keyboard input is delayed terribly (about 3s+) while typing in any kind of application.
I tried to reinstall Zoom again, deactivate my antiVirus (...
1
vote
1
answer
979
views
Find out which files a process is writing to
I have this very annoying problem with Firefox for months where its CPU usage jumps to over 24% after a while when idle. Any official troubleshooting has lead to no positive results (tried to reset, ...
0
votes
1
answer
3k
views
IO shield is causing my motherboard to not align with case standoffs
I have a very quick question regarding the IO shield in my PC build. I'm a complete beginner when it comes to this, so this might be a silly question. I've recently started building a computer but I'...
-2
votes
1
answer
662
views
Why does the RTX IO in the Nvidia GeForce RTX 30 Series use any CPU at all even though the information flow from the storage to the GPU?
I saw in the 2020-09-01 Official Launch Event for the NVIDIA GeForce RTX 30 Series that the RTX IO in the Nvidia GeForce RTX 30 Series allows the GPU to directly access the storage (SSD) without ...
0
votes
1
answer
249
views
Blktrace missing I/O events
I'm using blktrace to capture the traffic that goes to my device and have been dealing with some painful issues. Wondering if you guys can confirm/correct my findings.
Seems like blktrace is missing ...
0
votes
1
answer
495
views
How do I set /sys/block/X/queue/scheduler on Ubuntu 18.04 with HWE on startup
I am running Ubuntu 18.04 (Bionic) with the HWE stack installed. This means I have the 5.3 Linux kernel running.
In older versions of the kernel, apparently passing elevator=noop when GRUB starts the ...
0
votes
0
answers
109
views
No input devices working after startup
It's a normal day. I start my PC and try to login and BAM. Both my keyboard and mouse are not working. The devices itself are working fine (I can see the lights and stuff) but Windows somehow doesnt ...
2
votes
2
answers
5k
views
rm -rf takes a long time
I have a directory ./aggregated/ in which I have 7550 sub-dirs each containing 250 files. aggregated has 5.5GB in total.
I've tried deleting aggregated via rm -rf aggregated and it is taking hours. ...
0
votes
0
answers
337
views
Poor and strange disk performance with VirtualBox (macOS host, Windows 10 guest)
I have VirtualBox 6.1.4 running on macOS Mojave. I'm working with a Windows 10 guest and it seems I have some performance problems with disks.
Testing with Aja System Test, on macOS I see numbers ...
1
vote
1
answer
116
views
How is I/O encryption handled in modern systems? [closed]
First: I've struggled with the question on which stackexchange to post this question since it involves OS knowledge, hardware knowledge but probably also other CS fields. Suggestions for a better ...
0
votes
0
answers
205
views
Problems accessing disk after IO tests
I am having problems when accessing my home folder, or generally anything that is on my HDD (I also have an SSD which seems to work fine) in my ubuntu (18.04.4) workstation.
:/$ df -h
Filesystem ...