My current setup is this:
- Megaraid 9361-16i
- 12 x 12 TB SATA disks WD DC HC520
- Connected to the controller via 3 of the 4 SAS ports
- Configured either Raid-10 or Raid-6 without spares. Raid-6 in write-back mode
- Formatted with ext4
- Ubuntu 22.04
My benchmarking application uses sequential direct IO to a single file. I tested it with up to 8 concurrent writes of 4-6 MiB each until the file size reaches multiple GiB. On an SSD it can easily reach 2 GiB/s or more.
The measured throughput is only around 150 MiB/s for the Raid-10 and 320 MiB/s for the Raid-6. From their data sheet these disks should have a sustained sequential throughput of 243 MiB/s. So shouldn't I get closer to 2.3 GiB/s for the Raid-6?
So right now I'm wondering what I'm doing wrong or where the bottleneck is and how I upgrade the server to solve it. The easiest upgrade path would be to replace the SATA disks with equivalent SAS disks. Would this solve my issue?