![目前 Linux 發行版中 PERC H700/710 的 IO 效能緩慢](https://rvso.com/image/658712/%E7%9B%AE%E5%89%8D%20Linux%20%E7%99%BC%E8%A1%8C%E7%89%88%E4%B8%AD%20PERC%20H700%2F710%20%E7%9A%84%20IO%20%E6%95%88%E8%83%BD%E7%B7%A9%E6%85%A2.png)
我們注意到,在配備 Perc 710 的全新 Dell R720 上,寫入效能非常糟糕。有趣的是,這種糟糕的效能只發生在較新的 Linux 發行版上,例如 ubuntu 14.04。或最新的centos。在 Ubuntu 10.04 或 2012 年左右的其他發行版上執行相同的操作,
效能還可以。我擔心它與核心中的某些內容有關,例如新的 megaraid_sas 驅動程式?
下面您可以看到我正在使用/正在執行的一些配置和測試。
Setup:
Dell R720
RAID: PERC 710 Mini Rev: 21.3.011 -00009
HDD: 2x600GB 15K SAS SEAGATE ST3450857SS
Raid 1
Write Policy: Write Back
Read Policy: Read Ahead
Disc Cache: Enabled
Filesystem: tested with xfs and ext4
lspci: 03:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 05)
結果 Ubuntu 14.04:
dd if=/dev/zero of=/root/testfile bs=512 count=10000 oflag=dsync
10000+0 records in
10000+0 records out
5120000 bytes (5.1 MB) copied, 1.33572 s, 3.8 MB/s
結果 Ubuntu 10.04:
dd if=/dev/zero of=/root/testfile bs=512 count=10000 oflag=dsync
10000+0 records in
10000+0 records out
5120000 bytes (5.1 MB) copied, 0.702619 s, 7.3 MB/s
我在配備 PERC H700 的 Dell R710 上得到了相同的結果。
我想知道是否有人對此有解決方案或推薦 RAID 控制器卡,它可以更好地與 mega_raid_sas 驅動程式配合使用或使用其他驅動程式?
順便一提:我根據 Dell 進行了 IOMeter 測試,在最新的 Linux 發行版(例如 Redhat)上結果也很差。在 Windows 上它工作正常,所以看起來確實像是驅動程式/核心問題。