{
  "slug": "pcm-write-cancellation",
  "term": "PCM write cancellation",
  "aliases": [
    "Write cancellation (PCM)"
  ],
  "definition": "PCM write cancellation interrupts an in-progress phase-change-memory write to serve a read, then retries the write.",
  "note": "The pending value must remain buffered; a matching read is forwarded from the write queue. Cancellation is not transaction rollback or proof of persistence. Thresholds can limit wasted work, and queue pressure can override read priority. [hpca]\n\nIn Hesela's constructed example, a write needs 12 time units and a two-unit read arrives at time 5. Whole-write cancellation reduces read latency from 9 to 2 units, but increases write busy time from 12 to 17 and final completion from 14 to 19. Those extra five units are discarded progress, not useful new payload. [example]\n\nCancellation within one iteration preserves completed iterations. [hpca] With four-unit iterations in the example, only one unit is repeated; read latency remains 2 and final completion becomes 15. No energy or endurance estimate follows from that count. [example]",
  "related": [
    "phase-change-memory",
    "pcm-write-pausing",
    "non-preemptive-priority"
  ],
  "status": "research",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-29",
  "citations": [
    {
      "id": "hpca",
      "title": "Qureshi et al. Improving Read Performance of Phase Change Memories via Write Cancellation and Write Pausing. HPCA 2010, sections 3-6.",
      "url": "https://citeseerx.ist.psu.edu/document?doi=3bc39817e27284995a16f6c3b7f7733790a3d6b8&repid=rep1&type=pdf",
      "accessed": "2026-11-29"
    },
    {
      "id": "tc",
      "title": "Zhou et al. Throughput Enhancement for Phase Change Memories. IEEE TC 63(8), 2014, sections 1 and 7.4; DOI 10.1109/TC.2013.76.",
      "url": "https://people.cs.pitt.edu/~zhangyt/research/tc2014.pdf",
      "accessed": "2026-11-29"
    },
    {
      "id": "example",
      "title": "Hesela: exact PCM preemption time accounting with independent tests.",
      "url": "https://hesela.dev/research/pcm-preemption/README.md",
      "accessed": "2026-11-29"
    }
  ],
  "provenance": [
    "Historical architecture research, not a claim of support in current products.",
    "The linked timing example is independently constructed arithmetic, not a hardware measurement or reproduction of paper performance results."
  ]
}
