Questions tagged [io]
IO or I/O is a common shorthand for referring to Input and Output
258
questions
-1
votes
0
answers
19
views
ATMega328p block diagram questions [closed]
This is the block diagram of the ATMega328p micrcontroller
I immediately recognize some building blocks.AVR is the processing control unit,Flash is where the programms are stored and SRAM and EEPROM ...
0
votes
0
answers
20
views
Archive expansion from a USB [closed]
A: mv usb/archive . && xip --expand archive
B: xip --expand usb/archive
I/O speeds
Size of the archive
tA tB
It seems that there isn't an absolute answer for 'which one is faster'. How can ...
0
votes
0
answers
44
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
89
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
0
answers
38
views
Conky: attempt to compare number with nil
I'm trying to make my own conky script, and I'm having some trouble with a script I'm using. The script is this one. This is the problematic part:
{
name="diskio_read",
arg="/...
0
votes
1
answer
184
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
79
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
193
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
42
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
49
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
143
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
76
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
235
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
1k
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
84
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
135
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 ...
2
votes
2
answers
734
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
162
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
49
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
108
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
77
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
36
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
474
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
70
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
228
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
32
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
1k
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
44
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
117
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
585
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
86
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
799
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 (...
0
votes
1
answer
423
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
2k
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
576
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
181
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
393
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
84
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 ...
1
vote
2
answers
3k
views
rm -rf foo_dir 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
273
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
88
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
152
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 ...
0
votes
1
answer
98
views
What's happening when I create a file in a "NTFS compressed" directory?
What's exactly happening? The files appear in the UI as compressed. Is it?
If so, is it written twice (like, uncompressed version of the new files is stored, as a buffer, and compressed then (so ...
0
votes
1
answer
45
views
How to determine the duration for which a file was accessed/modified a program?
I would like to measure the speed of encryption performed by a utility on a Windows 10 box. Since there are no other ways in the utility itself to do this, I would like to know if I can determine how ...
0
votes
1
answer
103
views
Process ntoskrnl.exe CPU usage jumps from 1% to over 40% precisely when using I/O
the problem occurs with the following system.
Device: Lenovo Ideapad 730S - Windows version: 10.0.18362 Build 18362
So ntoskrnl.exe is running just fine as long as all the USB-C ports are left free. ...
0
votes
1
answer
66
views
how to install kernel module for blk_mq's io schedulers?
I have recently changed single queue to multi queue on my oracle server. This server is oracle linux 6.10 (4.1.12 kernel). I realize there is no any io scheduler for blk_mq alse show the /sys/block//...
1
vote
0
answers
56
views
which io scheduler is recommended when use the blk_mq block layer with oracle database?
I have oracle Linux 6.10 with 4.1.12 kernel. I have recently moved from the legacy block to the blk_mq block. But all SCSI devices have show io scheduler is none. I have researched but I didn't find ...
2
votes
0
answers
2k
views
Cannot diagnose slow disk read speed, bottleneck, in Ubuntu
I have the same processes running on 2 (or more machines) for which we notice a massive slow down in disk i/o on some machines. The PCs have very similar hardware (I am happy to post dmidecode if ...
0
votes
1
answer
552
views
Is it safe to use one server fd in multiple epoll event loops in different threads?
I have one server fd, and several threads with epoll event loop in each of them (different epoll_fd's). Is it safe, if I would add this fd to every event loop? Is it true, that only one of them would ...
0
votes
1
answer
530
views
Pipe stdout of two programs to each other
I have two programs, one of them prints something first, they need to communicate with each other with their standard IO.
Is there a way in Bash to pipe stdout of two programs to each other? I know I ...