How to Schedule Near-Optimally under Real-World Constraints

10/22/2021
by   Ziv Scully, et al.
0

Scheduling is a critical part of practical computer systems, and scheduling has also been extensively studied from a theoretical perspective. Unfortunately, there is a gap between theory and practice, as the optimal scheduling policies presented by theory can be difficult or impossible to perfectly implement in practice. In this work, we use recent breakthroughs in queueing theory to begin to bridge this gap. We show how to translate theoretically optimal policies – which provably minimize mean response time (a.k.a. latency) – into near-optimal policies that are easily implemented in practical settings. Specifically, we handle the following real-world constraints: - We show how to schedule in systems where job sizes (a.k.a. running time) are unknown, or only partially known. We do so using simple policies that achieve performance very close to the much more complicated theoretically optimal policies. - We show how to schedule in systems that have only a limited number of priority levels available. We show how to adapt theoretically optimal policies to this constrained setting and determine how many levels we need for near-optimal performance. - We show how to schedule in systems where job preemption can only happen at specific checkpoints. Adding checkpoints allows for smarter scheduling, but each checkpoint incurs time overhead. We give a rule of thumb that near-optimally balances this tradeoff.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/25/2019

Simple Near-Optimal Scheduling for the M/G/1

We consider the problem of preemptively scheduling jobs to minimize mean...
research
12/03/2017

SOAP: One Clean Analysis of All Age-Based Scheduling Policies

We consider an extremely broad class of M/G/1 scheduling policies called...
research
05/20/2018

SRPT for Multiserver Systems

The Shortest Remaining Processing Time (SRPT) scheduling policy and its ...
research
06/23/2022

A Novel Multi-Agent Scheduling Mechanism for Adaptation of Production Plans in Case of Supply Chain Disruptions

Manufacturing companies typically use sophisticated production planning ...
research
06/17/2021

Towards Prevention of Sportsmen Burnout: Formal Analysis of Sub-Optimal Tournament Scheduling

Scheduling a sports tournament is a complex optimization problem, which ...
research
09/30/2011

How the Landscape of Random Job Shop Scheduling Instances Depends on the Ratio of Jobs to Machines

We characterize the search landscape of random instances of the job shop...
research
02/28/2018

Model Oriented Scheduling Algorithm for The Hardware-In-The-Loop Simulation

This paper presents an approach for designing software for dynamical sys...

Please sign up or login with your details

Forgot password? Click here to reset