Results 1 to 1 of 1
Hello, I am trying to understand the figures in /proc/diskstats but I seem to be missing something fundamental. I wanted to see the read and write times when copying a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-10-2010 #1
- Join Date
- Mar 2010
I am trying to understand the figures in /proc/diskstats but I seem to be missing something fundamental.
I wanted to see the read and write times when copying a file from internal NAND to an SDCard on my target device so I did the following.
I took a snapshot from the /proc/diskstats file for the relevant device (the sdcard). It looked like this:
179 0 mmcblk0 2168 7824 180975 29690 1001 12968 185120 550450 0 32440 580130
179 0 mmcblk0 2739 7824 239482 35390 1308 16708 246814 706930 0 41550 742300
Now to the part I just can't get. According to the iostats.txt in the kernel documentation field 8 (write time per device) is measured in milliseconds.
... 77 Field 8 -- # of milliseconds spent writing 78 This is the total number of milliseconds spent by all writes (as 79 measured from __make_request() to end_that_request_last()). ...
Can someone please explain the measured time? It can't be CPU time - so what is it?
(running on a Linux 2.6.29 kernel)
Can someone shed some light on this?