Re: RFC: ATA to CAM integration patch

From: Mike Tancsa <mike_at_sentex.net>
Date: Fri, 03 Jul 2009 10:15:26 -0400
At 09:53 AM 7/3/2009, Alexander Motin wrote:

>This test looks inadequate. there is almost no modern SATA HDDs having
>only 40MB/s of linear read/write speed. Usual values now are 60-100MB/s
>and they should be reached with almost any working driver. Can you try
>simple `dd if=/dev/ada0 of=/dev/null bs=1m count=1000`?


Something about this particular disk perhaps

0[i7]# dd if=/dev/ad4 of=/dev/null bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 14.933896 secs (70214497 bytes/sec)

Using a different seagate disk,

0[i7]# dd if=/dev/ad6 of=/dev/null bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 7.542932 secs (139014377 bytes/sec)
0[i7]#

I will re-run the tests with the newer seagate.

Perhaps a firmware update to the 'slow' one might help


Protocol              SATA revision 2.x
device model          ST380811AS
serial number         6PS03G9Z
firmware revision     3.AAE
cylinders             16383
heads                 16
sectors/track         63
lba supported         156301488 sectors
lba48 supported       156301488 sectors
dma supported
overlap not supported

Feature                      Support  Enable    Value           Vendor
write cache                    yes      yes
read ahead                     yes      yes
Native Command Queuing (NCQ)   yes       -      31/0x1F
Tagged Command Queuing (TCQ)   no       no      31/0x1F
SMART                          yes      yes
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      no       no      65278/0xFEFE
automatic acoustic management  no       no      0/0x00  208/0xD0




>If you have issues with old driver also, then it is probably some drive
>specifics, but not a bug of the new implementation. There was no changes
>to the old ATA.

Yes, it certainly seems so.  This DVD is off the PATA bus

0[i7]# atacontrol list
ATA channel 0:
     Master:      no device present
     Slave:       no device present
ATA channel 1:
     Master:      no device present
     Slave:       no device present
ATA channel 2:
     Master:      no device present
     Slave:  acd0 <DVD-ROM UJDA780/1.50> ATA/ATAPI revision 7
ATA channel 3:
     Master:  ad6 <ST380811AS/3.AAE> SATA revision 2.x
     Slave:       no device present
ATA channel 4:
     Master:      no device present
     Slave:       no device present
ATA channel 5:
     Master:      no device present
     Slave:       no device present
0[i7]#






>--
>Alexander Motin
>_______________________________________________
>freebsd-current_at_freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Fri Jul 03 2009 - 12:15:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC