[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Serial ATA speed : kernel 2.4.25



On Fri, 27 Feb 2004, Martin Wood wrote:
> Im trying to find some definitive information on configuring serial ATA 
> drives.
> 
> Im using a 2.4.25 kernel with woody.
> The mobo is an Intel 865PERC with an IHC5 controller and the drives are 
> a pair of Maxtor 7Y250M0.

Get the libata patches from ftp.kernel.org (people/jgarzik). Configure
serial ATA (it will be in the *SCSI* sub menu).  Configure your ICH5 for
_native_ mode (all SATA and PATA drivers available).

Your SATA drives will show up as SCSI disks.

> The system recognizes the drives but the logs seem to indicate its 
> treating them as UDMA-33

Ignore that. ICH5 knows better than to talk to a SATA device as if it were a
PATA one, no matter what you tell it to.  That won't make the disks any
faster, obviously.  I get a bit more speed than your disks: 50 to 60MB/s 
depending on my luck (and system load, which I can't stop right now to give
you a proper measure).

But do use libata, it might improve SATA performance a bit.

> hde: attached ide-disk driver.
> hde: host protected area => 1
> hde: 490234752 sectors (251000 MB) w/7936KiB Cache, CHS=30515/255/63, 
> UDMA(33)
> hdg: attached ide-disk driver.
> hdg: host protected area => 1
> hdg: 490234752 sectors (251000 MB) w/7936KiB Cache, CHS=30515/255/63, 
> UDMA(33)

Here it goes:
ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE802 bmdma 0xDC00 irq 18
ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE002 bmdma 0xDC08 irq 18
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003
88:207f
ata1: dev 0 ATA, max UDMA/133, 234441648 sectors (lba48)
ata1: dev 0 configured for UDMA/133
ata2: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003
88:207f
ata2: dev 0 ATA, max UDMA/133, 234441648 sectors (lba48)
ata2: dev 0 configured for UDMA/133
scsi1 : ata_piix
scsi2 : ata_piix
  Vendor: ATA       Model: ST3120026AS       Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 05
  Vendor: ATA       Model: ST3120026AS       Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 05
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0

libata SATA has no SMART support right now, btw.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: