{
  "slug": "parity-declustering",
  "term": "Parity declustering",
  "aliases": [
    "declustered parity"
  ],
  "definition": "Parity declustering places parity groups across a larger device pool to distribute reconstruction work.",
  "note": "Stripe width and placement scope are separate parameters; lower peak survivor load does not by itself establish shorter repair time.\n\nWith C disks and parity stripes of G units, parity takes 1/G of the space and the declustering ratio alpha = (G - 1) / (C - 1) is the fraction of each survivor read to rebuild a failed disk, 1 for RAID 5. Any two failures among the C disks still lose data. The layouts come from balanced block designs. [holland1992]\n\nIn simulations of a 21-disk array under 105 small random accesses per second, half reads and half writes, alpha 0.15 rebuilt a failed disk about twice as fast as RAID 5 with about 33% lower user response time. Reconstruction algorithms that redirected reads to the replacement disk did not consistently help, because the extra random work slowed its rebuild writes. [holland1992] In that array alpha 0.15 means G = 4, so parity takes 25% of the space.\n\nA modern open-source layout spreads groups of D data and P parity devices with distributed spares over all children through permutation maps, so every disk takes part in a resilver, but its fixed stripe width raises the minimum allocation to 32 KiB for D = 8 with 4 KiB sectors. [zfsdoc] [zfsdraid]",
  "related": [
    "raid-5",
    "distributed-spare",
    "repair-read-amplification",
    "raid-rebuild",
    "minimum-storage-regenerating-code",
    "chained-declustering"
  ],
  "citations": [
    {
      "id": "holland1992",
      "title": "Mark Holland and Garth A. Gibson. Parity Declustering for Continuous Operation in Redundant Disk Arrays. ASPLOS 1992, pp. 23-35; sections 2, 4-8.",
      "url": "https://www.cs.cmu.edu/~riedel/ftp/Declustering/ASPLOS.pdf",
      "accessed": "2026-10-13"
    },
    {
      "id": "hesela-declustering",
      "title": "Parity declustering: less load per disk, not fewer reads",
      "url": "https://hesela.com/analyses/parity-declustering-rebuild-load/",
      "accessed": "2026-10-13"
    },
    {
      "id": "zfsdoc",
      "title": "OpenZFS 2.3.0 manual page zpoolconcepts(7), dRAID section.",
      "url": "https://github.com/openzfs/zfs/blob/zfs-2.3.0/man/man7/zpoolconcepts.7",
      "accessed": "2026-10-16"
    },
    {
      "id": "zfsdraid",
      "title": "OpenZFS 2.3.0 module/zfs/vdev_draid.c, group layout and permutation-map comments.",
      "url": "https://github.com/openzfs/zfs/blob/zfs-2.3.0/module/zfs/vdev_draid.c",
      "accessed": "2026-10-16"
    }
  ],
  "status": "shipping",
  "advantages": [
    {
      "text": "Spreading groups over a larger pool at fixed G lowers alpha without increasing total reads, which stay at G - 1 times the failed capacity.",
      "citationIds": [
        "holland1992"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Random IOPS of the open-source layout approximate floor((N - S) / (D + P)) times one drive, and its load balance degrades with child count, to an imbalance ratio of 1.273 at 31 children.",
      "citationIds": [
        "zfsdoc",
        "zfsdraid"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-30",
  "provenance": [
    "The 1992 results come from a simulator of disks of that period, not from measured arrays; the earlier analysis the paper builds on is cited from it, not read.",
    "The open-source documentation and code describe one implementation (OpenZFS dRAID) whose terminology differs; no cited source measures repair time on a modern device pool.",
    "Arithmetic: alpha 0.15, 0.45 and 1.0 in a 21-disk array correspond to G = 4, 10 and 21, with parity at 25%, 10% and about 4.8% of space.",
    "Arithmetic on the open-source example: 14 drives, 2 spares and groups of 9 give LCM(9, 12) = 36 columns, 4 groups over 3 rows, matching its 576 MB slice; N = 20, D = 8, P = 2, S = 2 gives 14.4 disks of capacity."
  ]
}
