Speculative partial write
A parity-logging write that journals a new data value without first reading the old one and fetches the original only when the journal lacks a baseline.
A partial write must keep parity consistent with the updated data; this does not require every parity value to change. For XOR parity, equal deltas on two changed symbols cancel. This algebraic fact is not evidence that data stayed unchanged. Classic parity logging still prereads the old user data so that the parity update image can be journalled. The classic uncached single-block RAID5 read-modify-write path costs four disk accesses, against two on mirrored disks. [3]
PARIX logs replacement data and requests a missing original. The read saving applies while each parity server retains the needed baseline; replay proceeds independently across servers, not in one synchronized global epoch. [1]
One research prototype measured write-after-read latency of about 8.3 ms on 7,200 RPM disks. Its evaluation used 64 MB chunks, 16 KB stripes and 4 KB random writes, and its IOPS comparison omits background log flushing. The retained baseline applies within one journal epoch, and the technique is not a Linux MD mode. [1]
A full write installs newly computed parity and appends an invalidation marker for earlier records of that erasure-coded group. Replay must discard those earlier records instead of applying their deltas to the replacement parity. [1]
The prototype also uses a lease allowing one active client per virtual disk and chunk-level versions. The paper omits versioning-protocol details; the replay equation does not specify retries, concurrent writers or crash recovery. [1]
PBS indexes original/latest log positions in RAM. For m data stripes, section 4 bounds journal data read to replay one parity chunk by 2m times that chunk's size. This is a read-volume bound, not a bound on all journal bytes retained. [1]
Relations
Advantages
- Repeated overwrites within an epoch can avoid old-data reads [1]
- Normal reads still find data in place because only parity work moves to the journal. [3]
Limitations
- Replay resets the baseline [1]
- The first write can require an additional exchange and original-value log record [1]
Citations
- Li et al. PARIX: Speculative Partial Writes in Erasure-Coded Systems. USENIX ATC 2017, sections 3-5; section 4 and Figure 3 (p. 584).
- Stodolsky, Gibson and Holland. Parity Logging: Overcoming the Small Write Problem in Redundant Disk Arrays. ISCA 1993
Further reading
Sources & caveats
- parix2017 is the USENIX ATC 2017 paper by Li et al. (NUDT and an industry co-author), reread on the access date in sections 2, 3 and 5.
- stodolsky is the ISCA 1993 paper by Stodolsky, Gibson and Holland (Carnegie Mellon University), read in sections 1 and 2.
- Four and two accesses come from stodolsky. 8.3 ms, 7,200 RPM, 64 MB, 16 KB and 4 KB come from parix2017.
- The definition was made generic, and the prototype name remains only as an alias.
- PARIX section 3 (equation 3, Full writes and Replay), printed pp. 583-584, reviewed on 2026-11-01: independent parity-server baselines and invalidation. XOR cancellation is a deterministic Hesela algebra check, not a device result.