Software Controlled Power Management
Computer System Laboratory Stanford University Yung-Hsiang Lu Tajana Simunic Giovanni De Micheli
Software Controlled Power Management Yung-Hsiang Lu Giovanni De - - PowerPoint PPT Presentation
Software Controlled Power Management Yung-Hsiang Lu Giovanni De Micheli Tajana Simunic Computer System Laboratory Stanford University Outline Dynamic Power Management (DPM) ACPI (Advanced Configuration & Power Interface)
Computer System Laboratory Stanford University Yung-Hsiang Lu Tajana Simunic Giovanni De Micheli
Stanford University CODES 99 Rome, Italy 2
Stanford University CODES 99 Rome, Italy 3
read / write IO complete shut down read / write spin up
Stanford University CODES 99 Rome, Italy 4
Workload Devices
requests power state commands
Power Manager
parameters request model computers embedded systems portable devices …..
Applications:
Implementation & evaluation Request and device modeling Management algorithms Power and performance tradeoffs
Stanford University CODES 99 Rome, Italy 5
– allowing dynamic power state change – providing low state-transition overhead
– implementing adaptive, flexible, smart algorithms – using higher-level information
Stanford University CODES 99 Rome, Italy 6
Stanford University CODES 99 Rome, Italy 7
OS OS
Kernel Kernel Power Management Power Management Device Device Driver Driver ACPI driver ACPI driver AML interpreter AML interpreter
BIOS BIOS Applications Applications Platform Hardware Platform Hardware Motherboard Motherboard devices devices Chipset Chipset CPU CPU ACPI Tables ACPI Tables
ACPI ACPI
Table Table interface interface BIOS BIOS interface interface Register Register interface interface ACPI BIOS ACPI BIOS ACPI registers ACPI registers
Stanford University CODES 99 Rome, Italy 8
applications hardware devices device-specific driver power manager
requests power manager
ACPI
Stanford University CODES 99 Rome, Italy 9
applications hardware devices device-specific driver power manager
requests power manager command utilization Experiment DPM Algorithms power manager
ACPI
filter driver
Stanford University CODES 99 Rome, Italy 10
Stanford University CODES 99 Rome, Italy 11
synchronization creating power command timing analysis
SetPowerState
power state change…. Requests Arrive
Stanford University CODES 99 Rome, Italy 12
– 3 power states – idle power 3.48 W – sleeping power 0.75 W – 7.2 sec / 52 J to wake up and 0.51 sec to sleep
Stanford University CODES 99 Rome, Italy 13
read / write IO complete shut down read / write wake up timesleeping × Powersleeping + timeidle × Poweridle + # wakeups × Energywakeup Total Energy =
Stanford University CODES 99 Rome, Italy 14
1.6 1.8 2 2.2 2.4 30 60 90 120 150 180 Timeout (sec) Power (W)
Stanford University CODES 99 Rome, Italy 15
1.6 1.8 2 2.2 2.4 30 60 90 120 150 180 Timeout (sec) Power (W)
Adaptive timeout [Lu GLSVLSI 99]: 1.60 W
Stanford University CODES 99 Rome, Italy 16
30 60 90 120 30 60 90 120 150 180 Timeout (sec) # shutdown
Stanford University CODES 99 Rome, Italy 17
0% 2% 4% 6% 8% 10% 30 60 90 120 150 180 Timeout (sec) Waiting
Stanford University CODES 99 Rome, Italy 18
– is portable – facilitates DPM algorithm evaluation – runs realistic workloads
Stanford University CODES 99 Rome, Italy 19