I/O is an acronym for Input/Output, which refers to the mechanism or process for the transfer of information between one system or component and another.

learn more… | top users | synonyms

6
votes
1answer
335 views

Can you throttle the bandwidth to a tmpfs based ramdisk?

I created a ramdisk using tmpfs as follows: sudo mount -t tmpfs -o size=1024m tmpfs /myramdisk I was looking into cgroup blkio subsystem bandwidth limits "read_bps_device" and "write_bps_device" ...
4
votes
1answer
39 views

understanding lsof during long operation on big file

Background I'm running Musicbrainz Picard to update a ~11M ogg file on a 500GB NTFS disk (Transcend StoreJet) connected via USB and mounted using autofs. The connection is through docking station. ...
4
votes
1answer
559 views

GNU/Linux, IO performance problems

I have some problems with my system performance. As I was adviced here, I used sar: $sar -u 5 and found out that the problems are caused by a low HDD performance, as I supposed (high %iowait). ...
3
votes
1answer
73 views

How to tell whether a process is network I/O intensive or not in user mode in Linux?

I am currently writing a program in Linux which needs to tell whether a specific process is network I/O intensive or not at runtime. I have tried some tools such as iotop and iftop, but none of them ...
3
votes
1answer
154 views

Artificially prime buffer cache?

Is it beneficial to artificially prime the buffer cache when dealing with larger files? Here's a scenario: A large file needs to be processed, line by line. Conceptually, it is easy to parallelize ...
2
votes
1answer
48 views

How can I differentiate disk I/O occured explicitly by a user and OS prefetching?

I am monitoring disk I/O usages of an application program (running on CentOS 7) It uses lots of sequential disk I/Os where I expect that OS prefetching is something! dstat shows how many disk I/Os ...
2
votes
1answer
98 views

pipe speed benchmark with machine readable output

I'm looking for a tool similar to pv which is producing machine readable output. And i cant believe that nobody did it bevore... I looked at the manpages of pv, pipemeter, dd and cpipe but all these ...
2
votes
1answer
112 views

How to customize or reprogram function of specific keys on my keyboard and the LED on my laptop

When I disable bluetooth on my laptop, the light does not go off and the blinking of the Wi-Fi LED is starting to bother me. Since I sometimes use my laptop in a poor lighting condition an illuminated ...
2
votes
1answer
83 views

Getting IO privileges in Linux

I have installed flashrom software. When i try to run sudo flashrom command it gives me "Could not get I/O privileges (Operation not permitted). You need to be root" error. Also I tried su command to ...
4
votes
0answers
935 views

Unable to close a Luks partition

For backup purposes, I have "snapshotted" a LVM partition. This partition was crypted so I have opened this Luks partition (snapshot) in order to do my backup. The problem is that I have forgotten to ...
3
votes
0answers
60 views

Samba performance tuning

Hi I'm using Samba to share a folder from linux to a Windows client(Windows Server 2012 R2). The disk backing the linux share is pretty fast (NAS of 500+ MB/s). However, when I benchmark the IO ...
3
votes
0answers
59 views

What could cause dropping cache to be extremely slow on a large cluster?

I'm attempting to time file I/O on my disks. In order to make sure all the I/O is happening off the hard drives and not from ram, before I time any read, I run a drop cache command. Specifically, I ...
2
votes
0answers
344 views

Disk I/O latency using /proc/vmstat file

How do I calculate disk read and write latency in Linux? Is it possible to do the calculation using /proc file system? I am using iostat and vmstat command. But I do not understand how the ...
2
votes
0answers
144 views

View syscalls/kernel activity for I/O from a running process

I'd like to be able to view syscalls or kernel activity for a process...I'm not actually sure of the terminology I need here! Specifically I'm looking for the difference between I/O going to local ...
2
votes
0answers
33 views

Linux sound lags while copying from USB key

Why did I experienced sound skipping while copying a big file from my USB key onto my computer's drive? I monitored the system during this I/O operation: music was playing from Internet on the ...
2
votes
0answers
63 views

IO throughput lower when only a single process using the disk?

I am running a busy cacti server on centos and sometimes the rrdtool process is painfully slow when writing to disk, in HTOP the IO Column would display something between 100-300. I a polling cycle ...
2
votes
0answers
413 views

/dev/sda not appearing after secure erase

I decided to wipe my SSD with a secure erase before installing Arch Linux, since the Arch wiki said that it would improve performance. I followed the instructions listed on the wiki, but now when I ...
2
votes
0answers
1k views

`crontab -e` sometimes fails with “Creation of temporary crontab file failed”

From time to time crontab -e fails on me on a Ubuntu box. It is the same for all users including the root and crontab -eu <user> under the root. Goes like this on a regular basis, a success here ...
2
votes
0answers
322 views

jbd2 journal constant i/o

iotop reports a constant i/o about 3% of [jbd2/vda1-8], I think this is the journal manager for ext4. my fstab is: UUID=X / ext4 defaults,noatime,nodiratime 1 1 tmpfs /dev/shm ...
2
votes
0answers
2k views

find ount what [flush-8:0] is writing

Using iotop, I found out that [flush-8:0] is doing a lot of hard disk activity, which explains the annoying slowdowns. However, I can't figure out what's the actual cause behind this flushing. No ...
2
votes
0answers
219 views

Shorter timeout on I/O errors MacOS X

How do you set a shorter timeout value for read/write I/O errors on MacOSX? We tend to get a few semicrashed disks and want to rsync the contents to a secure location, but when the file subsystem ...
1
vote
0answers
25 views

HDDs, outer track vs inner track performance benchmarks?

I am interested in relating the position of a file on disk and the I/O R/W performance characteristics associated with this position. I have been able to find two benchmarks, but they are both for ...
1
vote
0answers
24 views

iozone read test slower than fio

I'm currently using both iozone and fio to test my disk performance. However, iozone show much much poor speed than what is shown from fio. (about 1/3) Now the question for me is which number should ...
1
vote
0answers
86 views

Linux: Why do init and systemd use so much I/O?

This is probably unanswerable. But maybe someone else will have this problem and find this question, append to it, or proffer an answer. I discovered the pidstat command with its -d option, today. ...
1
vote
0answers
65 views

Storage device trouble: IO errors but no bad sectors?

I have a lightly used spinning metal drive (internal) with some VMs on it. I'm running into IO errors while running a VM and upon closer examination I have found a virtual disk file that is reporting ...
1
vote
0answers
53 views

Samba system calls for reading/writing files from/to NAS issued from Windows desktop client

Windows desktop machine is connected via 1GB Ehternet cable to personal NAS (under development) with Ubuntu on it. While reading and writing files (> 1GB size) from/to NAS strace was conducted to ...
1
vote
0answers
41 views

Restoring in-memory/swapped page state on resume from hibernation

I'm a big fan of Linux's hibernation support, which works extremely well on all the (admittedly slightly older) hardware I've tried it on. I highly prefer it to full shutdown and power up. There's ...
1
vote
0answers
172 views

iowait monitoring in top on OSX/iMac

I'm trying to monitor the performance of a process on OSX 10 (iMac), specifically whether I/O is currently a bottleneck or not. I don't use the machine, hence I need something simple that the user can ...
1
vote
0answers
243 views

Disk benchmark IO depth clear out

When I'm manipulating over some benchmark tool I/O depth, what exactly am I changing? Let's say I have SATA disk on /dev/sda. If I run hdparm: root@linaro-gnome:~# hdparm -I /dev/sda | grep Queue ...
1
vote
0answers
48 views

Find amount of IO occurring over various NFS mounts

When I run netstat | grep nfs, I get the currently mounted nfs connections for a given host in a cluster. If there is massive io happening over 1 (or 2) of the connections, how can I monitor this? Is ...
1
vote
0answers
60 views

Inherit IO redirections from a script to another

When I redirect the output of a script within a script, I expect the redirection to be applied to the called script as well as the program called within it. A: ./B 2>> error.log B: ./...
1
vote
0answers
107 views

Linux Mint keyboard and mouse take a long time to work after boot

I turn my computer on, select my linux harddrive, and then I end up at the Linux mint encryption password area. I have to wait about 1 minute just for my keyboard and mouse to actually light up and ...
1
vote
0answers
274 views

IOMMU causing freezes, disabling causes USB to not work

I'm somewhat new to linux, but I'm running a Xubuntu machine that I recently built. Since I started it up, I had noticed frequent freezes, where both the screen (if plugged in) and any SSH session ...
1
vote
0answers
300 views

How different is I/O handling of hard disk in AIX and Redhat Linux?

I am running a hadoop I/O workload in redhat linux and have ran that in IBM AIX as well with same underlying hardware, disk and disk configuration. With the default settings on the os redhat linux is ...
1
vote
0answers
2k views

How to set up ZFS with ZIL and L2ARC SSD?

I have been considering bcache and flashcache. However my friend suggested me something called ZFS. In fact it says that formating disk with ZFS can actually do the exact same thing without kernel ...
0
votes
0answers
21 views

Linux Disk IO Statistics Across Devices

I've read a whole bunch of posts regarding methods of capturing disk IO on Linux, however none of them have answered the source of my confusion. In my case, I am monitoring disk IO on Linux using ...
0
votes
0answers
29 views

Force dirty pages limit in kernel sources

First of all, I'm not sure if that's a solution to my problem. My problem is that during I/O embedded linux is allocating too much memory in cache causing OOM if I run anything else. I/O operations ...
0
votes
0answers
138 views

Arch Linux: blk_update_request: I/O error, dev sr0, sector 1452024: unrelated to user input

I just left my Arch Linux installation running in a virtual machine. When I came back to it, I found the following error: [14554.169929] blk_update_request: I/O error, dev sr0, sector 1452024 [14554....
0
votes
0answers
65 views

Why does hdparm and dd show two completely different results?

I have an external hard drive (/dev/sdc1) mounted at /mount1 When running hdparm -tT /dev/sdc1 I get: /dev/sdc1: Timing cached reads: 2246 MB in 2.00 seconds = 1123.75 MB/sec Timing buffered ...
0
votes
0answers
25 views

Diagnose input/output errors on a Truecrypt container

I have been trying to get a local repository located on a usb drive working on an air-gapped machine. The repository was created with apt-mirror on the same kind of system (ubuntu i386). Currently I ...
0
votes
0answers
20 views

how qemu interacts with guest os io requests?

the Linux io stack (eg the path of an io request) is something like this: now when such a guest OS is a Linux distro in qemu, the path is the same except in this case there is no disk and scheme is ...
0
votes
0answers
43 views

Dive into qemu source code to trace io requests

I searched a lot about qemu and read its documentation but could not find any explaining its I/O stack. Specifically, I want to know about how an I/O request is created and what path it travels to ...
0
votes
0answers
53 views

dd process real vs. sys time

I have two quad core workstations. One is based on Intel Atom x86_64 architecture (WS1). Another one is based on armv7l architecture (WS2). Both are running 3.10 kernel version. Identical busybox dd ...
0
votes
0answers
29 views

Why my disk is at full speed even though very little is written or read?

Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util sda 429.60 9.00 170.20 2.00 2479.20 71.20 29.62 10.80 67.28 ...
0
votes
0answers
38 views

LVM Logical Volume (linear) best performance

As a system administrator, one thing I do very often is increase LV's size. In most cases I have to extend first the VG, adding a new disk (we are talking about virtual machines). I have got a lot of ...
0
votes
0answers
65 views

Linux huge IOPS difference - same disks

I've been investigating for some time regarding some IOPS issues I've been experiencing.. And my mind is getting crazy! I have two servers (one bought 2 weeks ago, another 1.5 years ago) that I ...
0
votes
0answers
28 views

SSD as write target during reads

I have a real-time application which always writes data to a RAID 10 HDD configuration in a sequential manner at around ~50 MB/s. It uses mmap and writing should never be blocked due to waiting I/O. ...
0
votes
0answers
12 views

Can suspending lead to data loss on an external HDD?

Let's assume we have an external HDD using an ext4 filesystem, powered via USB. Some write is ordered on the external drive, not synced yet. Then the user wants to suspend the system. Provided no ...
0
votes
0answers
44 views

stdin read notification

I want to detect when/if an application issues read(stdin, ...). Is it possible to use unbuffered I/O so that I could wait on write in external process? The problem: Some commands require user input ...
0
votes
0answers
309 views

Is swapping the cause of high IO on my box?

I'm running a LAMP stack on an Amazon EC2 micro instance with 616 MB of memory. This seems sufficient to be able to run a few small websites with Apache, MySQL and PHP. I have one Wordpress site ...