homelab

Calculate recommended RAM and ARC sizing for a ZFS storage pool based on workload type, pool size, deduplication status, and L2ARC cache size. Computes minimum and recommended RAM in gigabytes, ARC target size, and dedup table overhead. Accounts for workload-specific IO patterns: NAS (sequential, 1GB/TB), database (random, 2GB/TB), virtualization (mixed, 1.5GB/TB). Deduplication adds approximately 5GB per TB for the DDT. L2ARC index requires 1GB RAM per 10GB of L2ARC. Essential for TrueNAS, FreeNAS, and custom ZFS server builds.

post/api/zfs_ram

Request

  • Base URL: https://calc.engineer
  • URL: https://calc.engineer/api/zfs_ram
  • Auth: none declared

Request body

pool_size_tbnumber required

Total usable pool size in terabytes

workload'general' | 'nas' | 'database' | 'virtualization'

Primary workload type: general (mixed), nas (sequential reads/writes), database (random IO), virtualization (mixed random)

dedup_enabledboolean

Whether ZFS deduplication is enabled (significantly increases RAM requirements)

l2arc_size_gbnumber

Size of L2ARC (read cache SSD) in gigabytes; requires additional RAM for index

Response

Computed result for zfs_ram

toolstring required
versionstring required
computed_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.