Saved in:
Bibliographic Details
Main Author: Kuo, Tung-Wei
Format: Preprint
Published: 2021
Subjects:
Online Access:https://arxiv.org/abs/2112.14403
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912356428152832
author Kuo, Tung-Wei
author_facet Kuo, Tung-Wei
contents The assessment of a job's Quality of Service (QoS) often revolves around its flow time, also referred to as response time. This study delves into two fundamental objectives for scheduling jobs: the average flow time and the maximum flow time. While the Shortest Remaining Processing Time (SRPT) algorithm minimizes average flow time, it can result in job starvation, causing certain jobs to experience disproportionately long and unfair flow times. In contrast, the First-Come-First-Served (FCFS) algorithm minimizes the maximum flow time but may compromise the average flow time. To strike a balance between these two objectives, a common approach is to minimize the $\ell_2$ norm of flow time. SRPT and FCFS are $O(n^{\frac{1}{2}})$-competitive for this problem, where $n$ is the number of jobs. Prior to this work, no algorithm is known to achieve a competitive ratio better than SRPT and FCFS. In this paper, we use FCFS to mitigate the starvation caused by SRPT. Given a good estimate of $n$, we prove that this approach achieves a much better competitive ratio of $O(n^{\frac{1}{3}})$. Our results provide the first theoretical evidence that mitigating starvation in SRPT leads to a provable improvement in scheduling performance.
format Preprint
id arxiv_https___arxiv_org_abs_2112_14403
institution arXiv
publishDate 2021
record_format arxiv
spellingShingle Minimizing $\ell_2$ Norm of Flow Time by Starvation Mitigation
Kuo, Tung-Wei
Data Structures and Algorithms
The assessment of a job's Quality of Service (QoS) often revolves around its flow time, also referred to as response time. This study delves into two fundamental objectives for scheduling jobs: the average flow time and the maximum flow time. While the Shortest Remaining Processing Time (SRPT) algorithm minimizes average flow time, it can result in job starvation, causing certain jobs to experience disproportionately long and unfair flow times. In contrast, the First-Come-First-Served (FCFS) algorithm minimizes the maximum flow time but may compromise the average flow time. To strike a balance between these two objectives, a common approach is to minimize the $\ell_2$ norm of flow time. SRPT and FCFS are $O(n^{\frac{1}{2}})$-competitive for this problem, where $n$ is the number of jobs. Prior to this work, no algorithm is known to achieve a competitive ratio better than SRPT and FCFS. In this paper, we use FCFS to mitigate the starvation caused by SRPT. Given a good estimate of $n$, we prove that this approach achieves a much better competitive ratio of $O(n^{\frac{1}{3}})$. Our results provide the first theoretical evidence that mitigating starvation in SRPT leads to a provable improvement in scheduling performance.
title Minimizing $\ell_2$ Norm of Flow Time by Starvation Mitigation
topic Data Structures and Algorithms
url https://arxiv.org/abs/2112.14403