English

On the stochastic and asymptotic improvement of First-Come First-Served and Nudge scheduling

Probability 2022-06-22 v1 Performance

Abstract

Recently it was shown that, contrary to expectations, the First-Come-First-Served (FCFS) scheduling algorithm can be stochastically improved upon by a scheduling algorithm called {\it Nudge} for light-tailed job size distributions. Nudge partitions jobs into 4 types based on their size, say small, medium, large and huge jobs. Nudge operates identical to FCFS, except that whenever a {\it small} job arrives that finds a {\it large} job waiting at the back of the queue, Nudge swaps the small job with the large one unless the large job was already involved in an earlier swap. In this paper, we show that FCFS can be stochastically improved upon under far weaker conditions. We consider a system with 22 job types and limited swapping between type-11 and type-22 jobs, but where a type-11 job is not necessarily smaller than a type-22 job. More specifically, we introduce and study the Nudge-KK scheduling algorithm which allows type-11 jobs to be swapped with up to KK type-22 jobs waiting at the back of the queue, while type-22 jobs can be involved in at most one swap. We present an explicit expression for the response time distribution under Nudge-KK when both job types follow a phase-type distribution. Regarding the asymptotic tail improvement ratio (ATIR) , we derive a simple expression for the ATIR, as well as for the KK that maximizes the ATIR. We show that the ATIR is positive and the optimal KK tends to infinity in heavy traffic as long as the type-22 jobs are on average longer than the type-11 jobs.

Keywords

Cite

@article{arxiv.2206.10428,
  title  = {On the stochastic and asymptotic improvement of First-Come First-Served and Nudge scheduling},
  author = {Benny Van Houdt},
  journal= {arXiv preprint arXiv:2206.10428},
  year   = {2022}
}