The Community for Technology Leaders
Green Image
In this work, we address the problem of scheduling loops with dependences in the context of speculative parallelization. We show that the scheduling alternatives are highly influenced by the dependence violation pattern the code presents. We center our analysis in those algorithms where dependences are less likely to appear as the execution proceeds. Particularly, we focus on randomized incremental algorithms, widely used as a much more efficient solution to many problems than their deterministic counterparts. These important algorithms are, in general, hard to parallelize by hand and represent a challenge for any automatic parallelization scheme. Our analysis led us to the development of Meseta, a new scheduling strategy that takes into account the probability of a dependence violation to determine the number of iterations being scheduled. Meseta is compared with existing techniques, including Fixed-Size Chunking (FSC), the only scheduling alternative used so far in the context of speculative parallelization. Our experimental results show a 5.5 percent to 36.25 percent speedup improvement over FSC, leading to a better extraction of the parallelism inherent to randomized incremental algorithms. Moreover, when the cost of dependence violations is too high to obtain speedups, Meseta curves the performance degradation.
Parallelism and concurrency, load balancing and task assignment, scheduling and task partitioning, geometrical problems and computations.

D. Orden, D. R. Llanos and B. Palop, "New Scheduling Strategies for Randomized Incremental Algorithms in the Context of Speculative Parallelization," in IEEE Transactions on Computers, vol. 56, no. , pp. 839-852, 2007.
98 ms
(Ver 3.3 (11022016))