On 22/11/2007, Raj Mathur <[EMAIL PROTECTED]> wrote:
>
> If you want to see this in action, do the following on a relatively
> unloaded system:
>
> - - Open up one terminal and run: sar -u 1 10000
> - - Open up another terminal and run: ls -lR / > /dev/null
>
> Watch the %iowait times in the sar output go up as ls keeps waiting to
> read the disk.  Now start up some CPU-intensive process like glxgears
> (GNU Chess is even better) and watch the %iowait times go down.  This
> is because the time ls is spending waiting for I/O to complete is being
> soaked up by glxgears/gnuchess using up the CPU.
>

Wow! This was great. I could actually see %iowait go down from 48% to 13%
when I launched glxgears!

- Kazim Zaidi
Blog: http://tuxplayground.blogspot.com
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22/23, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to