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

marek olszew ski saman amarasinghe mit csail commit group
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Marek Olszew ski Saman Amarasinghe MIT CSAIL Commit Group

slide-2
SLIDE 2

2

? ? ? ? ? ? ? ?

Deterministic Multithreading

[ Vasudevan and Edwards]

Always-on Race Detection

[ Hans Boehm]

P L D I ` 9 F I T

slide-3
SLIDE 3

3 Architectures Operating Systems

Tackling these ambitious challenges:

Applications

slide-4
SLIDE 4

4

slide-5
SLIDE 5

5

Where we want to be

slide-6
SLIDE 6

6

Greatest invention since the transistor:

slide-7
SLIDE 7

7

slide-8
SLIDE 8

8

OS-Top Boxes Application-Top Boxes

DynamoRIO Pin Valgrind

slide-9
SLIDE 9

9

Aikido VM

Adds per-thread page protection support to threads running in single address space Duplicates shadow pages: Makes it possible to cheaply detect which data each thread accesses

Page tables:

slide-10
SLIDE 10

10

Aikido VM

  • Good for systems that instrument

accesses to shared data:

  • Race Detectors
  • Deterministic Multithreading
  • STMs, TLS, etc…
  • Currently conservative:
  • Instrument all instructions that

m ight access shared memory

  • Instead:
  • Dynamically detect which

instructions definitely access shared pages, and instrument

  • nly those
slide-11
SLIDE 11

11

Questions?

Aikido VM

http:/ / groups.csail.m it.edu/ com m it/

slide-12
SLIDE 12

12

Backup Slides

slide-13
SLIDE 13

13

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

slide-14
SLIDE 14

14

PetraVM Jinx

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