public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Erik Mouw <erik@harddisk-recovery.com>
To: Rajesh <rvarada@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: debug a high load average
Date: Tue, 23 Aug 2005 15:30:50 +0200	[thread overview]
Message-ID: <20050823133050.GC29062@harddisk-recovery.com> (raw)
In-Reply-To: <430B03B4.8040205@gmail.com>

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

  reply	other threads:[~2005-08-23 13:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-23 11:08 debug a high load average Rajesh
2005-08-23 13:30 ` Erik Mouw [this message]
2005-08-24  4:40   ` Rajesh
2005-08-24  8:01     ` Mariusz Zielinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050823133050.GC29062@harddisk-recovery.com \
    --to=erik@harddisk-recovery.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rvarada@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox