Skip to main content
QUICK REVIEW

[Paper Review] A New Perspective on the Windows Scheduling Problem

Tobias Jacobs, Salvatore Longo|arXiv (Cornell University)|Oct 27, 2014
Real-Time Systems SchedulingComputer Science16 references12 citations
TL;DR

This paper introduces the Partial Coding problem as a new combinatorial framework to reframe the Windows Scheduling Problem with exact periods, enabling polynomial-time reductions between the two. The key contribution is proving that even unit-length jobs on a single machine cannot be scheduled in pseudo-polynomial time under standard complexity assumptions, and that the multi-machine case with job migration is co-NP-hard, resolving long-standing open questions.

ABSTRACT

The Windows Scheduling Problem, also known as the Pinwheel Problem, is to schedule periodic jobs subject to their processing frequency demands. Instances are given as a set of jobs that have to be processed infinitely often such that the time interval between two consecutive executions of the same job j is no longer than the job's given period $p_j$. The key contribution of this work is a new interpretation of the problem variant with exact periods, where the time interval between consecutive executions must be strictly $p_j$. We show that this version is equivalent to a natural combinatorial problem we call Partial Coding. Reductions in both directions can be realized in polynomial time, so that both hardness proofs and algorithms for Partial Coding transfer to Windows Scheduling. Applying this new perspective, we obtain a number of new results regarding the computational complexity of various Windows Scheduling Problem variants. We prove that even the case of one processor and unit-length jobs does not admit a pseudo-polynomial time algorithm unless SAT can be solved by a randomized method in expected quasi-polynomial time. This result also extends to the case of inexact periods, which answers a question that has remained open for more than two decades. Furthermore, we report an error found in a hardness proof previously given for the multi-machine case without machine migration, and we show that this variant reduces to the single-machine case. Finally, we prove that even with unit-length jobs the problem is co-NP-hard when jobs are allowed to migrate between machines.

Motivation & Objective

  • To reframe the Windows Scheduling Problem with exact periods using a new combinatorial model called Partial Coding.
  • To establish polynomial-time reductions between the Windows Scheduling Problem and the Partial Coding Problem in both directions.
  • To resolve open complexity questions regarding the single-machine case with unit-length jobs and the multi-machine case with job migration.
  • To demonstrate that the multi-machine Windows Scheduling Problem with migration is co-NP-hard, even for unit-length jobs.
  • To correct a previously published error in a hardness proof for the non-migratory multi-machine case and show it reduces to the single-machine case.

Proposed method

  • Define the Partial Coding Problem as a combinatorial abstraction where symbols are encoded via attributes with value ranges, and distinguishability depends on shared attribute values.
  • Construct a bijective mapping between job start times in Windows Scheduling and symbol encodings in Partial Coding, such that job collisions correspond exactly to indistinguishable symbol pairs.
  • Use relative prime factorization of job periods to map scheduling instances to Partial Coding instances with prime-valued attribute ranges.
  • Reduce the $(m+1)$-Independent Set Problem to the $m$-ary Partial Coding Problem to prove co-NP-hardness via polynomial-time transformation.
  • Leverage the equivalence of Partial Coding and Windows Scheduling to transfer hardness results and algorithmic insights between the two problems.
  • Prove that the single-machine case with unit-length jobs does not admit a pseudo-polynomial time algorithm unless SAT has a randomized quasi-polynomial time solution.

Experimental results

Research questions

  • RQ1Can the Windows Scheduling Problem with exact periods be equivalently reformulated as a combinatorial problem to enable new complexity and algorithmic insights?
  • RQ2Is the single-machine Windows Scheduling Problem with unit-length jobs solvable in pseudo-polynomial time under standard complexity assumptions?
  • RQ3Is the multi-machine Windows Scheduling Problem with job migration co-NP-hard, even for unit-length jobs?
  • RQ4Does the non-migratory multi-machine variant reduce to the single-machine case, and is the previously claimed hardness proof valid?
  • RQ5Can the Partial Coding framework be used to derive new approximation algorithms or positive results for special cases of Windows Scheduling?

Key findings

  • The Windows Scheduling Problem with exact periods is equivalent to the Partial Coding Problem via polynomial-time reductions in both directions.
  • The single-machine Windows Scheduling Problem with unit-length jobs does not admit a pseudo-polynomial time algorithm unless SAT can be solved in expected quasi-polynomial time by a randomized algorithm.
  • The multi-machine Windows Scheduling Problem with job migration is co-NP-hard, even for unit-length jobs, establishing a strong complexity barrier.
  • The problem is both NP-hard and co-NP-hard under this setting, implying it is not in NP or co-NP unless NP = co-NP.
  • A previously claimed hardness proof for the non-migratory multi-machine case is incorrect, and that variant reduces to the single-machine case.
  • The Partial Coding framework provides a foundation for future algorithmic development, including approximation algorithms and efficient solutions for instances with a constant number of distinct job types.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.