LSI(Avago)の SAS 9300-9iを入手した
ubuntu-16.04マシンに載せて起動したら

root@e:~# lspci -vv
(略
01:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)
        Subsystem: Micro-Star International Co., Ltd. [MSI] SAS3008 PCI-Express Fusion-MPT SAS-3
 :
                LnkCap: Port #0, Speed 8GT/s, Width x8, ASPM not supported, Exit Latency L0s <2us, L1 <4us
 :
                LnkSta: Speed 8GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
 :
        Kernel driver in use: mpt3sas
        Kernel modules: mpt3sas

とデバイス自体はPCIe Gen3(8GT/s)の8 lanesのキャパ(LnkCap)を持ち、実際にもPCIe Gen3(8GT/s)の8 lanesで繋がっている(LnkSta)。
詳しくはここhttp://www.cirrascale.com/blog/index.php/pci-debugging-101/

sas3flashの入手

HBAに搭載されているfirmwareのバージョンを確認するために sas3flash を入手します。
avagoのサポートページhttp://www.avagotech.com/support/download-searchにて、
Product Familyを「12Gb/s SAS Host Bus Adapters」、Productに「SAS 9300-8i Host Bus Adapter」、Asset typeに「Firmware」を選択して「Search」ボタンを押下
2016y08m13d_155014380.png

ヒットした項目からLinux版の最新を選び、それをダウンロードします。
2016y08m13d_155315532.png

ダウンロードしたファイル(Installer_P12_for_Linux.zip)を展開すると、サブフォルダ「sas3flash_linux_x64_rel」にsas3flashコマンドが用意されている。このファイルをマシンへコピーします。staticなプログラムで単に実行権限を付与すれば使えます。
詳細な使い方は同封のpdfを参照

root@e:~# chmod 755 sas3flash
root@e:~# ./sas3flash -list
Avago Technologies SAS3 Flash Utility
Version 13.00.00.00 (2016.03.07)
Copyright 2008-2016 Avago Technologies. All rights reserved.
 
        Adapter Selected is a Avago SAS: SAS3008(C0)
 
        Controller Number              : 0
        Controller                     : SAS3008(C0)
        PCI Address                    : 00:01:00:00
        SAS Address                    : xxxxxxx-x-xxxx-xxxx
        NVDATA Version (Default)       : 0b.02.01.03
        NVDATA Version (Persistent)    : 0b.02.01.03
        Firmware Product ID            : 0x2221 (IT)
        Firmware Version               : 12.00.00.00
        NVDATA Vendor                  : LSI
        NVDATA Product ID              : SAS9300-8i
        BIOS Version                   : 08.29.00.00
        UEFI BSD Version               : N/A
        FCODE Version                  : N/A
        Board Name                     : SAS9300-8i
        Board Assembly                 : xx-xxxxx-xxx
        Board Tracer Number            : xxxxxxxxxx
 
        Finished Processing Commands Successfully.
        Exiting SAS3Flash.
root@e:~#

firmwareのバージョンは「12.00.00.00」そんな古くはないみたい

HDDとの接続確認

sas3flashコマンドで確認できるそうな

root@e:~# ./sas3flash -o -testlsall
Avago Technologies SAS3 Flash Utility
Version 13.00.00.00 (2016.03.07)
Copyright 2008-2016 Avago Technologies. All rights reserved.
 
        Advanced Mode Set
 
        Adapter Selected is a Avago SAS: SAS3008(C0)
 
        Executing Operation: Test Link State ALL
 
        Phy 0: 3.0 Gbps
        Phy 1: 3.0 Gbps
        Phy 2: 3.0 Gbps
        Phy 3: 3.0 Gbps
        Phy 4: 3.0 Gbps
        Phy 5: 3.0 Gbps
        Phy 6: 3.0 Gbps
        Phy 7: 3.0 Gbps
 
        Test Link State All PASSED!
 
        Finished Processing Commands Successfully.
        Exiting SAS3Flash.
root@e:~#

software-raid

hw-RAIDで使ったエンクロージャをHBAに繋げたらsoftware-raidとして認識された模様

root@e:~# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md126 : active raid6 sdh[7] sdc[6] sda[5] sde[4] sdf[3] sdd[2] sdb[1] sdg[0]
      5857345536 blocks super external:/md127/0 level 6, 256k chunk, algorithm 10 [8/8] [UUUUUUUU]
      [==========>..........]  resync = 51.8% (506472340/976224256) finish=88.5min speed=88425K/sec
 
md127 : inactive sdh[7](S) sdc[6](S) sda[5](S) sde[4](S) sdf[3](S) sdd[2](S) sdb[1](S) sdg[0](S)
      4306624 blocks super external:ddf
 
unused devices: <none>
root@e:~#

折角だからrebuild完了後にbonne++1.03eでベンチを取った

Sequential OutputSequential InputRandom SeeksSequential CreateRandom Create
Per CharBlockRewritePer CharBlockCreateReadDeleteCreateReadDelete
155247(100)582999(14)243333(10)159262(93)495989(14)518.9(2)91080(99)510357(99)1692(1)88867(99)405650(99)1444(2)
154876(100)593092(15)232083(9)157886(92)476595(12)439.5(1)90949(99)512250(99)1791(2)1793(2)407973(100)1030(2)
154888(100)606027(15)236983(10)162408(95)520776(14)524.3(2)91232(99)511405(99)3113(3)1442(1)403530(99)1293(2)

dd

root@e:/export# dd if=/dev/zero of=./zero1 bs=1G count=10 conv=fsync
10+0 レコード入力
10+0 レコード出力
10737418240 bytes (11 GB, 10 GiB) copied, 19.2921 s, 557 MB/s
 
root@e:/export# dd if=/dev/zero of=./zero2 bs=1G count=10 conv=fsync
10+0 レコード入力
10+0 レコード出力
10737418240 bytes (11 GB, 10 GiB) copied, 19.4495 s, 552 MB/s
 
root@e:/export# dd if=/dev/zero of=./zero3 bs=4k count=2621440 conv=fsync
2621440+0 レコード入力
2621440+0 レコード出力
10737418240 bytes (11 GB, 10 GiB) copied, 18.3251 s, 586 MB/s
root@e:/export#

fio(fio-cdm)

1st2nd3rd
Read(MB/s)Write(MB/s)Read(MB/s)Write(MB/s)Read(MB/s)Write(MB/s)
Seq116.37758.679116.80234.788117.40424.044
512K39.23837.07838.42035.23038.53131.961
4K40927.00043436.00040102.00043600.00042688.00040645.000
4KQD325.21683921.0005.20178461.0005.21182770.000
最新の60件
2023-09-20 2023-09-19 2023-09-18 2023-09-17 2023-09-16 2023-09-14 2023-09-12 2023-09-11 2023-09-08 2023-09-05 2023-09-02 2023-08-30 2023-08-29 2023-08-28 2023-08-27 2023-08-22 2023-08-20 2023-08-18 2023-08-17 2023-08-14 2023-08-12 2023-08-09 2023-08-07 2023-08-06 2023-08-03 2023-07-31 2023-07-29 2023-07-27 2023-07-25 2023-07-24 2023-07-22 2023-07-17 2023-07-16 2023-07-09 2023-07-08

edit


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-08-14 (日) 12:03:01