Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No i/o is ever pending for my disks!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun Aug 10, 2014 3:57 am    Post subject: No i/o is ever pending for my disks! Reply with quote

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
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 506

PostPosted: Sun Aug 10, 2014 9:03 am    Post subject: Reply with quote

did you set CONFIG_VM_EVENT_COUNTERS=y in your kernel config?
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun Aug 10, 2014 11:33 am    Post subject: Reply with quote

Yes, and /proc/vmstat does exist.
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Tue Aug 12, 2014 4:18 am    Post subject: Reply with quote

Kernel bug?
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Tue Aug 12, 2014 3:21 pm    Post subject: Reply with quote

Vmstats bug.

/sys/block/<block dev>/stat

returns right value.
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Tue Aug 12, 2014 3:28 pm    Post subject: Reply with quote

[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
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Wed Aug 13, 2014 2:25 pm    Post subject: Reply with quote

Have you tried dstat as an alternative?
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Thu Aug 14, 2014 4:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum