SATA speed is half of what it should be

Status
Not open for further replies.

robles

Explorer
Joined
Jul 29, 2014
Messages
89
Hi, I just noticed in dmesg that 2 of my 4 drives are operating at just 3 Gbps.

Code:
ada0: Serial Number WD-WCC4N1UL8F5X
ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada0: quirks=0x1<4K>
ada0: Previously was known as ad4
ada1 at ata2 bus 0 scbus0 target 1 lun 0
ada1: <WDC WD30EZRX-00D8PB0 80.00A80> ATA-9 SATA 3.x device
ada1: Serial Number WD-WMC4N0D5EV23
ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada1: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada1: quirks=0x1<4K>
ada1: Previously was known as ad5
ada2 at ata3 bus 0 scbus1 target 0 lun 0
ada2: <WDC WD30EZRX-00D8PB0 80.00A80> ATA-9 SATA 3.x device
ada2: Serial Number WD-WMC4N0F34FEM
ada2: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
ada2: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada2: quirks=0x1<4K>
ada2: Previously was known as ad6
ada3 at ata3 bus 0 scbus1 target 1 lun 0
ada3: <WDC WD30EZRX-00D8PB0 80.00A80> ATA-9 SATA 3.x device
ada3: Serial Number WD-WMC4N0DCHP1C
ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada3: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada3: quirks=0x1<4K>
ada3: Previously was known as ad7


I confirmed it on smartctl for drives /dev/ada1 and /dev/ada3

Code:
smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p13 amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Green
Device Model:     WDC WD30EZRX-00D8PB0
Serial Number:    WD-WMC4N0D5EV23
LU WWN Device Id: 5 0014ee 6af6e6414
Firmware Version: 80.00A80
User Capacity:    3,000,592,982,016 bytes [3.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue Jul 28 14:34:40 2015 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled


I don't know how to diagnose this. Every drive is identical, same capacity, model and firmware. There's no manual control for speed in the BIOS and I'm at a loss. Does anybody know how can I solve this issue?

Thanks for any help!
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
What controller are the drives plugged in to? For example, many motherboards have 2 x SATA 3 (6Gb/s) ports and 4 x SATA 2 (3Gb/s) ports.
 

sfcredfox

Patron
Joined
Aug 26, 2014
Messages
340
I am wondering what mode the controllers are in also. AHCI or maybe an emulation mode? Some boards do funny things with the port depending on BIOS settings.
 

robles

Explorer
Joined
Jul 29, 2014
Messages
89
pciconf lists two controllers:

Code:
atapci0@pci0:0:31:2:    class=0x01018f card=0x330d103c chip=0x1c008086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family 4 port SATA IDE Controller'
    class      = mass storage
    subclass   = ATA
    bar   [10] = type I/O Port, range 32, base 0x1000, size  8, enabled
    bar   [14] = type I/O Port, range 32, base 0x1008, size  4, enabled
    bar   [18] = type I/O Port, range 32, base 0x1010, size  8, enabled
    bar   [1c] = type I/O Port, range 32, base 0x1018, size  4, enabled
    bar   [20] = type I/O Port, range 32, base 0x1020, size 16, enabled
    bar   [24] = type I/O Port, range 32, base 0x1030, size 16, enabled
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 13[b0] = PCI Advanced Features: FLR TP
atapci1@pci0:0:31:5:    class=0x010185 card=0x330d103c chip=0x1c088086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family 2 port SATA IDE Controller'
    class      = mass storage
    subclass   = ATA
    bar   [10] = type I/O Port, range 32, base 0x1040, size  8, enabled
    bar   [14] = type I/O Port, range 32, base 0x1048, size  4, enabled
    bar   [18] = type I/O Port, range 32, base 0x1050, size  8, enabled
    bar   [1c] = type I/O Port, range 32, base 0x1058, size  4, enabled
    bar   [20] = type I/O Port, range 32, base 0x1060, size 16, enabled
    bar   [24] = type I/O Port, range 32, base 0x1070, size 16, enabled
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 13[b0] = PCI Advanced Features: FLR TP


Is there a way to see where are each drive is connected to?

Also the drives' SATA mode is "SATA legacy mode".

Hardware Specs:
HP Microserver G8 G2020
Build FreeNAS-9.3-STABLE-201506042008
Platform Intel(R) Pentium(R) CPU G2020T @ 2.50GHz
Memory 16323MB
Storage 4xWD30EZRX flashed with WDIDLE
 
Last edited:

robles

Explorer
Joined
Jul 29, 2014
Messages
89
See documentation for B120i storage controller here: http://www8.hp.com/h20195/v2/GetPDF.aspx/c04168333.pdf
  • Up to 6Gb/s SATA drive support (600MB/s bandwidth per physical link)
  • x2 6Gb/s SATA physical links (compatible with 3Gb/s SATA ) NOTE: Two SATA ports will be running at 6Gb/s and reaming ports will be running at 3Gb/s

This is it, unfortunately it seems I won't be able to do anything about it. I have no idea how you found that info so quickly, thanks for the help!
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
danb35 said:
The good news is that it doesn't matter. Spinning rust can barely saturate 1.5 Gb/s on a good day, much less 3 Gb/s or 6 Gb/s.
Heh heh... @danb35 is right. My 'test' FreeNAS system's pool is a hodge-podge of disks running at 3 Gb/s and it's just as fast as my zippy SATA 3 system.
 
Status
Not open for further replies.
Top