lecture 7 duty cycling
play

Lecture 7: Duty cycling MO801/MC972 Energy-Aware Computing Lucas - PowerPoint PPT Presentation

Lecture 7: Duty cycling MO801/MC972 Energy-Aware Computing Lucas Wanner IC/Unicamp lucas@ic.unicamp.br www.lucaswanner.com/eac Agenda Revision: variability and dark silicon Duty cycling Concept and basic formulation


  1. Lecture 7: Duty cycling MO801/MC972 – Energy-Aware Computing Lucas Wanner – IC/Unicamp lucas@ic.unicamp.br www.lucaswanner.com/eac

  2. Agenda • Revision: variability and dark silicon • Duty cycling • Concept and basic formulation • Variable power consumption • Duty cycling OS Lucas Wanner – IC/Unicamp 2 Energy-Aware Computing

  3. Revision: variability • Definition: “systematic and random variations in process, supply voltage and temperature” [Borkar, 2003] • Manufacturing beyond 90nm becomes probabilistic instead of deterministic • Transistors with different channel length and threshold voltage • Expanded definition: Variations between identically specified components due to manufacturing (process, vendors), environment (voltage, temperature), and aging • Effects of variability • Performance characteristics, e.g. clock speed • Reliability, e.g. device lifetime, error characteristics, gradual degradation • Power : Active (switching) and Sleep (leakage) power varies between parts with identical specifications Lucas Wanner – IC/Unicamp 3 Energy-Aware Computing

  4. Revision: variability • To ensure effective use by software, we need accurate characterization (of performance, power). • Variability imposes a limit on how accurate the models can get to • Mean error ~20% + 12% due to variability for 34% overall error in Nehalem 45nm CPUs • 15-20% variation across 22 DIMMs • 20-24% read, 40-67% write variation in Flash • Rooted in inherent non-observability of power states. • New regime of hardware/software operation • Machines built from parts with variations in performance, power and reliability • Machines that incorporate sensing circuits • Machines w/ interfaces to change ongoing computation & structures • New machine models: QOS or Relaxed Reliability parts Source: McCullough, UCSD Adapted from Gupta, Variability Expedition Lucas Wanner – IC/Unicamp 4 Energy-Aware Computing

  5. Revision: Dennard scaling S 3 S = 1.4 S = 1.4x S = 1.4x Lower Capacitance S 3 ≃ 2.8 Faster Transistors S 2 S 2 = 2x Scale Vdd by S=1.4x More Transistors S 2 = 2x S 1 Leakage issues prevent voltage scaling! Adapted from Taylor, UCSD Lucas Wanner – IC/Unicamp 5 Energy-Aware Computing

  6. Revision: post-Dennard scaling Transistor property Dennard Post-Dennard S 2 S 2 D Quantity D Frequency S S D Capacitance 1/ S 1/ S V 2 1 = S 2 1 DD ) D Power ¼ D QFCV 2 S 2 1 1 = S 2 ) D Utilization ¼ 1/Power 1 Lucas Wanner – IC/Unicamp 6 Energy-Aware Computing

  7. Revision: approaches to handling Dark Silicon • Dim silicon • Heavily underclocked parts of the chips • Inherently dark areas, e.g. caches • Turbo-boost: increase clock for short bursts of time • Near-threshold voltage computing (NVT) • Higher susceptibility to PVT, leakage • Temporal dimness: e.g. switching between cores in Big.Little designs • Specialization: Accelerators, specialized cores • Parallel with human brain • Very dark, low duty cycle, low voltage operation Lucas Wanner – IC/Unicamp 7 Energy-Aware Computing

  8. Duty cycling Δ = c/p ↑ Δ ⇒ ↑ Quality ↑ Energy active sleep c ↑ p ↓ c p Lucas Wanner – IC/Unicamp 8 Energy-Aware Computing

  9. Duty cycle rate • How can you determine duty cycle as a function of P A , P S , E, L ? Energy (E) Sleep Power (P S ) Active Power (P A ) Lifetime (L) Lucas Wanner – IC/Unicamp 9 Energy-Aware Computing

  10. Determining the lifetime for a given duty cycle • Average power used by an application • PA: Active Power 𝑄 "#$%"&$ = Δ𝑄 ) + (1 − Δ)𝑄 • PS: Sleep Power / • Δ : Duty Cycle Rate 𝐹 • Energy storage and lifetime 𝑀 = • E: Battery capacity in Watt-Hours 𝑄 "#$%"&$ • L: Lifetime in hours Lucas Wanner – IC/Unicamp 10 Energy-Aware Computing

  11. Determining the duty cycle rate for a target lifetime • Average power used by an application • PA: Active Power 𝑄 "#$%"&$ = Δ𝑄 ) + (1 − Δ)𝑄 • PS: Sleep Power / • Δ : Duty Cycle Rate • Maximum average power available for an application 3"4 = 𝐹 𝑄 • E: Battery capacity in Watt-Hours 𝑀 • L: Lifetime in hours • How to find the allowable duty cycle rate? Lucas Wanner – IC/Unicamp 11 Energy-Aware Computing

  12. Determining the duty cycle rate for a target lifetime • Duty cycle the device at the maximum allowable power consumption / = 𝑄 Δ𝑄 ) + (1 − Δ)𝑄 𝑄 "#$%"&$ = 𝑄 3"4 3"4 Δ = 𝑄 3"4 −𝑄 / Δ(𝑄 ) −𝑄 / ) + 𝑄 / = 𝑄 3"4 𝑄 ) − 𝑄 / 𝐹 𝑀 −𝑄 / Δ = 𝑄 ) − 𝑄 / Lucas Wanner – IC/Unicamp 12 Energy-Aware Computing

  13. Feasible Duty Cycle <c,p> = f (P A , P S , E, L) Variability Datasheet: Active Power Sleep Power How to determine duty cycle when P A , P S vary with instance and temperature? Lucas Wanner – IC/Unicamp 13 Energy-Aware Computing

  14. Implications of Variation for Duty Cycling • Scenario: deploy a network of sensors. All nodes have identical batteries, and should have identical lifetimes • If active and sleep power are constant for all instances, duty cycle can be obtained trivially from 𝐹 𝑀 −𝑄 / Δ = 𝑄 ) − 𝑄 / • Recall power variation in ARM Cortex M3 • More than 8x in Sleep mode at room temperature • Around 10% in Active mode • Uniform duty cycle across the network will be suboptimal Lucas Wanner – IC/Unicamp 14 Energy-Aware Computing

  15. Duty cycle based on datasheet spec • Use P A , P S from datasheet Measured Datasheet Sleep Power ( μ W) 150 125 100 will not meet lifetime 75 50 25 will leave energy untapped 0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 Processor Instance Lucas Wanner – IC/Unicamp 15 Energy-Aware Computing

  16. Duty Cycle based on Worst-Case Power • Use worst case P A , P S across all instances and target temperature 180 146 P S Power ( μ W) 112 all the nodes will leave 78 energy untapped 44 10 0 10 20 30 40 50 60 Temperature (°C) Lucas Wanner – IC/Unicamp 16 Energy-Aware Computing

  17. Implications of Variation for Duty Cycling Active Mode: 48 MHz Sampling Task: 10 s Battery: 2xAA (5.4 A-h) Room Temperature Lucas Wanner – IC/Unicamp 17 Energy-Aware Computing

  18. Implications of Variation for Duty Cycling Active Mode: 48 MHz Sampling Task: 10 s Battery: 2xAA (5.4 A-h) Lifetime: 20000 hours Lucas Wanner – IC/Unicamp 18 Energy-Aware Computing

  19. Variability-Aware Duty Cycling • Instance dependent Duty Cycle 𝐹 𝑀 −𝑄 / (𝑗) Δ = 𝑄 ) (𝑗) − 𝑄 / (𝑗) • P A (i) and P S (i) are instance- 25% variation in DC dependent active and sleep power in a single instance due to temperature • Assumes constant temperature • Picking an arbitrary point in the DC vs temperature curve is suboptimal • Can we do better if we know something about temperature in advance? Lucas Wanner – IC/Unicamp 19 Energy-Aware Computing

  20. Coping with Temperature-Dependent Variation • If we knew the future: deploying a sensor network in Death Valley, CA (2009) ~30F Diurnal Variation ~50F Seasonal Variation Lucas Wanner – IC/Unicamp 20 Energy-Aware Computing

  21. Coping with Temperature-Dependent Variation • If we knew the future: deploying a sensor network in Death Valley, CA (2009) • Annual temperature variation of ~80F • Picking an arbitrary point in the DC vs temperature curve is suboptimal • Assume there is perfect knowledge about future temperature • Temperature as a function of time: T(t) • Power as a function of instance and temperature: P A (i, T) and P S (i, T) • Power as a function of instance and time: P A (i, T(t)) and P S (i, T(t)) • How could you define duty cycle for each instance? Lucas Wanner – IC/Unicamp 21 Energy-Aware Computing

  22. Instance and Temperature-Dependent Duty Cycle ; 6 𝑗 = ∑ 𝑄 / 𝑗, 𝑈(𝑢) ; 6 𝑗 = ∑ 𝑄 ) 𝑗, 𝑈(𝑢) <=> 𝑄 <=> 𝑄 / 𝑀 ) 𝑀 𝐹 6 𝑗 𝑀 − 𝑄 / Δ 𝑗 = 6 𝑗 − 𝑄 6 𝑗 𝑄 ) / Lucas Wanner – IC/Unicamp 22 Energy-Aware Computing

  23. Relaxing the temperature knowledge assumption • Having temperature as a function of time T(t) is not realistic • We can barely predict temperature for the next few days • Temperature distribution is easier to predict, can be learned over time Figure by John L. Daly, data from NASA Goddard Institute for Space Studies Lucas Wanner – IC/Unicamp 23 Energy-Aware Computing

  24. Relaxing the temperature knowledge assumption • From temperature as a function of time T(t) to frequency of temperature f(T) Lucas Wanner – IC/Unicamp 24 Energy-Aware Computing

  25. Relaxing the temperature knowledge assumption • From temperature as a function of time T(t) to frequency of temperature f(T) • Power as a function of instance and temperature: PA(i, T) and PS(i, T) • Temperature as a frequency distribution f(T) • Discretized temperature bins, e.g. one bin for each degree B CDE ; 6 𝑗 = ∑ 𝑄 ) 𝑗, 𝑈(𝑢) 6 𝑗 = <=> 𝑄 𝑄 ? 𝑄 ) 𝑗, 𝑈 ×𝑔(𝑈) ) ) 𝑀 B=B CFG Lucas Wanner – IC/Unicamp 25 Energy-Aware Computing

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