wise-ordering-for-writes · research · also WOW

Wise Ordering for Writes

Wise Ordering for Writes is a write-cache destaging policy that combines logical-address ordering with a reference bit to retain recently hit write groups.

Related Observatory article: Wise Ordering for Writes on hesela.com

WOW destages dirty groups in circular address order. A new group starts with its recency bit clear; a group-level write hit sets it. The pointer clears and skips set bits. In the paper's CLOCK variant, new groups enter immediately behind the destage pointer; hits set a bit without moving the hit group. WOW inserts by address instead. CLOCK does not maintain LRU's exact recency order. [1] [9]

A write-group hit is not necessarily an overwrite of a cached page. RAID-5 uses stripe groups; RAID-10 uses strip groups. A group hit can be a page miss, so gathering different pages and replacing an earlier page value have different effects. The lookup tests group membership. Groups may be partially populated; a group hit alone does not establish full-stripe coverage. [7] [8]

Section III.F.1 describes suppressing sequential-access bit updates. Figure 4, lines 2-6, retains a separate page-hit assignment outside the sequential test. A sequential group hit with a page miss leaves the bit unchanged, not necessarily clear. This prose/pseudocode discrepancy does not establish the evaluated implementation. [2] [10]

Victim order and drain concurrency are separate decisions. The evaluation varies outstanding destages with cache occupancy, balancing incoming writes against read interference instead of permanently using maximum queue depth. [4]

The experiment called its shared-memory write cache NVS, but used volatile DDR without battery backup. It omitted a separate read cache while still serving hits from the write cache. The SPC-1 Like workload used an earlier prototype implementation. These are performance-method details, not a power-failure test or a certified SPC-1 result. [5] [6]

Relations

related
CLOCK cache replacement, Write-back cache, Write combining, Read-modify-write

Limitations

  • The destage pointer is not a physical disk-head position: concurrent reads, RAID read-modify-write and lower-layer reordering can move the heads independently. [3]
  • The reference bit and address order do not establish durability; the cited cache experiment did not provide battery-backed persistence. [5]

Citations

  1. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Section III.B, algorithm and insertion/reference-bit rules. (accessed 2026-11-01)
  2. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Section III.F.1, sequential-write enhancement. (accessed 2026-11-01)
  3. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Section III.D, limits of the disk-head analogy. (accessed 2026-11-01)
  4. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Section IV.E, occupancy-dependent destage concurrency. (accessed 2026-11-01)
  5. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Section IV.C, volatile experimental NVS and read-cache scope. (accessed 2026-11-01)
  6. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Section V.B, earlier prototype SPC-1 Like workload. (accessed 2026-11-01)
  7. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Section III.A: strip/stripe groups and page-hit versus group-hit scope. (accessed 2026-11-01)
  8. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Section III.F.3: hit lookup tests write-group membership. (accessed 2026-11-01)
  9. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Section III.C, CLOCK comparison and new-group insertion position. (accessed 2026-11-01)
  10. Gill and Modha. WOW: Wise Ordering for Writes. FAST 2005. Figure 4, lines 1-14, printed p.134; compare section III.F.1, p.135. (accessed 2026-11-01)
Sources & caveats
  • Primary-paper source review, not a reimplementation, reproduced benchmark or hardware fault-injection experiment. No numerical speedup is inferred for present-day SSDs or for Hesela's transfer-count model.
  • The paper's NVS name describes the intended controller role; its experimental memory was volatile. The evaluation and sequential-write enhancement are distinguished from the basic victim-selection rule.

JSON: /data/terms/wise-ordering-for-writes.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Wise Ordering for Writes. Hesela. 2026-11-01. https://hesela.dev/terms/wise-ordering-for-writes/