~/talk

Tools for Memory Model Simulation - Herd7

links:none on file
slides:none on file

DPDK code gets modeled as C11 litmus tests and simulated with herd7 to exhaustively enumerate reorderings; a two-thread message‑passing example has four memory events so there are four events -> 24 sequences, herd7 reports four reachable states and one positive witness showing payload read as 0 despite guard = 1. Applying release/acquire barriers on the writer and reader eliminates that witness; rerunning herd7 yields two valid outcomes and no failing traces.

AI-written summary · about

  1. 0:00Introduction to memory model simulation
  2. 1:52Why we need a memory model tool
  3. 8:19Problem with memory reordering
  4. 13:19Expectations from this session
  5. 15:03Representing algorithms in Herd7
  6. 20:07Running Herd7 on a test case
  7. 22:21Analyzing failing sequences
  8. 30:58Fixing the algorithm with barriers
  9. 34:11Using Herd7 for complex algorithms
  10. 35:15Importance of validation tools
  11. 36:45Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.