三星 850 EVO + HP P410 有限 iops?

Leo*_*Leo 5 linux raid performance ssd hp-smart-array

我在 RAID5/10 中遇到了 HP P410 256mb 缓存控制器和 4 倍消费级固态硬盘(三星 EVO 850)的奇怪写入 iops 限制。升级到 HP P410 控制器的最新固件 (6.64) 后,它继续出现问题。

iostat 输出:

Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
sda               0.00     0.00    1.00  158.00    36.00 15631.00   197.07    12.16   75.84    6.00   76.28   6.30 100.10

158 writes/s and 100 % util.
Run Code Online (Sandbox Code Playgroud)

我的 hpacucli 输出:

=> ctrl all show config detail

Smart Array P410 in Slot 2
   Bus Interface: PCI
   Slot: 2
   Serial Number: PACCR9SYLZ34
   Cache Serial Number: PACCQ9SYP5CK
   RAID 6 (ADG) Status: Disabled
   Controller Status: OK
   Hardware Revision: C
   Firmware Version: 6.62
   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: 100% Read / 0% Write
   Drive Write Cache: Disabled
   Total Cache Size: 256 MB
   Total Cache Memory Available: 144 MB
   No-Battery Write Cache: Disabled
   Battery/Capacitor Count: 0
   SATA NCQ Supported: True

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



      Logical Drive: 1
         Size: 698.6 GB
         Fault Tolerance: RAID 5
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 256 KB
         Full Stripe Size: 768 KB
         Status: OK
         Caching:  Enabled
         Parity Initialization Status: Initialization Failed
         Unique Identifier: 600508B1001C8929D0C6820FB103773E
         Disk Name: /dev/sda
         Mount Points: None
         Logical Drive Label: A516FD0DPACCR9SYLZ3435C0
         Drive Type: Data

      physicaldrive 1I:1:1
         Port: 1I
         Box: 1
         Bay: 1
         Status: OK
         Drive Type: Data Drive
         Interface Type: Solid State SATA
         Size: 250 GB
         Firmware Revision: EMT01B6Q
         Serial Number: S21PNSAG270000F     
         Model: ATA     Samsung SSD 850 
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 30
         Maximum Temperature (C): 70
         SSD Smart Trip Wearout: Not Supported
         PHY Count: 1
         PHY Transfer Rate: 3.0Gbps

      physicaldrive 1I:1:2
         Port: 1I
         Box: 1
         Bay: 2
         Status: OK
         Drive Type: Data Drive
         Interface Type: Solid State SATA
         Size: 250 GB
         Firmware Revision: EMT01B6Q
         Serial Number: S21PNSAG269993V     
         Model: ATA     Samsung SSD 850 
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 32
         Maximum Temperature (C): 70
         SSD Smart Trip Wearout: Not Supported
         PHY Count: 1
         PHY Transfer Rate: 3.0Gbps

      physicaldrive 1I:1:3
         Port: 1I
         Box: 1
         Bay: 3
         Status: OK
         Drive Type: Data Drive
         Interface Type: Solid State SATA
         Size: 250 GB
         Firmware Revision: EMT01B6Q
         Serial Number: S21PNSAG269984Z     
         Model: ATA     Samsung SSD 850 
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 31
         Maximum Temperature (C): 70
         SSD Smart Trip Wearout: Not Supported
         PHY Count: 1
         PHY Transfer Rate: 3.0Gbps

      physicaldrive 1I:1:4
         Port: 1I
         Box: 1
         Bay: 4
         Status: OK
         Drive Type: Data Drive
         Interface Type: Solid State SATA
         Size: 250 GB
         Firmware Revision: EMT01B6Q
         Serial Number: S21PNSAG269998N     
         Model: ATA     Samsung SSD 850 
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 31
         Maximum Temperature (C): 70
         SSD Smart Trip Wearout: Not Supported
         PHY Count: 1
         PHY Transfer Rate: 3.0Gbps


   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250
      Device Number: 250
      Firmware Version: RevC
      WWID: 500143800694906F
      Vendor ID: PMCSIERA
      Model:  SRC 8x6G      
Run Code Online (Sandbox Code Playgroud)

有人在使用 HP P410 时遇到过这个问题吗?

eww*_*ite 8

这里有几个问题。

  • 您没有任何控制器写入缓存或电池供电或闪存电容器。
  • HP Smart Array P410 控制器的 IOPS 容量有限。它不适合 SSD。
  • 在 Smart Array P410 上使用 SATA 驱动器会导致接口速度下降到 3.0Gbps 而不是 6.0Gbps。
  • 请尝试使用 RAID 1+0。RAID5不适合这种装备组合。
  • 此外,根据您的输出,您的RAID5 奇偶校验初始化失败hpssacli
     Parity Initialization Status: Initialization Failed
Run Code Online (Sandbox Code Playgroud)

此处列出针对该控制器上SSD 的HP最佳实践

另请参阅:SSD(英特尔 530)读/写速度非常慢,RAID 10HP ACU 显示 Smart Array 控制器上的奇偶校验初始化失败