[ltp] [T60] Is SATA slower than PATA?

Murtaza linux-thinkpad@linux-thinkpad.org
Tue, 14 Nov 2006 13:08:09 -0500


On Tue, 14 Nov 2006 09:09:06 -0500, Theodore Tso <tytso@mit.edu> wrote:

> On Mon, Nov 13, 2006 at 06:41:03PM -0500, Murtaza wrote:
>>
>> I also have a T60 with the same drive as the one listed below.
>> I get only half the speed you are getting for cached reads:
>>
>> hanger:murtaza:\~>sudo hdparm -Tt /dev/sda
>>
>> /dev/sda:
>>  Timing cached reads:   2204 MB in  2.00 seconds =3D 1103.19 MB/sec
>>  Timing buffered disk reads:  112 MB in  3.02 seconds =3D  37.13 MB/s=
ec
>>
>> I tried disabling the AHCI mode for SATA from the BIOS and set it to
>> Compatibility mode but that causes my kernel to panic.
>
> What kernel / kernel config do you have?  If you disable AHCI mode,
> you need to have CONFIG_SCSI_ATA_PIIX enabled; I also have
> CONFIG_SCSI_SATA_AHCI disabled on my (custom built) kernel, and on my
> T60p (with a 2GHz Core Duo):

I have CONFIG_SCSI_SATA_AHCI enabled in my kernel config. I will test
your suggestion of disabling AHCI and enabling PIIX.

Thanks,
-murtaza

>
> <tytso.root@candygram>  {/usr/projects/ipw3945/ipw3945-1.1.2}, level 2=

> 517# hdparm -I /dev/sda
>
> ATA device, with non-removable media
>         Model Number:       HTS721010G9SA00
>         Serial Number:      MPCZH1Y0GGNH4D
>         Firmware Revision:  MCZIC10H
> 	...
>
> <tytso.root@candygram>  {/usr/projects/ipw3945/ipw3945-1.1.2}, level 2=

> 518# hdparm -tT /dev/sda
>
> /dev/sda:
>  Timing cached reads:   4124 MB in  2.00 seconds =3D 2062.92 MB/sec
>  Timing buffered disk reads:  150 MB in  3.02 seconds =3D  49.69 MB/se=
c
>
> 						- Ted
>