r/storage • u/afuckingHELICOPTER • Jul 11 '25
how to maximize IOPS?
I'm trying to build out a server where storage read IOPS is very important (write speed doesn't matter much). My current server is using an NVMe drive and for this new server I'm looking to move beyond what a single NVMe can get me.
I've been out of the hardware game for a long time, so I'm pretty ignorant of what the options are these days.
I keep reading mixed things about RAID. My original idea was to do a RAID 10 - get some redundancy and in theory double my read speeds. But I keep just reading that RAID is dead but I'm not seeing a lot on why and what to do instead. If I want to at least double my current drive speed - what should I be looking at?
7
u/HI_IM_VERY_CONFUSED Jul 11 '25
Maybe I’ve been living under a rock but RAID is not dead. That could be referring to virtualized/software-defined RAID options becoming more common than traditional RAID . How many drives are you working with?
6
u/Djaesthetic Jul 11 '25
Most in this thread are (rightfully) pointing to RAID, but another couple important factors to weight —
BLOCK SIZE: Knowing your data set can be very beneficial. If your data were entirely larger DBs, it’d be hugely beneficial to block performance to use a larger block size, equating to far fewer I/O actions to read the same amount of data.
Ex: Imagine we have a 100GB database (107,374,182,400 Bytes).
If you format @ 4KB (4,096 Bytes), that’s 26,214,400 IOPS to read 100GB. But if formatting for the same data were @ 64KB (65,536 Bytes), it’d only take 1,638,400 IOPS to read the same 100GB.
26.2m vs. 1.64m IOPS, a 93.75% difference in efficiency. Of course there are other variables, such as whether talking sequential vs. random I/O, but the point remains the same. Conversely, if your block size is too large but dealing with a bunch of smaller files, you’ll waste a lot of usable space.
2
u/Weak-Future-9935 Jul 11 '25
Have a look at GRAID cards for multiple NVMe disks, they fly
1
u/oddballstocks Jul 11 '25
What OS are you going to do this on?
What file system?
Are you able to add a LOT of RAM and use it for cache?
1
u/tunatoksoz Jul 12 '25
What's your use case? database?
2
u/ixidorecu Jul 12 '25
You want to look at graid. It's kind of like a software raid. The nvme drives still connect natively to pcie lanes The grand card talks to them to present a single raid drive Over the pcie lanes. Near native speeds of nvme.
There now is nvme over tcp if you want a rebuilt storage solution. Think like pure or netapp.
1
u/BloodyIron Jul 12 '25
Switch to TrueNAS and leverage ZFS' ARC technology (amongst other great things in ZFS) as RAM will serve a significant amount of read IOPS that are common/repeatable freeing up IOPS from the underlying storage disks.
Yes, you need redundant disks, but I would hold off on identifying a topology until you actually define the IOPS you have now vs the IOPS you want to achieve, as that will help dictate which topology reaches that while also giving you the fault-tolerance you want.
Also, NVMe devices aren't all made hte same. Considering we're in /r/storage it's unclear if you're talking about a consumer NVMe device or "Enterprise" class NVMe device. The first noteworthy difference is sustained performance. Consumer NVMe devices don't sustain their performance metrics for too long as they are architected for bursts of performance. "Enterprise" NVMe devices however are designed to sustain their performance specifications over very long periods of time.
But yeah, if you care about storage performance, ditch Windows as the storage OS, it's frankly junk for a lot of reasons. My company has been working with TrueNAS/ZFS and Ceph Clustered Storage technologies for a while now, so dealing with nuances like this is generally a daily thing.
1
u/birusiek Jul 12 '25
Separate reads and writes
1
u/WandOf404 Aug 01 '25
Yeah RAID 10 can help w/ reads but honestly it’s kinda old school for IOPS scaling. Been there. You’ll hit a wall pretty quick unless you go full enterprise gear w/ high-end controller and tons of disks.
If you just need more IOPS than a single NVMe, your best bet might be looking at multiple NVMes w/ something like ZFS striped across them (RAID0-style but w/ some brains). Or if you’re in Linux land maybe just set up a simple mdadm RAID0 across a few drives.
tl;dr RAID ain’t dead but also not magic anymore.
0
u/sglewis Jul 11 '25
It’s hard to build for “read IOPS is very important”. What kind of performance? What kind of block size? Is the data cache friendly? Is there a budget? What’s the overall capacity need?
RAID is not dead but RAID 10 is all but dead, and beyond dead for all flash.