New answers tagged io
This isn't possible with standard UNIX/POSIX facilities. Your imperfect options are: Just use a shell script, and have the "opening" application (or your shell) execute it instead of opening it for reading. Some apps may support doing this, otherwise you'll have to resort to a shell script wrapper. Use a fifo, and write a daemon that writes to it. This of ...
iotop shows statistics from several different origins; take care when adding up stuff. This previous discussion covers the difference between per-process read/write amounts and the system total read/write amounts: they cover different stuff since the per-process amounts include all I/O (whether to disk, to cache, to network, etc.) whereas the system total ...
I find myself quite often in a situation when pv image_file | dd of=/dev/slow_usb_stick shows that first few hundred megabytes just fly (to the buffer), then the transfer slows down badly. When dd exits there is entire buffer to flush. I then sync in order to remove the stick and I have to wait few more minutes because the buffer is large and the device is ...
You could use CharybdeFS that was made exactly for this kind of purpose. It's a passthrough fuse filesystem like PetardFS but much more configurable. See the CharybdeFS cookbook here: http://www.scylladb.com/2016/05/02/fault-injection-filesystem-cookbook/ It's advanced enough to test a database.
Here are some steps you can take. Ensure that your Linux kernel version is at least 3.19 and that you have the Intel Linux NVMe drivers installed. If that does not help consider installing the Linux NVMe command line interface. Hope this helps.
Top 50 recent answers are included