lira adaptive contention aware thread
play

LIRA: Adaptive Contention-Aware Thread Placement for Parallel - PowerPoint PPT Presentation

LIRA: Adaptive Contention-Aware Thread Placement for Parallel Runtime Systems Alexander Collins*, Tim Harris , Murray Cole*, Christian Fensch * University of Edinburgh Oracle Labs, UK Heriot Watt University 1 The Problem


  1. LIRA: Adaptive Contention-Aware Thread Placement for Parallel Runtime Systems Alexander Collins*, Tim Harris † , Murray Cole*, Christian Fensch ‡ * University of Edinburgh † Oracle Labs, UK ‡ Heriot Watt University 1

  2. The Problem • Multi-socket machines common-place • Run multiple parallel programs • Co-location affects performance • Which programs should we co-locate? 2

  3. 3

  4. The Problem • System workload is constantly changing • Best co-location changes • Need an online adaptive solution 4

  5. Our Insight • Balance load instruction rate across sockets 5

  6. Our Solution • Schedule programs to sockets • Maximise difference in load instruction rate (LIRA heuristic) • Built on top of Callisto [1] • Each program pins one thread to each core • One thread on each core is high priority • High priority thread runs unless it stalls [1] Callisto: Co-scheduling Parallel Runtime Systems, Harris et al. EuroSys ‘14 6

  7. Our Solution 7

  8. Our Solution 8

  9. Our Solution 9

  10. Our Solution 10

  11. Our Solution 11

  12. Our Solution 12

  13. Our Solution 13

  14. Our Solution 14

  15. 15

  16. 16

  17. 17

  18. 18

  19. 19

  20. 20

  21. 21

  22. 22

  23. 23

  24. 24

  25. 25

  26. 26

  27. 27

  28. 28

  29. 29

  30. Evaluation • 11 benchmarks from SPEC OpenMP 2001 • 4 from GreenMarl project • 1 using CDDP (betweeness-centrality) • Dual-socket Xeon E5-2660 • 8 cores each (hyperthreading disabled) 30

  31. Evaluation • Measure 32 combinations of four programs • ANTT and STP system performance metrics • Comparing: • Socket unaware Callisto • LIRA static tuning • LIRA adaptive tuning 31

  32. Evaluation 32

  33. Conclusions • Co-location affects performance • Adaptive online tuning is required • LIRA heuristic improves performance • More details in the paper 33

  34. LIRA: Adaptive Contention-Aware Thread Placement for Parallel Runtime Systems Alexander Collins*, Tim Harris † , Murray Cole*, Christian Fensch ‡ * University of Edinburgh † Oracle Labs, UK ‡ Heriot Watt University 34

  35. 35

  36. 37

  37. 38

  38. 39

  39. 40

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend