Ppt2on MP
Ppt2on MP
Ppt2on MP
How?
Power off un-used parts: LCD, disk for
Laptop
Gracefully reduce the performance
CPU: dynamic power Pd = Cef * Vdd2 * f
[Chandrakasan-1992, Burd-1995]
C : switch capacitance
ef
fmax/2
T1 T2
E/4
f time
T1 T2
Acquaviva [75]
Increasing context switch frequency from 0Hz
to 10Khz does not affect energy consumption ->
Context switch mechanism in RTOS is energy
efficient
More energy is consumed when cache flushing
effect during context-switch is considered
I/O: CPU sends data bursts > output buffer ->
Considerable energy consumption when buffer
is full or when it polls a synchronization
variable (similar to [74])
Distributed/Multiprocessor real-
time systems
Reminder
Tightly coupled multiprocessor system
Multiple processors are connected at the bus level
and share main memory
Extreme: multicore with multiple processors on a chip
Loosely coupled multiprocessor system (e.g.,
cluster)
Multiple, stand-alone processors connected via, e.g.,
Gigabit Ethernet
Distributed/Multiprocessor real-
time systems
Classic RT scheduling ≠ Power-aware one
Example: a tightly coupled RT system with
2 processors, 2 memory banks, 1 ready
queue
Apply EDF
Assign a task to the first available processor
Put memory bank(s) into sleep mode if not used
Distributed/Multiprocessor real-
time systems
Task set
Assume memory utilization is linearly
dependent on exec time
Distributed/Multiprocessor real-
time systems
Classic Load Balancing (LB)
Try to balance memory bank utilization
Assign T1 & T2 to bank 1 (bank utilization 70%)
& T3 & T4 to bank 2 (BU 54.1%)
Power-Aware (PA)
Assign harmonically related tasks to the same
bank
Tasks are simultaneously active more often
Assign T1 & T3 (BU 36.6%) to bank 1 & T2 & T4
to bank 2 (BU 87.5%)
Distributed/Multiprocessor real-
time systems
PA vs. LB