Efficient Algorithms for Scheduling Moldable Tasks
Abstract
We study the problem of scheduling n independent moldable tasks on m processors that arises in large-scale parallel computations. When tasks are monotonic, the best known result is a (32+ε)-approximation algorithm for makespan minimization with a complexity linear in n and polynomial in m and 1ε where ε is arbitrarily small. We propose a new perspective of the existing speedup models: the speedup of a task Tj is linear when the number p of assigned processors is small (up to a threshold δj) while it presents monotonicity when p ranges in [δj, kj]; the bound kj indicates an unacceptable overhead when parallelizing on too many processors. The generality of this model is proved to be between the classic monotonic and linear-speedup models. For any given integer δ≥ 5, let u= [2]δ -1≥ 2. In this paper, we propose a 1θ(δ) (1+ε)-approximation algorithm for makespan minimization where θ(δ) = u+1u+2( 1- km ) (m k). As a by-product, we also propose a θ(δ)-approximation algorithm for throughput maximization with a common deadline.