raid iops
raid_iopsEstimate RAID array IOPS performance and latency for ZFS and traditional RAID configurations. Calculates maximum read IOPS, write IOPS (accounting for write penalty/amplification per RAID level), blended IOPS for a configurable read/write workload mix, and rough per-disk latency. Supports stripe, mirror, raidz1, raidz2, and raidz3. Use with HDD IOPS (~150), SATA SSD (~50000), or NVMe SSD (~100000) to compare RAID topologies and plan storage performance for databases, VMs, media servers, and general homelab NAS workloads. Chains from zfs_capacity.data_disks for integrated capacity+performance planning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| read_pct | No | Percentage of workload that is reads (0-100). Typical: 70 for mixed, 90 for read-heavy, 30 for write-heavy | |
| disk_iops | No | IOPS per individual disk. Typical values: HDD ~150, SATA SSD ~50000, NVMe SSD ~100000 | |
| raid_type | No | RAID level: stripe (no redundancy, write penalty 1), mirror (write penalty 2), raidz1 (write penalty 2), raidz2 (write penalty 3), raidz3 (write penalty 4) | raidz1 |
| disk_count | Yes | Total number of physical disks in the array |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| read_iops | Yes | Maximum read IOPS: disk_count * disk_iops | |
| write_iops | Yes | Maximum write IOPS: disk_count * disk_iops / write_penalty | |
| blended_iops | Yes | Effective IOPS for the given read/write mix: (read_pct * read_iops + write_pct * write_iops) / 100 | |
| write_penalty | Yes | Write amplification factor for the chosen RAID level | |
| estimated_latency_ms | Yes | Rough per-disk latency estimate in milliseconds: 1000 / (blended_iops / disk_count) |