
 
Table 1: Simulation results of the heuristic algorithms for 
the factor α. 
 
2468101214161820
0.00%
20.00%
40.00%
60.00%
80.00%
100.00%
120.00%
FF
FFD
BF
BF D
SSP
BF D SS
LAT
 
Figure 6: Simulation results of the heuristic algorithms for 
the factor α. Axis X: task number, axis Y: factor α. 
Similarly table 2 and figure 7 present the simulation 
results for the algorithms, which are grouped by the 
task set sizes: |T|, but showing the percent latency 
factor βA, defined as follow: 
  number of experiments when A gave 
A
 
the best solution for the latency 
number of experiments for A 
Table 2: Simulation results of the heuristic algorithms for 
the factor β. 
 
The number of executed experiments for each 
algorithm is 100,000, for each experiment there were 
randomly generated task graphs G and cluster states 
C: computational node set. In the table with results, 
there is an additional column SSP/BFD containing 
the results for the combined heuristics SSP and 
BFD, where the better solution for factor α is 
chosen. 
Comparing the evaluation results for both types 
of optimisation, we can see that the BFD (except 
BFD/SSP together) is the best for the fragmentation 
optimisation, and works quite well for latency. The 
HLT algorithm, as you could expect, is the best for 
latency optimisation, but performs extremely poorly 
for the fragmentation. 
2 4 6 8 10 12 14 16 18 20
0.00%
20.00%
40.00%
60.00%
80.00%
100.00%
120.00%
FF
FFD
BF
BFD
SSP
BFDSS
LAT
 
Figure 7: Simulation results of the heuristic algorithms for 
the factor β. Axis X: task number, axis Y: factor β. 
7 CONCLUSIONS 
We present a heuristic solution for the task-to-node 
assignment problem defined in the context of 
KASKADA platform. We consider six algorithms 
and evaluate them by a simulator of the platform. 
Based on the results we selected BFD heuristic as 
the best solution. 
In the future works we can combine the above 
criteria and create a hybrid algorithms. It seems that 
HLT algorithm can be modified (e.g. by changing 
sorting order of the nodes) to obtain compromise 
between fragmentation and latency. 
Alternative approach is to use several algorithms 
according to the current svalues of fragmentation 
and latency characteristics. If one of the values is not 
acceptable we use algorithm improving that value. 
REFERENCES 
Caprara A., Pferchy U., 2004. Worst-case analysis of 
subset sum algorithms for bin packing
, Operations 
Research Letters, 32, 159-166 
El-Rewini H., Lewis T. G., Ali H. H., 1994. Task 
Scheduling in Parallel and Distributed Systems
, 
Prentice-Hall Series In Innovative Technology 
Garey M. R., Johnson D. S., 1979. Computer and 
Intractability: A guide to the Theory of NP-
Completeness
, W. H. Freeman 
Haouari M., Serairi M., 2009. 
Heuristics for the variable 
sized bin-packing problem
, Computers & Operational 
Research 36, 2877-2884 
Krawczyk H., Proficz J., 2010. 
KASKADA – multimedia 
processing platform architecture,
 Signal Processing 
and Multimedia Applications, accepted. 
|T| FF FFD BF BFD SSP BFDSS LAT
2 97.49% 98.43% 98.28% 100.00% 98.43% 100.00% 5.11%
4 85.33% 90.74% 89.51% 99.03% 91.00% 99.41% 1.00%
6 65.93% 78.04% 75.03% 96.17% 79.60% 98.08% 0.29%
8 45.13% 63.64% 58.11% 91.85% 68.12% 96.80% 0.13%
10 27.57% 49.77% 42.53% 86.78% 58.89% 95.88% 0.05%
12 15.97% 38.85% 30.85% 82.52% 53.03% 96.03% 0.03%
14 9.10% 30.75% 22.83% 79.41% 49.24% 96.23% 0.01%
16 5.14% 25.06% 16.87% 76.79% 47.69% 96.64% 0.00%
18 3.01% 21.18% 13.02% 74.72% 46.94% 97.04% 0.00%
20 1.71% 18.53% 9.77% 73.03% 46.72% 97.33% 0.00%
|T| FF FFD BF BFD SSP BFDSS LAT
2 52.62% 52.62% 56.05% 59.40% 52.62% 54.20% 100.00%
4 56.42% 56.45% 59.68% 62.55% 56.46% 58.32% 97.66%
6 53.31% 53.34% 56.85% 59.54% 53.35% 55.77% 95.64%
8 51.38% 50.77% 54.93% 56.57% 50.74% 53.56% 93.79%
10 49.69% 48.41% 53.16% 53.36% 48.38% 51.07% 91.91%
12 48.18% 46.27% 51.53% 50.86% 46.14% 48.88% 90.24%
14 47.25% 45.05% 50.54% 48.78% 44.78% 47.18% 88.93%
16 45.74% 43.48% 48.81% 46.82% 43.07% 45.38% 88.07%
18 44.40% 42.24% 47.57% 45.16% 41.88% 43.99% 87.47%
20 43.33% 41.13% 46.63% 43.72% 40.95% 42.79% 87.00%
THE TASK GRAPH ASSIGNMENT FOR KASKADA PLATFORM
197