Re: poor sata performance on 2.6

From: Denis Vlasenko
Date: Thu Apr 15 2004 - 07:40:50 EST


On Thursday 15 April 2004 13:40, Konstantin Sobolev wrote:
> On Thursday 15 April 2004 11:12, Lenar Lõhmus wrote:
> > >for sata_sil:
> > >
> > >/dev/sda:
> > > Timing buffer-cache reads: 1412 MB in 2.00 seconds = 705.05 MB/sec
> > > Timing buffered disk reads: 84 MB in 3.06 seconds = 27.43 MB/sec
> > >
> > >So my old IDE HDD appears to be considerably faster. Expected results
> > > were 55-70MB/s.
> >
> > With same hard drive connected to 3ware S-ATA controller I got
> > 40-50MB/sec with hdparm on 2.6.4 and 2.6.5. Then
> > tried to hdparm -a 8192 /dev/sda, and got this:
> >
> > /dev/sda:
> > Timing buffer-cache reads: 2056 MB in 2.00 seconds = 1027.13 MB/sec
> > Timing buffered disk reads: 266 MB in 3.00 seconds = 88.53 MB/sec
> >
> > So you may try that switch, maybe helps.
>
> unfortunately it doesn't:
>
> /dev/sda:
> setting fs readahead to 8192
> readahead = 8192 (on)
> Timing buffered disk reads: 84 MB in 3.06 seconds = 27.46 MB/sec

27 Mb/s is not 'very' bad for 80Gb drive.

Can you verify that drive indeed is able to do better
(quick test under Windows is in order)? It would be silly
to try to hunt down problem which do not exist.

If problem does exist, try 2.4 kernels.
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/