1 / 30

Always race to sleep?

Always race to sleep?. i.e. how we managed to confuse ourselves by talking about two kinds of race to sleep. Always race to sleep?. i.e. how we managed to confuse ourselves by talking about two kinds of race to sleep.

jeneil
Download Presentation

Always race to sleep?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Always race to sleep? i.e. how we managed to confuse ourselves by talking about two kinds of race to sleep

  2. Always race to sleep? i.e. how we managed to confuse ourselves by talking about two kinds of race to sleep Single node – amortize static power costMany nodes – minimize parallelization overhead

  3. 1. Background: Common system power and work rate behaviors2. Analysis: Required conditions for race to sleep3. Empirical data: When are those conditions met in Hadoop?

  4. Two common behaviors for system power Resource proportional Not resource proportional

  5. Three common behaviors for system work rate Linear speed up Parallelization overhead Bottleneck elsewhere

  6. 1. Background: Common system power and work rate behaviors2. Analysis: Required conditions for race to sleep3. Empirical data: When are those conditions met in Hadoop?

  7. Work rate

  8. Power Work rate

  9. Power efficiency = work rate / power Power Work rate

  10. Power efficiency = work rate / power Power Work rate

  11. Power efficiency = work rate / power Race to sleep? i.e. operate at highest work rate? Power Work rate Yes Time benefit, no energy benefit Yes Increasing efficiency No Decreasing efficiency Somewhat Turning point exists Yes and no Energy benefit , no time benefit Yes and no Energy benefit , no time benefit

  12. Power efficiency = work rate / power Race to sleep? i.e. operate at highest work rate? Power Work rate Yes Time benefit, no energy benefit Yes Increasing efficiency No Decreasing efficiency Somewhat Turning point exists Yes and no Energy benefit , no time benefit Yes and no Energy benefit , no time benefit

  13. Power efficiency = work rate / power Race to sleep? i.e. operate at highest work rate? Power Work rate Go faster if % increase in work rate ≥ % increase in power Go slower otherwise

  14. Power efficiency = work rate / power Race to sleep? i.e. operate at highest work rate? Power Work rate Required condition for race to sleep Go faster if % increase in work rate ≥ % increase in power Go slower otherwise

  15. Power efficiency = work rate / power Race to sleep? i.e. operate at highest work rate? Power Work rate Required condition for race to sleep Go faster if % increase in work rate ≥ % increase in power Go slower otherwise e.g. Old work rate = A New work rate = 1.1A Old power = B New power = 1.05A Old power efficiency = A / B • New power efficiency • = (1.1 / 1.05) × (A / B) • = (1.1 / 1.05) × old power eff.

  16. 1. Background: Common system power and work rate behaviors2. Analysis: Required conditions for race to sleep3. Empirical data: When are those conditions met in Hadoop?

  17. Hadoop sort 10GB terasort format HDFS read 10GB HDFS write 10GB Hadoop shuffle 10GB

  18. Work rate Hadoop sort 10GB terasort format HDFS read 10GB HDFS write 10GB Hadoop shuffle 10GB

  19. Power efficiency Work rate Hadoop sort 10GB terasort format HDFS read 10GB HDFS write 10GB Hadoop shuffle 10GB

  20. Race to sleep Power efficiency Work rate Hadoop sort 10GB terasort format No Yes HDFS read 10GB No HDFS write 10GB Hadoop shuffle 10GB Yes

  21. That was multi-node power efficiency Single-node power efficiency is a different picture

  22. Always race to sleep?

  23. Always race to sleep? Maybe the question should beAlways use as much resources as possible?

  24. Always race to sleep? Maybe the question should beAlways use as much resources as possible?Take away: Single node – amortize static power cost (awake nodes should race to sleep) Many nodes – minimize parallelization overhead (as few nodes awake as possible) Increase resource if resulting % work rate increase ≥ % power increase

  25. Power efficiency = work rate / power Race to sleep? i.e. operate at highest work rate? Power Work rate Yes Time benefit, no energy benefit Yes Increasing efficiency No Decreasing efficiency Somewhat Turning point exists Yes and no Energy benefit , no time benefit Yes and no Energy benefit , no time benefit

  26. Other junk …

  27. Power efficiency = energy efficiency

  28. Power efficiency = energy efficiency =

  29. Power efficiency = energy efficiency

  30. Power efficiency = energy efficiency

More Related