Raid

帶有 RAID1+0 的 HP P410 上的磁碟性能非常慢

  • September 30, 2016

我有 HP Microserver N54L,直到最近我使用集成軟體 raid 沒有問題。我的 RAID 陣列有 2x WD Black 和 2x WD Red(非專業)磁碟。我還在主機板上直接安裝了 SSD(沒關係,只是為了弄清楚所有事實)。

我購買了帶有 256MB 記憶體的 HP P410,並帶有一個 Battery Back Write Cache 模組。

我正在使用 esxi 5.1,並且我有一個 Windows 虛擬機。在這台 Windows 機器上,我的讀取速度很差(最高只有 40-60 MB/s),寫入速度還可以(大約 100MB/s),但仍然比我使用集成 raid 時慢。

例如,這是將一個大文件從 raid 複製到 ssd http://img.hihi.si/Upload/vYbD.png :(

這是我的 RAID 控制器和陣列資訊

~ # esxcli   hpssacli cmd -q "ctrl all show config detail"

Smart Array P410 in Slot 1
Bus Interface: PCI
Slot: 1
Serial Number: PACCRCN80ZK1TXH
Cache Serial Number: PACCQID11090TB9
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: C
Firmware Version: 6.60
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Queue Depth: Automatic
Monitor and Performance Delay: 60  min
Elevator Sort: Enabled
Degraded Performance Optimization: Disabled
Inconsistency Repair Policy: Disabled
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: True
Cache Status: OK
Cache Ratio: 50% Read / 50% Write
Drive Write Cache: Enabled
Total Cache Size: 256 MB
Total Cache Memory Available: 144 MB
No-Battery Write Cache: Enabled
Cache Backup Power Source: Batteries
Battery/Capacitor Count: 1
Battery/Capacitor Status: OK
SATA NCQ Supported: True
Number of Ports: 2 Internal only
Encryption Supported: False
Driver Name: HP HPSA
Driver Version: 5.0.0
Driver Supports HP SSD Smart Path: False

Array: A
 Interface Type: SATA
 Unused Space: 0  MB
 Status: OK
 Array Type: Data



 Logical Drive: 1
    Size: 1.8 TB
    Fault Tolerance: 1+0
    Heads: 255
    Sectors Per Track: 32
    Cylinders: 65535
    Strip Size: 256 KB
    Full Stripe Size: 512 KB
    Status: OK
    Caching:  Enabled
    Unique Identifier: 600508B1001CC56A2CBC714D023D29CD
    Logical Drive Label: A002F51APACCRCN80ZK1TXH0967
    Mirror Group 0:
       physicaldrive 2I:0:5 (port 2I:box 0:bay 5, SATA, 1 TB, OK)
       physicaldrive 2I:0:6 (port 2I:box 0:bay 6, SATA, 1 TB, OK)
    Mirror Group 1:
       physicaldrive 2I:0:7 (port 2I:box 0:bay 7, SATA, 1 TB, OK)
       physicaldrive 2I:0:8 (port 2I:box 0:bay 8, SATA, 1 TB, OK)
    Drive Type: Data
    LD Acceleration Method: Controller Cache

 physicaldrive 2I:0:5
    Port: 2I
    Box: 0
    Bay: 5
    Status: OK
    Drive Type: Data Drive
    Interface Type: SATA
    Size: 1 TB
    Native Block Size: 512
    Firmware Revision: 05.01D05
    Serial Number:      WD-WCATR3871895
    Model: ATA     WDC WD1002FAEX-0
    SATA NCQ Capable: True
    SATA NCQ Enabled: True
    Current Temperature (C): 40
    Maximum Temperature (C): 53
    PHY Count: 1
    PHY Transfer Rate: 3.0Gbps

 physicaldrive 2I:0:6
    Port: 2I
    Box: 0
    Bay: 6
    Status: OK
    Drive Type: Data Drive
    Interface Type: SATA
    Size: 1 TB
    Native Block Size: 512
    Firmware Revision: 05.01D05
    Serial Number:      WD-WCATR3904352
    Model: ATA     WDC WD1002FAEX-0
    SATA NCQ Capable: True
    SATA NCQ Enabled: True
    Current Temperature (C): 40
    Maximum Temperature (C): 44
    PHY Count: 1
    PHY Transfer Rate: 3.0Gbps

 physicaldrive 2I:0:7
    Port: 2I
    Box: 0
    Bay: 7
    Status: OK
    Drive Type: Data Drive
    Interface Type: SATA
    Size: 1 TB
    Native Block Size: 4096
    Rotational Speed: 5400
    Firmware Revision: 01.01A01
    Serial Number:      WD-WCC4J4478782
    Model: ATA     WDC WD10EFRX-68P
    SATA NCQ Capable: True
    SATA NCQ Enabled: True
    Current Temperature (C): 32
    Maximum Temperature (C): 34
    PHY Count: 1
    PHY Transfer Rate: 3.0Gbps

 physicaldrive 2I:0:8
    Port: 2I
    Box: 0
    Bay: 8
    Status: OK
    Drive Type: Data Drive
    Interface Type: SATA
    Size: 1 TB
    Native Block Size: 4096
    Firmware Revision: 01.01A01
    Serial Number:      WD-WCC1U5116513
    Model: ATA     WDC WD10EFRX-68J
    SATA NCQ Capable: True
    SATA NCQ Enabled: True
    Current Temperature (C): 30
    Maximum Temperature (C): 36
    PHY Count: 1
    PHY Transfer Rate: 3.0Gbps


SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250
 Device Number: 250
 Firmware Version: RevC
 WWID: 50014380118D3DBF
 Vendor ID: PMCSIERA
 Model:  SRC 8x6G

有什麼想法該怎麼做?我需要提供更多資訊嗎?

  • 您在同一個陣列中混合了 4k 扇區(高級格式)磁碟和 512 字節驅動器。這是一個考慮因素。
  • WD Red 和 Black 磁碟驅動器具有不同的特性
  • 你期待什麼樣的表現?ESXi 與軟體 RAID 不兼容,那麼您是否在比較正確的東西?如果您將另一個作業系統與 ESXi 進行比較,那麼這不是有效的比較。
  • 調整您的 RAID 控制器記憶體比率以偏向寫入,而不是 50:50。
  • MicroServer 是一個慢速系統。

我在HP ML350 G6 p410i raid控制器中遇到一個情況,首先我在Raid 5中建構了一個三盤,速度比SATA III磁碟快,大約600-800M的讀寫速度,這對我來說很神奇,但是當我調整為4磁碟raid 5,它讀取速度更快但寫入變得像一個通常的磁碟很慢,最後我發現問題: 我偶爾點擊讀/寫緩衝區設置,它是100%讀取和0%在寫作中,這就是問題所在,只有 50% 到 50% 或 60% 到 40%,它又快了。配置在 HP Stmart Storage Administrator 中

引用自:https://serverfault.com/questions/641559