"why is my Linux so damn slow?"

Rick Sewill rsewill at gmail.com
Sat Feb 12 18:27:55 UTC 2011


On Saturday, February 12, 2011 12:09:34 pm M. Fioretti wrote:
> On Sat, Feb 12, 2011 19:03:56 PM +0100, Marco Fioretti 
(mfioretti at nexaima.net) wrote:
> > On Sat, Feb 12, 2011 12:55:16 PM -0500, Lamar Owen (lowen at pari.edu) wrote:
> > > On Saturday, February 12, 2011 12:19:33 pm M. Fioretti wrote:
> > > > besides hard drive and DVD burner there are only Logitech webcam,
> > > > wheelmouse and earphone microphone, but everything is plugged in
> > > > the back which is not really accessible without moving
> > > > furniture. I'll do that if needed, but isn't a way to check for
> > > > those interrupts from the prompt?
> > > 
> > > Let's see if iowaits are you issue.  Install the sysstat package
> > > (yum install sysstat) and run: iostat -x 1
> > 
> > here it is, thanks for the tip. When it isn't zero, the await column
> > gives anything from 27.36 to 35.78 (last line) to 5 (I have already
> > posted top output in a comment to the web page):
> > 
> > [root at polaris ~]# iostat -x 1 | egrep -i 'device|sda'
> 
> Sorry, of course that's only the part of the story about sda. here is one
> complete run of iostat:
> 
> 
> Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz
> avgqu-sz   await  svctm  %util sda               0.00     5.00    0.00   
> 5.00     0.00    64.00    12.80     0.03    6.00   6.00   3.00 dm-0       
>       0.00     0.00    0.00    8.00     0.00    64.00     8.00     0.04   
> 4.38   3.75   3.00 dm-1              0.00     0.00    0.00    0.00    
> 0.00     0.00     0.00     0.00    0.00   0.00   0.00
> 
> other runs show all null values for  dm-0 / dm-1, or values similar to
> these
> 
> Marco

Could you show the output of iostat -x 1, 
not iostat -x 1 | egrep -i 'device|sda'
please?

On my system, when I do
iostat -x 1
I get "avg-cpu" besides drive information.
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           5.05    0.00    4.04    0.00    0.00   90.91

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz 
avgqu-sz   await  svctm  %util
sda               0.00     0.00    0.00    0.00     0.00     0.00     0.00     
0.00    0.00   0.00   0.00

It might help to see the "avg-cpu".
If we are lucky, either the %user or %system or ... will show high cpu usage.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110212/36d8e7aa/attachment.bin 


More information about the users mailing list