View previous topic :: View next topic |
Author |
Message |
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Sun Aug 10, 2014 3:57 am Post subject: No i/o is ever pending for my disks! |
|
|
That's as per vmstat -d output. I'm talking about the second last column. It's always zero even when I got dd running and that USB flash disk busy indicator always show busy.
Oddly, the waiting for i/o column (sec) increments even when the cur column is 0.
Code: | -----IO------
cur sec
0 7146
0 61
0 77966 |
_________________ My blog |
|
Back to top |
|
|
roarinelk Guru
Joined: 04 Mar 2004 Posts: 520
|
Posted: Sun Aug 10, 2014 9:03 am Post subject: |
|
|
did you set CONFIG_VM_EVENT_COUNTERS=y in your kernel config? |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Sun Aug 10, 2014 11:33 am Post subject: |
|
|
Yes, and /proc/vmstat does exist. _________________ My blog |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Tue Aug 12, 2014 4:18 am Post subject: |
|
|
Kernel bug? _________________ My blog |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Tue Aug 12, 2014 3:21 pm Post subject: |
|
|
Vmstats bug.
/sys/block/<block dev>/stat
returns right value. _________________ My blog |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Tue Aug 12, 2014 3:28 pm Post subject: |
|
|
[quote=http://books.msspace.net/mirrorbooks/linuxperformanceguide/0131486829/ch06lev1sec2.html]Note that there is a bug in recent versions of vmstat in which this is incorrectly divided by 1,000, which almost always yields a 0.[/quote]
I can reproduce this in Fedora also.
This project is dead. _________________ My blog |
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Wed Aug 13, 2014 2:25 pm Post subject: |
|
|
Have you tried dstat as an alternative? |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Thu Aug 14, 2014 4:50 pm Post subject: |
|
|
The point of using this tool was that it's pre-installed in maximum distros.
Anyway, thanks for the package. _________________ My blog |
|
Back to top |
|
|
|