marek olszew ski saman amarasinghe mit csail commit group
play

Marek Olszew ski Saman Amarasinghe MIT CSAIL Commit Group - PowerPoint PPT Presentation

Marek Olszew ski Saman Amarasinghe MIT CSAIL Commit Group Deterministic Multithreading [ Vasudevan and ? ? ? ? ? Edwards] ? ? ? Always-on Race Detection P L D I ` 0 9 [ Hans Boehm] 2 F I T Tackling these ambitious


  1. Marek Olszew ski Saman Amarasinghe MIT CSAIL Commit Group

  2. Deterministic Multithreading [ Vasudevan and ? ? ? ? ? Edwards] ? ? ? Always-on Race Detection P L D I ` 0 9 [ Hans Boehm] 2 F I T

  3. Tackling these ambitious challenges: Applications Operating Systems Architectures 3

  4. 4

  5. Where we want to be 5

  6. Greatest invention since the transistor: 6

  7. 7

  8. DynamoRIO Pin Application-Top Valgrind Boxes OS-Top Boxes 8

  9. � � Adds per-thread page protection support to threads running in single address space � � Duplicates shadow pages: Aikido VM Page tables: � � Makes it possible to cheaply detect which data each thread accesses 9

  10. � � Good for systems that instrument accesses to shared data: � � Race Detectors � � Deterministic Multithreading � � STMs, TLS, etc… Aikido VM � � Currently conservative: � � Instrument all instructions that m ight access shared memory � � Instead: � � Dynamically detect which instructions definitely access shared pages , and instrument only those 10

  11. Questions? Aikido VM http:/ / groups.csail.m it.edu/ com m it/ 11

  12. Backup Slides 12

  13. Originally inspired by: Overshadow by Chen et al. ASPLOS ’0 8 13

  14. PetraVM Jinx Uses a VM to transparently checkpoint and explore different interleavings of shared memory communication to try to trigger bugs. 14

Recommend


More recommend