‹ ResourcesBrief
How maxRAID Works: The Big Picture
A plain-language tour of maxRAID's host-based flash translation layer.
How maxRAID Optimizes All-Flash Arrays
maxRAID is a host-based Flash Translation Layer (FTL) that optimizes all-flash arrays for performance and reliability. This brief explains how it works.
Write Amplification and Compression
At its core, maxRAID is a block translation layer built to manage garbage collection for random writes, the key to reducing the Write Amplification Factor (WAF). WAF largely decides how long SSDs last, as excessive write amplification can lead to premature wear and failure. As early as 2015, we employed a Monte Carlo simulator to model garbage collection and measure WAF under various conditions. The results of these simulations were validated by real-world maxRAID deployments, demonstrating that maxRAID consistently operates within 0.5% of the theoretical best-case WAF. So SSDs see close to the fewest extra writes possible.
Compression is the second part of the design. By compressing data blocks, maxRAID reduces write sizes, decreasing WAF and enhancing storage efficiency. This often allows WAF to drop below 1:1. Compression not only lessens write workloads but also creates additional free space, further lowering WAF. Smaller writes and more free space mean longer drive life, more speed and lower cost. maxRAID adjusts automatically as compression changes, so it suits changing, unpredictable workloads.
Empty Blocks
maxRAID also handles ‘empty’ blocks. While most SSDs offer basic trim/discard commands, maxRAID enhances this capability by automatically executing trim/discard operations whenever a block is written with all zeroes or ones. As a result, maxRAID works across various environments, including SANs and virtualized infrastructures, without the need for explicit support from clients or hypervisors. So there is nothing to integrate: maxRAID fits existing storage as it is.
The FTL Above RAID
A key design choice in maxRAID is placing the FTL above the RAID layer, rather than within the SSD. When the FTL is placed below RAID, RAID operates as an ‘IO amplifier,’ effectively doubling or tripling the number of writes for RAID-10, RAID-5, or RAID-6 configurations. This also leads to additional reads for each write operation, further compounding the IO amplification issue. By relocating the FTL above the RAID layer, maxRAID gives RAID aligned, linear writes, which cuts IO amplification and raises performance.
Fewer unnecessary writes also mean less wear.
As Table 1 shows, this placement removes the read-modify-write penalty: maxRAID never has to read old data or parity before writing.
Table 1: I/O for each small random write
| RAID level | Reads | Writes |
|---|---|---|
| Traditional RAID-5 | 2 (old data and parity) | 2 (new data and parity) |
| Traditional RAID-6 | 3 | 3 |
| maxRAID-5 | none | 1.15× |
| maxRAID-6 | none | 1.33× |
Traditional figures are the standard read-modify-write cost of a small update. maxRAID figures are write amplification: for every 1 GB written, maxRAID-5 writes 1.15 GB to the SSDs and maxRAID-6 1.33 GB, as full sequential stripes.
The Savings Multiply
These benefits multiply rather than add up. Take data that compresses by 50%, on a fully utilized volume. For every 1 GB the application writes, maxRAID-5 writes about 0.75 GB to flash: 0.5 GB after compression, × 1.3 for garbage collection at 50% free space, × 1.15 for parity. RAID-10 writes 2 GB — every block is mirrored — before the SSDs’ own garbage collection adds more. Traditional RAID-5 also writes every small update twice, data and parity, and must read old data and parity first.
Media lifespan
Because maxRAID writes far less to each drive, SSDs last much longer than on standard RAID-5 — reducing replacement costs and improving the return on your storage investment. maxRAID adapts to different workloads and levels of data compressibility.
More Capacity, Cheaper Media
maxRAID does more than reduce wear. It makes parity RAID practical in place of mirroring, which adds capacity while keeping data protected. Furthermore, its compression capabilities enable organizations to exchange a portion of wear endurance for increased usable space, to suit each application.
This applies to all types of SSD media, including QLC, TLC, MLC, and even SLC. For instance, with far less wear than on RAID-5, QLC media may meet the write requirements of applications that once relied on more expensive TLC. Similarly, TLC can now act as a viable alternative where only SLC was previously considered sufficient, thereby reducing costs and enhancing storage flexibility. These options can lower media costs.
Conclusion
These advantages are most apparent in workloads that are not solely read-heavy (featuring at least 0.3 drive writes per day) or exhibit some level of compressibility, especially in scenarios where writing is involved. For these workloads, maxRAID delivers more performance, capacity and drive life from the same SSDs.
To learn more, read the 200 TB Database Use Case.
EasyCo LLC dba WildFire Storage · 100 N Chester Pike, Glenolden, PA 19036 · +1‑707‑maxRAID · sales@wildfire-storage.com
Read online and download the latest version at wildfire-storage.com/resources/how-maxraid-works/