Yeah, this is a classic - i have one breezy box that is a little old ,
and occasionally the DMA reverts to disabled - performance becomes bog
slow. Running hdparm -d 1 /dev/hda fixies it again.

If you do a simple file copy of a large file, you should be able to
sustain 5MB/s read and write simultaneously. (10MB/s read or write)



On 6/23/06, Martin Pool <[EMAIL PROTECTED]> wrote:
On 23 Jun 2006, Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:

> Anyway, it does seem to be spending way too much time in wait and idle
> when it should doing some bloody processing.

You might want to try changing hdparm parameters; in particular
something like

  sudo hdparm /dev/hda
  sudo hdparm /dev/hda -u 1 -d 1

I'm told dapper tries to auto-set these, but does so conservatively wrt
firmware bugs.  It may be too conservative in your case -- or it may be
right and your machine actually can't do it.  I have caused crashes by
setting these but never lost data, but be warned.

So you can either just suffer, or set it by hand, or file a bug
with hardware details to get the autodetection improved.

--
Martin
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html



--
Regards, Martin

Martin Visser
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to