clflushopt · shipping · also Cache Line Flush Optimized, optimized cache-line flush

CLFLUSHOPT

CLFLUSHOPT is an x86 instruction that invalidates a CPU cache line across its coherence domain and writes back any modified contents.

Support is advertised by CPUID leaf 7, subleaf 0, EBX bit 23. Speculative refills can occur around invalidation, so a later cache miss is not guaranteed. [1]

Multiple flushes can overlap. A following SFENCE supplies the ordering needed before relying on their completion in the persistent-memory protocol. This is a CPU-cache operation, not a storage-device cache-flush command. [2]

Use the persistence function for the actual mapping. Persisting a range neither combines it into a transaction nor prevents some stores from becoming durable earlier. [3]

Relations

related
CLWB, Persistence domain, Asynchronous DRAM Refresh, Extended Asynchronous DRAM Refresh, Storage cache flush, SFENCE

Citations

  1. Intel SDM 093, Vol. 2A: CLFLUSHOPT (3-146) and CLWB (3-154). (accessed 2026-11-28)
  2. PMem project glossary: CLWB, CLFLUSHOPT, ADR, eADR and fences. (accessed 2026-11-28)
  3. PMDK 1.13.1: pmem2_get_persist_fn, flush/drain and non-transactional semantics. (accessed 2026-11-28)

Further reading

  1. Hesela: Persistent memory: DAX is not a durable commit. (accessed 2026-11-28)
Sources & caveats
  • Instruction semantics follow Intel SDM revision 093. PMDK API behavior is pinned to version 1.13.1, not asserted to be the latest release.
  • Source synthesis only; no persistent-memory device, power-cut experiment or latency measurement.

JSON: /data/terms/clflushopt.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. CLFLUSHOPT. Hesela. 2026-11-28. https://hesela.dev/terms/clflushopt/