sloth let the hardware do the work
play

Sloth : Let the Hardware Do the Work! Wanja Hofer , Daniel Lohmann, - PowerPoint PPT Presentation

Sloth : Let the Hardware Do the Work! Wanja Hofer , Daniel Lohmann, Fabian Scheler, Wolfgang Schr oder-Preikschat SOSP 2009, WiP Session Confessions of a Slothful Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 2 How It


  1. Sloth : Let the Hardware Do the Work! Wanja Hofer , Daniel Lohmann, Fabian Scheler, Wolfgang Schr¨ oder-Preikschat SOSP 2009, WiP Session

  2. Confessions of a Slothful Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 2

  3. How It All Began... Building embedded OSes as used in automotive industry Prevalent OS standard: OSEK OS Event-triggered, priority-driven real-time system Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 3

  4. Let the Hardware Do the Work! Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 4

  5. Sloth : Threads as Interrupts Idea: Let interrupt subsystem do the scheduling and dispatching work New: All threads are interrupt handlers and have interrupt priorities New: setReady(thread) is implemented as an IRQ Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 5

  6. Sloth : Design and Example prio=1 IRQ Source request Thread A CPU IRQ curprio=X prio=2 IRQ Source Arbi- request Thread B tration Unit prio=3 IRQ Source IRQ Vector request Thread C Table threadA() threadB() threadC() Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 6

  7. Sloth : Design and Example prio=1 IRQ Source request Thread A CPU IRQ curprio=1 prio=2 IRQ Source Arbi- request Thread B tration Unit prio=3 IRQ Source IRQ Vector request Thread C Table threadA() threadB() threadC() Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 6

  8. Sloth : Design and Example prio=1 IRQ Source request Thread A CPU IRQ curprio=1 prio=2 IRQ Source Arbi- request Thread B tration Unit prio=3 IRQ Source IRQ Vector request Thread C Table threadA() threadB() threadC() Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 6

  9. Sloth : Design and Example prio=1 IRQ Source request Thread A CPU IRQ curprio=3 prio=2 IRQ Source Arbi- request Thread B tration Unit prio=3 IRQ Source IRQ Vector request Thread C Table threadA() threadB() threadC() Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 6

  10. Sloth : Design and Example prio=1 IRQ Source request Thread A CPU IRQ curprio=3 prio=2 IRQ Source Arbi- request Thread B tration Unit prio=3 IRQ Source IRQ Vector request Thread C Table threadA() threadB() threadC() Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 6

  11. Sloth : Design and Example prio=1 IRQ Source request Thread A CPU IRQ curprio=3 prio=2 IRQ Source Arbi- request Thread B tration Unit prio=3 IRQ Source IRQ Vector request Thread C Table threadA() threadB() threadC() Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 6

  12. Sloth : Design and Example prio=1 IRQ Source request Thread A CPU IRQ curprio=2 prio=2 IRQ Source Arbi- request Thread B tration Unit prio=3 IRQ Source IRQ Vector request Thread C Table threadA() threadB() threadC() Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 6

  13. Sloth : Design and Example prio=1 IRQ Source request Thread A CPU IRQ curprio=1 prio=2 IRQ Source Arbi- request Thread B tration Unit prio=3 IRQ Source IRQ Vector request Thread C Table threadA() threadB() threadC() Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 6

  14. Sloth : Advantages Simple Small Fast (2–20x) Cool Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 7

  15. Sloth : One of the Seven Deadly Sins David Fincher, Se7en (1995) Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 8

  16. Sloth : One of the Seven Deadly Sins David Fincher, Se7en (1995) Nicolas le Rouge, Le Grant Kalendrier Des Bergiers (1496) Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 8

  17. More About Being a Sloth 1. Talk to me! 2. http://www4.cs.fau.de/Research/Sloth/ Wanja Hofer Sloth : Let the Hardware Do the Work! (SOSP-WiP 2009) 9

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