11 - 1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Hardware-Software Codesign
- 11. Thermal-Aware Design
Hardware-Software Codesign 11. Thermal-Aware Design Iuliana - - PowerPoint PPT Presentation
Hardware-Software Codesign 11. Thermal-Aware Design Iuliana Bacivarov & Lothar Thiele Swiss Federal Computer Engineering 11 - 1 Institute of Technology and Networks Laboratory Contents Why is it important to consider temperature in
11 - 1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 2 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 3 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 4 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
[Loh: 3D-Stacked Memory Architectures for Multi-Core Processors, 2008] 72-Core Intel Xeon Phi platform
11 - 5 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
completely TURN OFF components to allow for cooling
from hot to cool area
[MJPEG decoder on 25-core processor] [source: Wikipedia]
11 - 6 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 7 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 8 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 9 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
i i i a a a
Including both dynamic and leakage power Just leakage power temperature power
11 - 10 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
T C Leak
/ 2
−
i i i a a a
Just leakage power Including both dynamic and leakage power Active processing Idle mode
11 - 11 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 12 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Total capacity Supply voltage Clock frequency Between 0 and 1; quantifies switching activity
11 - 13 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Thermal conductance Environment temperature Power parameters
Thermal capacity
11 - 14 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Steady state temperature
11 - 15 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 16 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 17 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 18 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Layout RC equivalent model
[Barcella et. Al., U. Virginia ]
11 - 19 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 20 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
temperature
no delay
Self-heating effect temperature
delayed
Neighboring effect#3 temperature
delayed
Neighboring effect#2 temperature
delayed
Neighboring effect #1
11 - 21 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Temperature rises with power at same location (without delay) Temperature rises with power at some other location after delay
11 - 22 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
u(t) =input vector
C = thermal capacitance matrix G =thermal conductance matrix K = thermal ground conductance matrix P = power dissipation vector Tamb = ambient temperature vector Tamb = Tamb [1, . . . , 1]’ Power dissipated by component l
l
in ‘active’ (a) and ‘idle’ (i) processing modes Thermal model
11 - 23 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
closed-form solution of the temperature
= impulse response between nodes l l and k = self-impulse response
11 - 24 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Closed-form solution of the temperature Temperature of node k Convolution between the impulse response Hkl and the input ul Workload of component l
11 - 25 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
self-impulse response Hkk(τ-t)
11 - 26 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
1 1 − −
k k
k k k k
− − −
1 1 1 amb
Temperature of interest Constant time interval With P(t) = P = const. for 0 ≤ t ≤ Δt, (and therefore u(t) = const.)
1 −
k k
11 - 27 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 28 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Power / Performance Simulator Power / Performance Simulator Temperature Simulator Temperature Simulator
0.5 1 1.5 2 2.5 300 302 304 306 Time [s] Temperature [K]
Power models
Modeling
Application
11 - 29 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Computing: Δt = 20ms, ΔP = 25mW Reading: Δt = 45ms, ΔP = 32mW Computing: Δt = 80ms, ΔP = 38mW Writing: Δt = 60ms, ΔP = 34mW Computing: Δt = 120ms, ΔP = 41mW
1
2
3
4 5
6 7
8
9 10
11 12
13
14 }
11 - 30 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 31 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 32 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 33 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 34 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
P(t) = P = const, 0 ≤ t ≤ Δt Δt = const Temperature of interest: T(Δt) Calculate E, F once at the beginning Power Annotation Scheduling Creation
Time Tile 1 Tile 2 5ms s1,p2 s1,p1 10ms 15ms Idle 20ms s2,p2 s1,p3 25ms Time Tile 1 Tile 2 5ms 26mW 29mW 10ms 15ms 5mW 20ms 32mW 23mW 25ms
11 - 35 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Entity Parameter [Unit] Source Code segment Execution time [sec / iteration] Low-level sim. Power consumption [W] Low-level sim. Communication queue Token size [bytes / access] Functional sim. Write rate, Read rate [1] Functional sim. Processing unit Clock frequency [cycles / sec] Hardware data- sheet Architecture floor-plan Capacitance matrix [J/K] Low-level phy. sim. Conductivity matrix [W/K] Low-level phy. sim.
11 - 36 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Timing Parameters Thermal Parameters
Software Synthesis Software Synthesis Low-Level Power/Timing Simulator Low-Level Power/Timing Simulator Thermal Architecture Analysis Thermal Architecture Analysis Sample Mappings Sample Mappings
11 - 37 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Idle Task? Store? Restore?
11 - 38 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Computing: Δt = 20ms, ΔP = 25mW Reading: Δt = 45ms, ΔP = 32mW Computing: Δt = 80ms, ΔP = 38mW Writing: Δt = 60ms, ΔP = 34mW Computing: Δt = 120ms, ΔP = 41mW
1
int fire () {
2
float i;
3
float j;
4 5
read (PORT_IN, &i);
6 7
j = i*i;
8
j += 2;
9 10
write (PORT_OUT, &j);
11 12
printf(“Wrote: %f\n, j);
13
return 0;
14 }
11 - 39 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Black-Box Black-Box Power / Performance Simulator Power / Performance Simulator Temperature Simulator Temperature Simulator
0.5 1 1.5 2 2.5 300 302 304 306 Time [s] Temperature [K]
Power models
Modeling
Application Application, Architecture, Mapping
0.5 1 1.5 2 2.5 300 302 304 306 Time [s] Temperature [K]
11 - 40 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 41 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
Source: Dell Power Solutions, Feb. 2007 Source: Windows 7 power management
11 - 42 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory
11 - 43 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory