All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Lord <lkml@rtr.ca>
To: Linda Walsh <lkml@tlinx.org>
Cc: Justin Piszcz <jpiszcz@lucidpixels.com>,
	smartmontools-support@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: Re: default hdparms? readahead=256? Re: WD 400GB xATA Drives
Date: Mon, 13 Feb 2006 22:36:07 -0500	[thread overview]
Message-ID: <43F15027.2090304@rtr.ca> (raw)
In-Reply-To: <43F1393D.9050801@tlinx.org>

Linda Walsh wrote:
>..
> set to known values may not contain "great values".  My "readahead"
> value seems to boot with a value of "256" for all of my drives.
> 
> Is this not a bit "excessive"?

Wow.. that does look a bit HUGE.  Thanks for pointing it out,
I'm resetting mine back to 128 for now.

> Justin Piszcz wrote:
>> When I write to this disk for a while, I see this in dmesg (only once 
>> so far):
>>
>> [31230.223504] ata6: translated ATA stat/err 0x51/04 to SCSI 
>> SK/ASC/ASCQ 0xb/00/00
>> [31230.223511] ata6: status=0x51 { DriveReady SeekComplete Error }
>> [31230.223515] ata6: error=0x04 { DriveStatusError }
>>
>> Is there some sort of smart testing going on constantly?  I only get 
>> 26-27MB/s on this 400GB/SATA/16MB/7200RPM drive.  I use smartmontools 
>> to do a daily test.  However, even with smart disabled, I get:
>>
>> # hdparm -t /dev/sde
>> /dev/sde:
>>  Timing buffered disk reads:   78 MB in  3.06 seconds =  25.46 MB/sec
>>
>> Does anyone know if this drive has problems in Linux or something?
>>
>> [    6.895914]   Vendor: ATA       Model: WDC WD4000KD-00N  Rev: 01.0
...

Some drives suck at sequential reads, in favour of doing random seeks
very very well.  Basically, the on-drive seek algorithm may not favour
doing much read-ahead.  Try "hdparm -A1" and see if that helps.

  reply	other threads:[~2006-02-14  3:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-13 10:29 WD 400GB SATA Drive In Constant Smart Testing? Justin Piszcz
2006-02-14  1:58 ` default hdparms? readahead=256? Re: WD 400GB xATA Drives Linda Walsh
2006-02-14  3:36   ` Mark Lord [this message]
2006-02-14  9:49     ` Justin Piszcz
2006-02-14  8:16 ` WD 400GB SATA Drive In Constant Smart Testing? Jan Engelhardt
2006-02-17  7:32   ` [smartmontools-support]Re: " Michael Mansour

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=43F15027.2090304@rtr.ca \
    --to=lkml@rtr.ca \
    --cc=jpiszcz@lucidpixels.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@tlinx.org \
    --cc=smartmontools-support@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.