Minimizing migrations in fair multiprocessor scheduling of persistent tasks

  • Authors:
  • Tracy Kimbrel;Baruch Schieber;Maxim Sviridenko

  • Affiliations:
  • IBM T. J. Watson Research Center, Yorktown Heights 10598;IBM T. J. Watson Research Center, Yorktown Heights 10598;IBM T. J. Watson Research Center, Yorktown Heights 10598

  • Venue:
  • Journal of Scheduling
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Suppose that we are given n persistent tasks (jobs) that need to be executed in an equitable way on m processors (machines). Each machine is capable of performing one unit of work in each integral time unit and each job may be executed on at most one machine at a time. The schedule needs to specify which job is to be executed on each machine in each time window. The goal is to find a schedule that minimizes job migrations between machines while guaranteeing a fair schedule. We measure the fairness by the drift d defined as the maximum difference between the execution times accumulated by any two jobs. As jobs are persistent we measure the quality of the schedule by the ratio of the number of migrations to time windows. We show a tradeoff between the drift and the number of migrations. Let n = qm + r with 0 r m (the problem is trivial for n 驴 m and for r = 0). For any d 驴 1, we show a schedule that achieves a migration ratio less than r(m 驴 r)/(n(q(d 驴 1)) + 驴 0; namely, it asymptotically requires r(m 驴 r) job migrations every n(q(d 驴 1) + 1) time windows. We show how to implement the schedule efficiently. We prove that our algorithm is almost optimal by proving a lower bound of r(m 驴 r)/(nqd) on the migration ratio. We also give a more complicated schedule that matches the lower bound for a special case when 2q 驴 d and m = 2r. Our algorithms can be extended to the dynamic case in which jobs enter and leave the system over time.