Extremely slow read/write speed(4Mb/s), 7.1 Release on Intel ICH9 SATA

Rusu Silviu bsdgroup.md at gmail.com
Sat Feb 28 04:27:34 PST 2009


also there was corrupt GPT tables
used gpt destroy to clean any gpt tables
and gpt create for new valid GPT tables
this did not increase the speed, but let me correctly know it is right done
freebsd rocks!

On Sat, Feb 28, 2009 at 2:14 AM, Rusu Silviu <bsdgroup.md at gmail.com> wrote:

> solved
>
> for some reason, 750G disk were unable to read more than 40K per transfer
> and transfers per second were poor as well
> it were behave like 4K bytes per sector, thought it were 16K
> an default newfs on it solved the problem
> it has avg 128K per transfer at avg 600 transfers per second, resulting
> into avg 80M/s
>
>
> On Fri, Feb 27, 2009 at 7:59 AM, Rusu Silviu <bsdgroup.md at gmail.com>wrote:
>
>> Hello.
>>
>> No idea what could be.
>> Any suggestions please?
>>
>> Have 3 HDDs
>> - 160G Seagate Serial ATA v1.0, 3 partitions: 1 - system, 2 - data, 3 -
>> storage, soft updates on for all partitions
>> - 750G Samsung Serial ATA II, 1 partition, soft updates on
>> - 1000G Samsung Serial ATA II, 1 partition, soft updates on
>>
>> hw.ata.wc=1
>>
>> Mobo is an ASUS P5KR, P35/ICH9
>> Buyed cause `man ata' says ICH9 is supported
>> There are also Jmicron eSATA/PATA controller, that i actually disabled
>> No overclocking
>>
>> dd if=/dev/ad4 of=/dev/null
>> iostat -w1 ad4
>>       tty             ad4             cpu
>>  tin tout  KB/t tps  MB/s  us ni sy in id
>>   47   48  1.65 252  0.40   6  0  1  1 92
>>    1  251  0.50 12650  6.18   2  0 15 14 69
>>    0   88  0.50 12583  6.15   3  0 18 12 67
>>    0   87  0.50 12641  6.17   3  0 18 12 68
>>    0   87  0.51 12614  6.23   2  0 19 12 67
>>    0   87  0.50 12619  6.16   3  0 16 13 68
>>    0   87  0.50 12634  6.17   2  0 18 11 70
>>    0   87  0.50 12644  6.17   4  0 16 13 67
>>    0   87  0.52 12545  6.39   3  0 19 12 67
>>    0   87  0.50 12612  6.16   3  0 15 12 70
>>    0   87  0.50 12578  6.14   2  0 14 14 71
>>
>>
>> dd if=/dev/ad6 of=/dev/null
>> iostat -w1 ad6
>>       tty             ad6             cpu
>>  tin tout  KB/t tps  MB/s  us ni sy in id
>>   48   47  7.58  15  0.11   6  0  1  1 92
>>    1  251  0.52 7777  3.93   3  0 12  8 77
>>    0   86  0.52 7779  3.95   3  0  9 10 79
>>    0   86  0.51 7786  3.91   0  0  9  7 84
>>    0   86  0.52 7842  3.98   3  0 11  7 79
>>    0   86  0.51 8084  4.05   2  0  9  7 82
>>    0   86  0.52 7395  3.74   2  0 12  9 77
>>    0   86  0.51 7735  3.88   3  0 11  7 79
>>    1   86  0.52 7810  3.95   2  0 11 10 77
>>
>>
>> dd if=/dev/ad12 of=/dev/null
>> iostat -w1 ad12
>>       tty             ad12             cpu
>>  tin tout  KB/t tps  MB/s  us ni sy in id
>>   48   47  0.68  12  0.01   5  0  2  1 92
>>    1  253  0.50 7694  3.76   3  0  9  9 79
>>    0   85  0.50 7642  3.73   2  0  9  8 81
>>    0   85  0.50 7575  3.70   1  0 10  6 83
>>    0   85  0.50 7598  3.71   2  0 10 11 77
>>    0   86  0.50 7577  3.70   3  0 11  8 79
>>    0   85  0.50 7606  3.71   3  0  6  9 83
>>    1   85  0.50 7620  3.72   2  0  9  8 81
>>
>>
>> df -h
>> Filesystem            Size    Used   Avail Capacity  Mounted on
>> /dev/ad4s1a           2.1G    139M    1.8G     7%    /
>> devfs                 1.0K    1.0K      0B   100%    /dev
>> /dev/ad4s1e           2.1G    1.8M    2.0G     0%    /tmp
>> /dev/ad4s1f            32G    3.6G     26G    12%    /usr
>> /dev/ad4s1d           2.1G    212M    1.7G    11%    /var
>> /dev/ad4s2             21G    1.7G     18G     8%    /data
>> /dev/ad4s3             82G     29G     47G    38%    /storage
>> /dev/ufs/hdd1                677G    498G    124G    80%    /hdd1
>> /dev/ufs/hdd2            902G    445G    385G    54%    /hdd2
>>
>> ========dmesg=========
>> CPU: Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz (2208.29-MHz
>> 686-class CPU)
>> ...
>> real memory  = 2146959360 (2047 MB)
>> ...
>> atapci0: <Intel AHCI controller> port
>> 0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb41f mem
>> 0xfe8fe800-0xfe8fefff irq 22 at device 31.2 on pci0
>> atapci0: [ITHREAD]
>> atapci0: AHCI Version 01.20 controller with 6 ports detected
>> ata2: <ATA channel 0> on atapci0
>> ata2: [ITHREAD]
>> ata3: <ATA channel 1> on atapci0
>> ata3: [ITHREAD]
>> ata4: <ATA channel 2> on atapci0
>> ata4: [ITHREAD]
>> ata5: <ATA channel 3> on atapci0
>> ata5: [ITHREAD]
>> ata6: <ATA channel 4> on atapci0
>> ata6: [ITHREAD]
>> ata7: <ATA channel 5> on atapci0
>> ata7: executing CLO failed
>> ata7: [ITHREAD]
>> ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
>> ata0: [ITHREAD]
>> ata1 at port 0x170-0x177,0x376 irq 15 on isa0
>> ata1: [ITHREAD]
>> ad4: 152626MB <Seagate ST3160815AS 4.AAB> at ata2-master SATA150
>> ad6: 715404MB <SAMSUNG HD753LJ 1AA01113> at ata3-master SATA300
>> ad12: 953869MB <SAMSUNG HD103UJ 1AA01113> at ata6-master SATA300
>>
>>
>> =========pciconf===========
>> atapci0 at pci0:0:31:2:    class=0x010601 card=0x82771043 chip=0x29228086
>> rev=0x02 hdr=0x00
>> vendor     = 'Intel Corporation'
>> device     = '82801IB/IR/IH (ICH9 Family) 6 port SATA AHCI Controller'
>> class      = mass storage
>> cap 05[80] = MSI supports 16 messages
>> cap 01[70] = powerspec 3  supports D0 D3  current D0
>> cap 12[a8] = unknown
>> cap 09[b0] = vendor (length 6) Intel cap 2 version 0
>>
>>
>> ============atacontrol=============
>> atacontrol cap ad4
>>
>> Protocol              Serial ATA v1.0
>> device model          ST3160815AS
>> serial number         5RA737SD
>> firmware revision     4.AAB
>> cylinders             16383
>> heads                 16
>> sectors/track         63
>> lba supported         268435455 sectors
>> lba48 supported       312579695 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
>>
>> atacontrol cap ad6
>>
>> Protocol              Serial ATA II
>> device model          SAMSUNG HD753LJ
>> serial number         S13UJ1BQ802853
>> firmware revision     1AA01113
>> cylinders             16383
>> heads                 16
>> sectors/track         63
>> lba supported         268435455 sectors
>> lba48 supported       1465149168 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      yes      no      0/0x00
>> automatic acoustic management  yes      yes     254/0xFE        254/0xFE
>>
>> atacontrol cap ad12
>>
>> Protocol              Serial ATA II
>> device model          SAMSUNG HD103UJ
>> serial number         S13PJ1NQA01054
>> firmware revision     1AA01113
>> cylinders             16383
>> heads                 16
>> sectors/track         63
>> lba supported         268435455 sectors
>> lba48 supported       1953525168 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      yes      no      0/0x00
>> automatic acoustic management  yes      yes     254/0xFE        254/0xFE
>>
>> 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:  ad4 <ST3160815AS/4.AAB> Serial ATA v1.0
>>     Slave:       no device present
>> ATA channel 3:
>>     Master:  ad6 <SAMSUNG HD753LJ/1AA01113> Serial ATA II
>>     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
>> ATA channel 6:
>>     Master: ad12 <SAMSUNG HD103UJ/1AA01113> Serial ATA II
>>     Slave:       no device present
>> ATA channel 7:
>>     Master: acd0 <Optiarc DVD RW AD-7191S/1.01> Serial ATA v1.0
>>     Slave:       no device present
>>
>> Thank you.
>>
>>
>>
>


More information about the freebsd-fs mailing list