Smart Array RAID-10 mit SSD-Laufwerken unterlegen?

2395
ikusimakusi

Ich habe einen ProLiant DL380 Gen9- Server mit einem HP Smart Array P440ar Controller und HP MO0400JEFPA 400 GB SAS SSD-Laufwerken.

Der Server soll eine schreibintensive Datenbank hosten, daher interessiere ich mich besonders für die Schreibgeschwindigkeit.

Wir haben 4 Arrays: 3 RAID-1-Arrays mit jeweils 2 Laufwerken und ein RAID-10-Array mit 16 Laufwerken, die zum Speichern der Daten verwendet werden.

Ich habe die Schreibgeschwindigkeit mit dd gemessen:

time sh -c "dd if=/dev/zero of=test.tmp bs=8k count=200000000 conv=fdatasync" 

Bei RAID-1-Arrays bekomme ich etwa 600 MB / s (nahe der theoretischen 700 MB / s des Laufwerks). Aber auf dem RAID-10-Array bekomme ich nur 1,5 GB / s. Ich verstehe, dass ich mit einem 16-Laufwerk-RAID-10-Array theoretisch eine 8-fache Schreibgeschwindigkeit erhalten sollte. Und ich bekomme nur 3x. Sollte ich mehr davon erwarten? Oder ist echte Leistung so weit von der Theorie entfernt? (Bei Lesegeschwindigkeit bekomme ich auch 3x statt der theoretischen 16x).

Dies ist die Konfiguration des Arrays, das ich von hpssacli bekomme:

 Smart Array P440ar in Slot 0 (Embedded) Bus Interface: PCI Slot: 0 Serial Number: xxxxxxxxxxxx Cache Serial Number: xxxxxxxxxxxx RAID 6 (ADG) Status: Enabled Controller Status: OK Hardware Revision: B Firmware Version: 4.52 Rebuild Priority: High Expand Priority: Medium Surface Scan Delay: 3 secs Surface Scan Mode: Idle Parallel Surface Scan Supported: Yes Current Parallel Surface Scan Count: 1 Max Parallel Surface Scan Count: 16 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: 15 secs Cache Board Present: True Cache Status: OK Cache Ratio: 0% Read / 100% Write Drive Write Cache: Enabled Total Cache Size: 2.0 GB Total Cache Memory Available: 1.8 GB No-Battery Write Cache: Disabled SSD Caching RAID5 WriteBack Enabled: True SSD Caching Version: 2 Cache Backup Power Source: Batteries Battery/Capacitor Count: 1 Battery/Capacitor Status: OK SATA NCQ Supported: True Spare Activation Mode: Activate on physical drive failure (default) Controller Temperature (C): 55 Cache Module Temperature (C): 45 Number of Ports: 2 Internal only Encryption: Disabled Express Local Encryption: False Driver Name: hpsa Driver Version: 3.4.14 Driver Supports HPE SSD Smart Path: True PCI Address (Domain:Bus:Device.Function): 0000:03:00.0 Negotiated PCIe Data Rate: PCIe 3.0 x8 (7880 MB/s) Controller Mode: RAID Controller Mode Reboot: Not Required Latency Scheduler Setting: Disabled Current Power Mode: MaxPerformance Host Serial Number: xxxxxxxxxxx Sanitize Erase Supported: True Primary Boot Volume: None Secondary Boot Volume: None 

Und für das RAID-10-Array bekomme ich:

 Array: D Interface Type: Solid State SAS Unused Space: 0 MB (0.0%) Used Space: 5.8 TB (100.0%) Status: OK MultiDomain Status: OK Array Type: Data Spare Type: dedicated HPE SSD Smart Path: disable  Logical Drive: 4 Size: 2.9 TB Fault Tolerance: 1+0 Heads: 255 Sectors Per Track: 32 Cylinders: 65535 Strip Size: 256 KB Full Stripe Size: 2048 KB Status: OK MultiDomain Status: OK Caching: Disabled Unique Identifier: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx Disk Name: /dev/sdd Mount Points: /data 2.9 TB Partition Number 2 OS Status: LOCKED Logical Drive Label: xxxxxxxxxxxxxxxxxxxxxxxxxxx Mirror Group 1: physicaldrive 1I:1:7 (port 1I:box 1:bay 7, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:8 (port 1I:box 1:bay 8, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:9 (port 1I:box 1:bay 9, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:10 (port 1I:box 1:bay 10, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:11 (port 1I:box 1:bay 11, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:12 (port 1I:box 1:bay 12, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:13 (port 1I:box 1:bay 13, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:14 (port 1I:box 1:bay 14, Solid State SAS, 400 GB, OK) Mirror Group 2: physicaldrive 1I:1:15 (port 1I:box 1:bay 15, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:16 (port 1I:box 1:bay 16, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:17 (port 1I:box 1:bay 17, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:18 (port 1I:box 1:bay 18, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:19 (port 1I:box 1:bay 19, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:20 (port 1I:box 1:bay 20, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:21 (port 1I:box 1:bay 21, Solid State SAS, 400 GB, OK) physicaldrive 1I:1:22 (port 1I:box 1:bay 22, Solid State SAS, 400 GB, OK) Drive Type: Data LD Acceleration Method: All disabled  physicaldrive 1I:1:7 Port: 1I Box: 1 Bay: 7 Status: OK Drive Type: Data Drive Interface Type: Solid State SAS Size: 400 GB Drive exposed to OS: False Native Block Size: 4096 Firmware Revision: HPD2 Serial Number: xxxxxxxxxx Model: HP MO0400JEFPA Current Temperature (C): 26 Maximum Temperature (C): 36 Usage remaining: 99.74% Power On Hours: 6982 Estimated Life Remaining based on workload to date: 111600 days SSD Smart Trip Wearout: False PHY Count: 2 PHY Transfer Rate: 12.0Gbps, Unknown Drive Authentication Status: OK Carrier Application Version: 11 Carrier Bootloader Version: 6 Sanitize Erase Supported: False 

(Alle Laufwerke sind auf dieselbe Weise konfiguriert).

Gibt es ein Problem mit dem RAID-Controller? Irgendetwas nicht konfiguriert? Sollte ich mit einer 3-fachen Schreibgeschwindigkeit zufrieden sein? Oder soll ich den Engpass woanders suchen?

1

2 Antworten auf die Frage

1
RamonRobben

Für die SSD-Raid-Performance "Linus Tech Tips" hat ein Kanal auf youtube ein Video gemacht, das die Leistung von ssds in raid-0 zeigt. Nicht sicher, ob es auch für Sie gehen würde, aber es lohnt sich auf jeden Fall.

Die Schlussfolgerung des Videos zeigte, dass die Leistung mit jeder hinzugefügten SSD um 50% stieg. Ex

  • 1 SSD hatte Standardgeschwindigkeit.
  • 2 SSD erhöhte diese Geschwindigkeit um insgesamt 50%.
  • 3 SSD erhöhte die Geschwindigkeit um insgesamt 25%.
  • 4 SSD erhöhte die Geschwindigkeit um insgesamt 12,5%.

Wenn Sie wirklich hohe Leistung wünschen, sollten Sie lieber eine PCIe-SSD oder eine M.2-SSD verwenden.

M.2 SSD starten bei 3200 MB / s Lesen und 1500 MB / s Schreiben (Samsung 960 EVO 250 GB). Aber ich meine, wirklich gute Leistung kostet viel.

M.2 SSD-Geschwindigkeiten sind nur theoretisch. Ich habe 2 davon und sie werden von einem alten OCZ 60GB übertroffen. Overmind vor 7 Jahren 0
Zwei Anmerkungen: 1: Seien Sie vorsichtig, welche M.2 (NVME) SSDs verwendet werden. Die von Ihnen erwähnten Samsungs sind ziemlich schnell, aber es gibt auch NVME-SSds, die kaum schneller sind als eine SATA-basierte SSD. 2: Einiges an thermischer Drosselung für einige M.2-SSDs Hennes vor 7 Jahren 0
0
Ruud H.G. van Tol

Ich würde versuchen und diese ändern:

Cache Ratio: 0% Read / 100% Write SSD Caching RAID5 WriteBack Enabled: True 
Dies ist mehr ein Kommentar als eine vollständige Antwort ... Hennes vor 6 Jahren 3