Академический Документы
Профессиональный Документы
Культура Документы
NA
j
end for
choose the core with the minimal AT to execute
ready task
12: end if
C Complexit Analysis of Algorithm
Algorithm 1 calculates all the probabilities of task alloca
tion of cores. It takes 0 (L) to compute temperature attenua
tion probability TCP of each core. Thus, the time complexity
of Algorithm 1 is 0 (N*L) , where N is the total number of
cores. This algorithm is a polynomial algorithm. Algorithm 2
chooses the suitable core to execute the ready task. It takes 0
(N) to fnd the maximal value of Pi and takes 0 (R*Q) to
chooses the suitable core, where R is the number of cores
with the same probability and Q is the maximal number of
neighbor units of each core. Thus, the time complexit of
Algorithm 2 is 0 (N+R*Q) . Because R and Q<, Algo
rithm 2 is also a polynomial algorithm.
V. EXPERMENTAL RESULTS
A. Experimental Methodolog
To evaluate the performance of the ProbH policy, we
used Hotspot 5.0 [15] as the thermal modeling tool and de
veloped a continuously operating dynamic scheduling simu
lator. Our simulation takes 20 minutes. The arrival time,
worst-case execution time and power of each job are known.
For characterizing the thermal package, we used the default
heat sink and spreader parameters. Steady-state temperature
values obtained through HotSpot 5.0 is used as the initial
temperature, and the sampling interval is 10 ms.
Our experiments are based on UltraSPARC Tl processor.
Fig.} demonstrates its toorplan [16].
Our policy is evaluated fom three aspects: the accumula
tive time of hot spot temperature, spatial temperature varia
tions and temporal temperature variations of the chip units.
To these three aspects, we defnite three corresponding eval
uation indexes: Hot Spot Time Ratio (HSTR), Spatial Varia-
101
tion Time Ratio (SVTR) and Temporal Variation Time Ratio
(TVTR).
Hot Spot Time Ratio is the percentage of the total time
when the highest temperature of MPSoC above Tthr Fig.3
presents the temperature variation of a chip. In Fig.3 (b),
HSTR of the chip is tTtl) + (t4-t3lt5.
Spatial Variation Time Ratio is the percentage of the total
time when the spatial temperature variation of MPSoC above
15C.
Temporal Variation Time Ratio is the percentage of the
total time when the temporal temperature variation of
MPSoC above } OC. The temporal temperature variation of
MPSoC is the maximum unit temporal temperature variation
of all units. For example, in Fig.3 (a) IT and IT2 is unit
temporal temperature variation of unit UI and unit U2 in a
time span respectively. Assuming IT < IT2 ' IT is the
temporal temperature variation of the MPSoC in this time
span.
.
O
O
c
O
|
'
E
._
" E
? o
71i----
I
I
I
I
I
I I
I I
I I
RB
(a) Temperture of unit UI and U2
I 2 3 4 Tu
(b) Maximum temperature variation
Figure 3o Temperature variation of a chip
We simulated three other scheduling algorithms to com
pare the performance of these policies, which includes (1)
Coolest, where the scheduler selects the coolest processor for
allocation; (2) Coolest-FLP, where the principle is same as
(I), but in addition the scheduler gives priorit to processors
that have "idle" neighbors; (3) AdaptRand [4], which up
dates probabilities of sending workload to cores based on an
analysis of the temperature history on the chip, and then the
core for allocating the current task is selected through gene
rating a random number. Next we present the experimental
evaluation of the scheduling techniques.
B. Experimental Results
FigA demonstrates the efect of attenuation base p on
performance of scheduling policy ProbH we proposed. With
the increasing of p, the attenuation velocity will gradually
decrease. FigA shows that either too large or too small p will
infuence the performance of ProbH. In order to get better
comprehensive performance, in our experiments we set p as
0.6.
5.