lkml.org 
[lkml]   [2005]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: debug a high load average
On Tue, Aug 23, 2005 at 04:38:36PM +0530, Rajesh wrote:
> I have a case occasionally when I copy data from a usb storage (ipod) to
> my hard drive the load average goes up from 0.4 to about 15.0, and the
> system becomes very unusable till I kill the cp command. I have checked
> the CPU usage, bytes read from usb device, byte written to hard drive
> etc, and all these values are low like CPU usage is at a maximum of 30%,
> disk read bytes is at an average of 1.5 MiB/s, disk write bytes is at
> 1.5 MiB/s, number of processes is at 110, etc, during this high load.

1.5 MB/s suggests you're using an IDE drive in PIO mode. Switch to DMA
mode (hdparm -d 1 /dev/hda) and see if it gets any better.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-23 16:02    [W:0.335 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site