~/talk

How Hard is Weak-Memory Testing?

Talkat POPL 2024 · 2024-01-14..01-20· [concurrency]
links:none on file
links:none on file
links:none on file
slides:none on file

Paper proves that consistency testing for many weak-memory models is NP-complete even with bounded threads, memory locations, and values, ruling out fixed-parameter shortcuts by those parameters. It shows a computational separation: SC, x86-TSO, PSO and Relaxed admit polynomial-time bounded testing, while Release-Acquire variants, several causal models, and POWER are hard. Proof uses intricate reductions, specifically a reduction from Monotone 1-in-3 SAT built with complex gadget constructions.

AI-written summary · about

  1. 0:00Weak memory testing intro
  2. 0:24Motivation for weak memory testing
  3. 1:07Store buffer example
  4. 3:14Memory models and weak consistency
  5. 5:19Execution graphs and axioms
  6. 6:22Testing problem in weak memory
  7. 7:26Litmus tests for validation
  8. 9:53Computational complexity of testing
  9. 11:16Hardness results for testing
  10. 13:00Generalizing hardness across models
  11. 14:06Tractable vs intractable models
  12. 14:27Q&A
  13. 14:48Challenges in NP-hard models
  14. 15:32Litmus test design implications
  15. 16:13Testing with concurrent writes
  16. 16:57Hardness proof gadgets
  17. 17:41Thread and location scales
  18. 18:23Read-from relations and complexity
  19. 19:27Multicopy atomicity and separation
  20. 19:48Bounding memory actions
  21. 20:09Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.