Table of Contents
Fetching ...

Scheduling Jobs with Work-Inefficient Parallel Solutions

William Kuszmaul, Alek Westover

TL;DR

This work introduces and analyzes the Serial-Parallel Scheduling Problem, where online decision-making determines whether each arriving task is executed serially or in parallel, affecting both awake time and mean response time. The authors present three core online results for awake time: BAL, a 3-competitive decide-on-arrival scheduler; UNK, a 6-competitive parallel-work-oblivious scheduler; and a tight lower-bound framework showing a fundamental trade-off between these properties. For MRT, they provide an O(1)-competitive scheduler with O(1) speed augmentation, built via two technical lemmas and a Cancelling-to-Non-Cancelling transformation, and they prove limitations for restricted models. They further extend the model to tasks with dependencies (DTAP), obtaining Θ(√p) online competitiveness for awake time, and they discuss broad open questions about tighter bounds, practical simplifications, and offline algorithms. Overall, the paper advances our understanding of how to schedule work-inefficient parallel algorithms in online settings by balancing irrevocable per-task decisions, processor allocation, and speed augmentation to achieve robust performance guarantees.

Abstract

This paper introduces the \emph{serial-parallel decision problem}. Consider an online scheduler that receives a series of tasks, where each task has both a parallel and a serial implementation. The parallel implementation has the advantage that it can make progress concurrently on multiple processors, but the disadvantage that it is (potentially) work-inefficient. As tasks arrive, the scheduler must decide for each task which implementation to use. We begin by studying \emph{total awake time}. We give a simple \emph{decide-on-arrival} scheduler that achieves a competitive ratio of $3$ for total awake time -- this scheduler makes serial/parallel decisions immediately when jobs arrive. Our second result is an \emph{parallel-work-oblivious} scheduler that achieves a competitive ratio of $6$ for total awake time -- this scheduler makes all of its decisions based only on the size of each serial job and without needing to know anything about the parallel implementations. Finally, we prove a lower bound showing that, if a scheduler wishes to achieve a competitive ratio of $O(1)$, it can have at most one of the two aforementioned properties (decide-on-arrival or parallel-work-oblivious). We also prove lower bounds of the form $1 + Ω(1)$ on the optimal competitive ratio for any scheduler. Next, we turn our attention to optimizing \emph{mean response time}. Here, we show that it is possible to achieve an $O(1)$ competitive ratio with $O(1)$ speed augmentation. This is the most technically involved of our results. We also prove that, in this setting, it is not possible for a parallel-work-oblivious scheduler to do well. In addition to these results, we present tight bounds on the optimal competitive ratio if we allow for arrival dependencies between tasks (e.g., tasks are components of a single parallel program), and we give an in-depth discussion of the remaining open questions.

Scheduling Jobs with Work-Inefficient Parallel Solutions

TL;DR

This work introduces and analyzes the Serial-Parallel Scheduling Problem, where online decision-making determines whether each arriving task is executed serially or in parallel, affecting both awake time and mean response time. The authors present three core online results for awake time: BAL, a 3-competitive decide-on-arrival scheduler; UNK, a 6-competitive parallel-work-oblivious scheduler; and a tight lower-bound framework showing a fundamental trade-off between these properties. For MRT, they provide an O(1)-competitive scheduler with O(1) speed augmentation, built via two technical lemmas and a Cancelling-to-Non-Cancelling transformation, and they prove limitations for restricted models. They further extend the model to tasks with dependencies (DTAP), obtaining Θ(√p) online competitiveness for awake time, and they discuss broad open questions about tighter bounds, practical simplifications, and offline algorithms. Overall, the paper advances our understanding of how to schedule work-inefficient parallel algorithms in online settings by balancing irrevocable per-task decisions, processor allocation, and speed augmentation to achieve robust performance guarantees.

Abstract

This paper introduces the \emph{serial-parallel decision problem}. Consider an online scheduler that receives a series of tasks, where each task has both a parallel and a serial implementation. The parallel implementation has the advantage that it can make progress concurrently on multiple processors, but the disadvantage that it is (potentially) work-inefficient. As tasks arrive, the scheduler must decide for each task which implementation to use. We begin by studying \emph{total awake time}. We give a simple \emph{decide-on-arrival} scheduler that achieves a competitive ratio of for total awake time -- this scheduler makes serial/parallel decisions immediately when jobs arrive. Our second result is an \emph{parallel-work-oblivious} scheduler that achieves a competitive ratio of for total awake time -- this scheduler makes all of its decisions based only on the size of each serial job and without needing to know anything about the parallel implementations. Finally, we prove a lower bound showing that, if a scheduler wishes to achieve a competitive ratio of , it can have at most one of the two aforementioned properties (decide-on-arrival or parallel-work-oblivious). We also prove lower bounds of the form on the optimal competitive ratio for any scheduler. Next, we turn our attention to optimizing \emph{mean response time}. Here, we show that it is possible to achieve an competitive ratio with speed augmentation. This is the most technically involved of our results. We also prove that, in this setting, it is not possible for a parallel-work-oblivious scheduler to do well. In addition to these results, we present tight bounds on the optimal competitive ratio if we allow for arrival dependencies between tasks (e.g., tasks are components of a single parallel program), and we give an in-depth discussion of the remaining open questions.
Paper Structure (23 sections, 24 theorems, 8 equations)

This paper contains 23 sections, 24 theorems, 8 equations.

Key Result

theorem 1

$\texttt{EQUI}$ with $3$ speed augmentation is $O(1)$ competitive with $\texttt{OPT}$ for MRT on any set $J$ of malleable jobs with arbitrary (nondecreasing sublinear) speedup curves.

Theorems & Definitions (25)

  • theorem 1: Theorem 1.1 of Edmonds09
  • definition 1
  • theorem 2
  • theorem 3
  • lemma 2
  • lemma 3
  • lemma 4
  • lemma 5
  • theorem 4
  • proposition 1
  • ...and 15 more