1 / 14

Power Profiling in Computing Platforms

Madhurima Pore Brent Lewis. Power Profiling in Computing Platforms. Overview. ACPI and Improving energy efficiency through better control of ACPI power states Example projects that show power savings using ACPI.

mikasi
Télécharger la présentation

Power Profiling in Computing Platforms

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. Madhurima Pore Brent Lewis Power Profiling in Computing Platforms

  2. Overview • ACPI and Improving energy efficiency through better control of ACPI power states • Example projects that show power savings using ACPI. • Research questions and ongoing experiments with power profiling of the computing platforms.

  3. What is ACPI Its all about giving parts of computer some sleep…… Advanced Configuration and Power Management Specification: • ACPI is part of all the Operating Systems, and it allows the operating system to control the amount of power given to each device attached to the device.

  4. ACPI- Global States • Global states are applied to the entire system and are visible to the User: • G0: Working state • G1: Sleeping State or Standby. • G2: Soft Off. • G3: Mechanical Off.

  5. ACPI Power States • S states – affect the whole system • S0 – working • S1 – processor stops, idle hardware powered down • S2 – CPU, Caches powered off • S3 – Standby/Sleep, Suspend to RAM • S4 – Hibernate, Suspend to Disk • S5 – Soft Off • D states – individual device state • D0 – fully on • D1, D2 – intermediate states • D3 – powered off

  6. ACPI Power States- CPU • C state – CPU state • C0 – working • C1 – halted, not executing instructions • C2 – clock stopped • C3 – sleep • P state – changing the performance of CPU or device such as GPU by switching between different Frequency and Voltages to modulate power consumption. • P0 – full speed, frequency, voltage, etc • P1 – slower than P0 • … • Pn – up to 15

  7. Power Failure / Modem HDD CDROM Power Off D 3 D 3 D 3 G3 mechanical off D 2 D 2 D 2 D 1 D 1 D 1 D 0 D 0 D 0 C 0 BIOS Routine G0 –S0 Working S4 • Legacy S3 S2 S1 Sleeping Wake Performance Throttling State Px C 0 G2 – S5 Soft Off C 1 C 2 CPU Cn

  8. Power Saving Techniques – Using P state transitions (Race to Idle) • Power efficiency of P states is not linear • Example (not realistic for simplicity): • P0 is 2MHz and uses 30 watts • P1 is 1MHz and uses 20 watts • 10000 cycles of work to be done: • P0 power usage = 10000 / 2MHz * 30 watts = .15 watt seconds • P1 power usage = 10000 / 1MHz * 20 watts = .20 watt seconds • Use P0 state to complete the work and return to idle sooner. • Known as “race to idle”. • Race to idle > Other P states

  9. Power Saving Techniques – C State (only applies to CPU) Delay scheduled events as long as possible in order to do all work at once, and go back to sleep. This technique is known as “tickless idle”. Sleep longer, save energy. • Option 1: For current kernel, the C0 to C1 transitions, hundreds of times per second. • Option 2 : C0 to C2 transitions. • Power required is less but wake up time is more.

  10. Power Profiling of Computing Platform • Power Profiling of the entire platform for different workloads such as CPU intensive, memory intensive or network intensive. • Can workload assignment match the nature of the workload to the power profile of the system. • Measurement of Power Consumption of CPU in each of C and P states. • Determine the performance cost and power cost of transition to C0 from any other state? • Can server load prediction be used to choose C states more effectively?

  11. Research questionsD and P states (Devices) • The D and P states supported by a device are dependent upon the device implementation. • It's performance and overhead characteristics are all device dependent. • Can load prediction be used to choose device states more effectively? • Can awareness of the nature of the load help to choose the particular computing system?

  12. Power Profiling of Components– D and P states • The same technique can be applied to other devices • NIC, Hard disk, etc. • Give them work to do • Oscillate power state • Measure the performance and power changes.

  13. Power profiling– C States • Measure power at the CPU instead of at the power supply • Measure power usage of each state • Measure C0 by loading the processor to 100% • Test C1-C3 by locking it into a halt state (unrecoverable) • Measure power usage as states transition • 50% C0, 50% C1 (or C2, C3) • Increasing frequency of transition will reduce performance • This curve can be used to calculate transition time • Compare to continuous C state power usage • Determines power consumption of state transitions • Will require modifying Linux kernel

  14. Summary • Introduced ACPI, and how it can be used to reduce the power consumption in a computing platform. • We probed in different issues and suggested different research directions in this area.

More Related