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

Theodore Tso linux-thinkpad@linux-thinkpad.org
Tue, 14 Nov 2006 09:09:06 -0500


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 = 1103.19 MB/sec
>  Timing buffered disk reads:  112 MB in  3.02 seconds =  37.13 MB/sec
> 
> 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):

<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 = 2062.92 MB/sec
 Timing buffered disk reads:  150 MB in  3.02 seconds =  49.69 MB/sec

						- Ted