where does power go in a computer system: experimental analysis and implications
DESCRIPTION
Where Does Power Go in a Computer System: Experimental Analysis and Implications. Hui Chen , Shinan Wang and Weisong Shi Wayne State University. Outline. Introduction Power Measurement Evaluation Implications Conclusions. Introduction. The power problem of computer systems - PowerPoint PPT PresentationTRANSCRIPT
7/28/2011 Mobile and Internet Systems Laboratory 1
Where Does Power Go in a Computer System: Experimental Analysis and Implications
Hui Chen, Shinan Wang and Weisong Shi
Wayne State University
7/28/2011 Mobile and Internet Systems Laboratory 2
Outline
• Introduction• Power Measurement• Evaluation• Implications• Conclusions
7/28/2011 Mobile and Internet Systems Laboratory 3
Introduction
• The power problem of computer systems – Restrict performance improvement
• Frequency limitation• Hard to cool down
– Influence user experience• Battery lifetime of mobile devices
– Waste a large amount of energy consumption• Energy un-proportional in data centers• Low utilization VS high energy consumption
7/28/2011 Mobile and Internet Systems Laboratory 4
Introduction (cont.)
• Methods to solve this problem– Low-power circuits design
• New material (PCM)
– Power-aware system design• Hardware supplies different power states• Operating system makes power-aware strategies
– Power-aware software & application design• Optimize during code compiling• Decrease application performance requirement when battery level
is low
7/28/2011 Mobile and Internet Systems Laboratory 5
Motivation
• Computer system still consumes an ever increasing amount of energy
• The idle power does not decrease too much– Idle power is not used for computing– Account for a large amount of the total power dissipation– One of the main reason that cause energy un-proportional
Where does power go in a computer system?
7/28/2011 Mobile and Internet Systems Laboratory 6
Outline
• Introduction• Power Measurement• Evaluation• Implications• Conclusions
7/28/2011 Mobile and Internet Systems Laboratory 7
Experiment Platform
1. Two desktops of different periods2. The same producer3. Single core VS multi-core4. DDR VS DDR35. Different disk size
7/28/2011 Mobile and Internet Systems Laboratory 8
Power Measurement
• Direct Method– CPU, Disk
• Indirect Method (subtract)– Memory, NIC
7/28/2011 Mobile and Internet Systems Laboratory 9
Indirect Power Measurement
• Execute a benchmark application to stress a component
• Find out with cables supply power for each device– Which cables’ voltage change.
7/28/2011 Mobile and Internet Systems Laboratory 10
Indirect Power Measurement (cont.)#define CACHELINE_SIZE 64#define L2CACHE_SIZE 2048#define ARRAY_SIZE (L2CACHE_SIZE * 1024/CACHELINE_SIZE * 2)typedef struct{
int data[CACHELINE_SIZE/4];}LINE;LINE array[ARRAY_SIZE];… unsigned int size = ARRAY_SIZE; unsigned int i = 0; while(1){ array[i%size].data[0] = i; i++;}
7/28/2011 Mobile and Internet Systems Laboratory 11
Outline
• Introduction• Power Measurement• Evaluation• Implications• Conclusions
7/28/2011 Mobile and Internet Systems Laboratory 12
Idle Power
While we trying to decrease the idle power of part components, we increase the idle power of other components. The total idle power does not drop too much.
3M Others Total
PC05 19.2W 26.1W 45.3W
PC10 12.7W 28.3W 41W
7/28/2011 Mobile and Internet Systems Laboratory 13
Idle power (cont.)
• The idle power of CPU and memory dropped a lot.• Similar situation was not shown on disk.
7/28/2011 Mobile and Internet Systems Laboratory 14
Idle Power (cont.)
PC05 PC10
Other components should acquire similar or even more concentration .
7/28/2011 Mobile and Internet Systems Laboratory 15
The active power of CPU
• The active power decreased about 5 – 22Watts.• The active power is significantly different when executing
each benchmark, even though all the utilization is 100%.
7/28/2011 Mobile and Internet Systems Laboratory 17
Outline
• Introduction• Power Measurement• Evaluation• Implications• Conclusions
7/28/2011 Mobile and Internet Systems Laboratory 18
CPU Utilization
• CPU Utilization is not a good indicator of power dissipation.
• When CPU utilization is 100%, the difference of power may be more than 10W.
Not suitable to be used for power modeling.
7/28/2011 Mobile and Internet Systems Laboratory 19
Controllable Cache Size
• Cache benchmark generates much more power than memory benchmark.
Through control cache size we could control the power dissipation of CPU.
MEM L2 L10
5
10
15
20
25
The Dynamic Power of CPU of PC₁₀
7/28/2011 Mobile and Internet Systems Laboratory 20
An example
High
Low
Cache
Indicator (battery level)
7/28/2011 Mobile and Internet Systems Laboratory 21
Power Transform Efficiency
High transform efficiency is required in able to save power.
DC Power AC Power
Transform Efficiency =
• The transform efficiency of AC to DC is low.
7/28/2011 Mobile and Internet Systems Laboratory 23
Multi-core Task Allocation
• The power of CPU does not decrease too much when idling part of cores.
From the energy efficiency point of view, idling part of cores while make the other parts busy does not save power.
7/28/2011 Mobile and Internet Systems Laboratory 24
Conclusions
• We measured the power of several main components.– The total idle power does not decrease too much.– The idle power of other parts and disk should acquire more
attention.
• From the experiment result, we derive several implications that are important for power-aware system design.– CPU utilization is not a good indicator of power dissipation.– Cache size should be controllable.– Power transform efficiency should be increased.– Idling part of cores does not save power.