ArticleslgStudy

science

Parallel task scheduling

Parallel task scheduling is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Parallel task scheduling rather than just read about it. In short: Parallel task scheduling (also called parallel job scheduling or parallel processing scheduling) is an optimization problem in computer science and operations research. It is a variant of optimal job scheduling.

Key takeaways

  • Parallel task scheduling belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Parallel task scheduling to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Parallel task scheduling from memory before moving on to harder problems.

Reference excerpt

Parallel task scheduling (also called parallel job scheduling or parallel processing scheduling) is an optimization problem in computer science and operations research. It is a variant of optimal job scheduling. In a general job scheduling problem, we are given n jobs J1, J2, ..., Jn of varying processing times, which need to be scheduled on m machines while trying to minimize the makespan - the total length of the schedule (that is, when all the jobs have finished processing). In the specific variant known as parallel-task scheduling, all machines are identical. Each job j has a length parameter pj and a size parameter qj, and it must run for exactly pj time-steps on exactly qj machines in parallel. Veltman et al. and Drozdowski denote this problem by P|sizej|Cmax in the three-field notation introduced by Graham et al. P means that there are several identical machines running in parallel; sizej means that each job has a size parameter; Cmax means that the goal is to minimize the maximum completion time. Some authors use P|mj|Cmax instead. Note that the problem of parallel-machines scheduling is a special case of parallel-task scheduling where sizej=1 for all j, that is, each job should run on a single machine. The origins of this problem formulation can be traced back to 1960. For this problem, there exists no polynomial time approximation algorithm with a ratio smaller than 3/2 unless P=NP.

Definition There is a set 𝒥 of n jobs, and m identical machines. Each job j∈𝒥 has a processing time pj∈ℕ (also called the length of j), and requires the simultaneous use of qj∈ℕ machines during its execution (also called the size or the width of j). A schedule assigns each job j∈𝒥 to a starting time sj∈ℕ0 and a set mj⊆{1,…,m} of |mj|=qj machines to be processed on. A schedule is feasible if each processor executes at most one job at any given time. The objective of the problem denoted by P|sizej|Cmax is to find a schedule with minimum length Cmax=maxj∈𝒥(sj+pj), also called the makespan of the schedule. A sufficient condition for the feasibility of a schedule is the following ∑j∈𝒥,sj≤t<sj+pjqj≤m∀t∈{s1,…,sn}. If this property is satisfied for all starting times, a feasible schedule can be generated by assigning free machines to the jobs at each time starting with time t=0. Furthermore, the number of machine intervals used by jobs and idle intervals at each time step can be bounded by |𝒥|+1. Here a machine interval is a set of consecutive machines of maximal cardinality such that all machines in this set are processing the same job. A machine interval is completely specified by the index of its first and last machine. Therefore, it is possible to obtain a compact way of encoding the output with polynomial size.

Computational hardness This problem is NP-hard even when there are only two machines and the sizes of all jobs are qj=1 (i.e., each job needs to run only on a single machine). This special case, denoted by P2||Cmax, is a variant of the partition problem, which is known to be NP-hard. When the number of machines m is at most 3, that is: for the variants P2|sizej|Cmax and P3|sizej|Cmax, there exists a pseudo-polynomial time algorithm, which solves the problem exactly. In contrast, when the number of machines is at least 4, that is: for the variants Pm|sizej|Cmax for any m≥4, the problem is also strongly NP-hard (this result improved a previous result showing strong NP-hardness for m≥5). If the number of machines is not bounded by a constant, then there can be no approximation algorithm with an approximation ratio smaller than 3/2 unless P=NP. This holds even for the special case in which the processing time of all jobs is pj=1, since this special case is equivalent to the bin packing problem: each time-step corresponds to a bin, m is the bin size, each job corresponds to an item of size qj, and minimizing the makespan corresponds to minimizing the number of bins.

Variants Several variants of this problem have been studied. The following variants also have been considered in combination with each other. Precedence constraints: In this variant, there exists precedence relations between the jobs, for e.g., if two jobs i and j have a precedence relation that i must precede j, i.e., i≺j, then i must precede j in any feasible schedule. For variable number of machines, this problem is NP-hard (reduction by clique) even if all the processing times pj are equal for m machines. However, one could solve the 2 machine variant in polynomial time as the problem effectively becomes to finding a perfect matching of some length. In case, a perfect matching for two jobs does not exist at some instant of time (which may be due to no job being available at that instant), we may add a dummy job for correctness. On the other hand, the three machine variant, P3|prec,pj=1|Cmax had been the last open problem from Garey & Johnson's book for the last few years. On September 24, 2026, OpenAI claimed that this problem is also in P. However, this claim is yet to be verified. Contiguous jobs: In this variant, the machines have a fixed order (M1,…,Mm). Instead of assigning the jobs to any subset mj⊆{M1,…,Mm}, the jobs have to be assigned to a contiguous interval of machines. This problem corresponds to the problem formulation of the strip packing problem. Multiple platforms: In this variant, the set of machines is partitioned into independent platforms. A scheduled job can only use the machines of one platform and is not allowed to span over multiple platforms when processed. Moldable jobs: In this variant each job j∈𝒥 has a set of feasible machine-counts Dj⊆{1,…m}. For each count d∈Dj, the job can be processed on d machines in parallel, and in this case, its processing time will be pj,d. To schedule a job j∈𝒥, an algorithm has to choose a machine count d∈Dj and assign j to a starting time sj and to d machines during the time interval [sj,sj+pj,d). A usual assumption for this kind of problem is that the total workload of a job, which is defined as d⋅pj,d, is non-increasing for an increasing number of machines. Release dates: In this variant, denoted by P|sizej,rj|Cmax, not all jobs are available at time 0; each job j becomes available at a fixed and known time rj. It must be scheduled after that time. Preemption: In this variant, denoted by P|sizej,rj,pmtn|Cmax, it is possible to interrupt jobs that are already running, and schedule other jobs that become available at that time.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Parallel task scheduling

Start with the simplest possible case. Write down what Parallel task scheduling claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Parallel task scheduling before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Parallel task scheduling ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Parallel task scheduling

In research
Parallel task scheduling appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Parallel task scheduling in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Parallel task scheduling is common in secondary-school and first-year university syllabi. It links to neighbouring topics Optimal scheduling, Packing problems, so understanding it makes those chapters shorter.
In everyday life
Look for Parallel task scheduling outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Parallel task scheduling” →

How to study Parallel task scheduling in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Parallel task scheduling means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Parallel task scheduling out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Parallel task scheduling in simple terms?

Parallel task scheduling (also called parallel job scheduling or parallel processing scheduling) is an optimization problem in computer science and operations research. It is a variant of optimal job scheduling.

Why does Parallel task scheduling matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Parallel task scheduling?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Parallel task scheduling.

Tags

  • Optimal scheduling
  • Packing problems

Keep exploring