Online proceedings - EDA Publishing Association
Online proceedings - EDA Publishing Association
Online proceedings - EDA Publishing Association
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
In Fig. 9 (a) the same integer workload was run on core 0<br />
at 100%, 90% and 70% CPU core usage levels. Four groups<br />
of dots can be observed: one cluster for the idle state<br />
temperatures and three clusters for the workload<br />
temperatures. The same pattern we can observe for the<br />
relation between CPU usage levels and average CPU<br />
temperatures. There is direct relation between CPU core<br />
temperatures and the CPU time (in terms of usage level) for<br />
the same type of workload, therefore we can estimate the<br />
contribution of the application to the CPU heat generation.<br />
Another aspect we investigated was the influence of<br />
different workload types on CPU cores’ temperatures. Fig.<br />
10 shows the thermal profiles of four workload types:<br />
integer, float, memory and SSE executed successively for<br />
the same amount of time on the same CPU core. Based on<br />
this test, in order to estimate the effect of a CPU intensive<br />
application over the temperature we have to know the type<br />
of operations the application implements.<br />
Temperature [oC]<br />
100<br />
90<br />
80<br />
70<br />
60<br />
50<br />
40<br />
30<br />
20<br />
10<br />
0<br />
0 100 200 300 400 500 600 700 800 900<br />
Time [s]<br />
Integer<br />
Float<br />
Memory<br />
SSE2<br />
Fig. 10. Heat dissipation and power consumption<br />
B. Heat dissipation and Power consumption<br />
Part of the battery energy of a mobile device is<br />
transformed into heat. The increase in temperature enforces<br />
more energy to be consumed. In Fig. 11, power consumption<br />
profile for the previous memory workload is presented.<br />
40000<br />
35000<br />
Battery power consumption<br />
7-9 October 2009, Leuven, Belgium<br />
current profile. This increase of approx. 4W during the<br />
workload execution is due to the heating of the device.<br />
C. Multithreading and Multicore Thermal Profiles<br />
First we run one single workload thread on every CPU<br />
core available in the processor: when the workload was run<br />
on core 0 the plot in Fig. 12 (1) was obtained and when it<br />
was launched on core 1, the plot (2) describes the<br />
temperature variation. When the workload thread set its<br />
affinity to both CPU cores, we obtained the plot (3) in Fig.<br />
12. For this case the operating system schedules the thread<br />
on both cores uneven (in our presented test: 75% core 0 and<br />
25% core 1). It can be also observed that the CPU cores’<br />
temperatures are not equal even if they run the same<br />
workload 100% (Fig. 12 (1) and (2)).<br />
Temperature [oC]<br />
Fig. 12. CPU cores temperatures<br />
The second test presented in Fig. 13 describes the results<br />
of (1) one workload thread executed by one core, (2) two<br />
workload threads executed by one single core and (3) two<br />
threads run by both CPU cores.<br />
Temperature [oC]<br />
120<br />
100<br />
80<br />
60<br />
40<br />
CPU cores temperatures<br />
100<br />
90<br />
80<br />
70<br />
60<br />
50<br />
40<br />
30<br />
20<br />
10<br />
0<br />
0 100 200 300 400 500 600 700 800 900<br />
Time [s]<br />
CPU cores temperatures<br />
(1) Core 0 100%<br />
(2) Core 1 100%<br />
(3) Core 0 75%<br />
(3) Core 1 25%<br />
(1) Core 0 100%<br />
(2) Core 0 100%<br />
(3) Core 0 100%<br />
Power consumption [mW]<br />
30000<br />
25000<br />
20000<br />
15000<br />
10000<br />
5000<br />
0<br />
0 100 200 300 400 500 600 700 800 900<br />
Time [s]<br />
Fig. 11. Heat dissipation and power consumption<br />
During the second phase of the benchmark, when the<br />
workload is applied, the temperature of the processor and<br />
also the temperature of the entire mobile device increase (in<br />
our example the temperature increases from 60 to ~100 o C).<br />
This increase in temperature of has an effect on power<br />
consumption, and a smooth increase (from 30W to 34W)<br />
during phase 2 of the benchmark can be observed in the<br />
20<br />
0<br />
0 100 200 300 400 500 600 700 800 900<br />
Time [s]<br />
Fig. 13. CPU threads temperatures<br />
D. Thermal-Aware Application<br />
We implemented a database application with long<br />
database processing tasks. The application was written in<br />
Visual C++ 2005, uses MS SQL server. The database<br />
processing task was implemented with different thermal<br />
management operations. In Fig. 15 thermal signatures for the<br />
same task workload implemented with different thermal<br />
management techniques are presented. We can reduce<br />
maximum CPU temperature with around 10 o C implementing<br />
DTM at application level (AP) with a decrease in<br />
performance of 40%.<br />
©<strong>EDA</strong> <strong>Publishing</strong>/THERMINIC 2009 148<br />
ISBN: 978-2-35500-010-2