Jump to content

Parallel task scheduling

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Malin Rau (talk | contribs) at 13:16, 25 January 2020 (Created page with '{{User sandbox}} <!-- EDIT BELOW THIS LINE --> = Parallel task scheduling problem = The '''parallel task scheduling problem''' is an NP-hard op...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This sandbox is in the article namespace. Either move this page into your userspace, or remove the {{User sandbox}} template.

Parallel task scheduling problem

The parallel task scheduling problem is an NP-hard optimization problem. A given set of parallel tasks, also called jobs, need to be scheduled on identical machines minimizing the latest completion time. In Veltman et al.[1] and Drozdowski[2], this problem is denoted by in the tree field notation introduced by Graham et al [3]. The origins of this problem formulation can be traced back to 1960[4]. There exists no polynomial time approximation algorithm with a ratio smaller than unless .

Definition

In this problem, we are given a set of jobs as well as identical machines. Each job has a processing time and requires the simultaneous use of machines durng its execution. A schedule assigns each job to a starting time and a set of 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 is to find a schedule with minimum length , also called the makespan of the schedule. A sufficient condition for the feasibility of a schedule is the following

.

If this property is satisfied for all starting times, a feasible schedule can be generated by assigning free machines to the jobs at each string time starting with time [5][6]. Furthermore, the number of machine intervals used by jobs and idle intervals at each time step can be bounded by [5]. 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, we can obtain a compact way of encoding the output with polynomial size.


Hardness

This problem is NP-hard even for a constant number of machines due to the fact that it contains the classic problem . Furthermore, Du and Leung[7] showed that this problem is strongly NP-hard when the number of machines is at least and that there exists a pseudo-polynomial time algorithm, which solves the problem exactly if the number of machines is at most . Later Jansen and Rau[8] showed that the problem is also strongly NP-hard when the number of machines is . If the number of machines is not bounded by a constant, there can be no approximation algorithm with an approximation ratio smaller than unless because this problem contains the bin packing problem as a subcase.

Variants

Algorithms

Differences between contiguous and non-contiguos jobs

Given an instance of the parallel task scheduling problem, the optimal makespan can differ depending on the constraint to the contiguity of the machines. If the jobs can be scheduled on non-contiguous machines, the optimal makespan can be smaller than in the case that they have to be scheduled on contiguous ones. The difference between contiguous and non-contiguous schedules has been first demonstrated in 1992[9] on an instance with tasks, processors, , and . Błądek et al. [10] studied this so called c/nc-differences and proved the following points:

  • For a c/nc-difference to arrize, there must be at least three tasks with .
  • For a c/nc-difference to arise, there must be at least three tasks with .
  • For a c/nc-difference to arise, the non-contiguous schedule length must be at least
  • For a c/nc-difference to arise, at least processors are required (and there exsits an instance with a c/nc-difference with ).
  • To decide whether there is an c/nc-difference in a given instance is NP-complete.
  • The maximal c/nc-difference is at least and at most .

Furthermore, they proposed the following two conjectures, which remain unproven:

  • For a c/nc-difference to arise, at least tasks are required.
  1. ^ Veltman, B; Lageweg, B. J; Lenstra, J. K (1990-12-01). "Multiprocessor scheduling with communication delays". Parallel Computing. 16 (2): 173–182. doi:10.1016/0167-8191(90)90056-F. ISSN 0167-8191.
  2. ^ Drozdowski, Maciej (2009). "Scheduling for Parallel Processing". Computer Communications and Networks. doi:10.1007/978-1-84882-310-5. ISSN 1617-7975.
  3. ^ Graham, R. L.; Lawler, E. L.; Lenstra, J.K.; Rinnooy Kan, A.H.G. (1979). "Optimization and Approximation in Deterministic Sequencing and Scheduling: a Survey" (PDF). Proceedings of the Advanced Research Institute on Discrete Optimization and Systems Applications of the Systems Science Panel of NATO and of the Discrete Optimization Symposium. Elsevier. pp. (5) 287–326. {{cite conference}}: Unknown parameter |booktitle= ignored (|book-title= suggested) (help)
  4. ^ F, CoddE (1960-06-01). "Multiprogram scheduling". Communications of the ACM. doi:10.1145/367297.367317.
  5. ^ a b Johannes, Berit (2006-10-01). "Scheduling parallel jobs to minimize the makespan". Journal of Scheduling. 9 (5): 433–452. doi:10.1007/s10951-006-8497-6. ISSN 1099-1425.
  6. ^ Jansen, Klaus.; Thöle, Ralf. (2010-01-01). "Approximation Algorithms for Scheduling Parallel Jobs". SIAM Journal on Computing. 39 (8): 3571–3615. doi:10.1137/080736491. ISSN 0097-5397.
  7. ^ Du, Jianzhong.; Leung, Joseph Y.-T. (1 November 1989). "Complexity of Scheduling Parallel Task Systems". SIAM Journal on Discrete Mathematics. 2 (4): 473–487. doi:10.1137/0402042. ISSN 0895-4801.
  8. ^ Henning, Sören; Jansen, Klaus; Rau, Malin; Schmarje, Lars (1 January 2020). "Complexity and Inapproximability Results for Parallel Task Scheduling and Strip Packing". Theory of Computing Systems. 64 (1): 120–140. doi:10.1007/s00224-019-09910-6. ISSN 1433-0490.
  9. ^ "Approximate algorithms scheduling parallelizable tasks | Proceedings of the fourth annual ACM symposium on Parallel algorithms and architectures". dl.acm.org. doi:10.1145/140901.141909. Retrieved 2020-01-25.
  10. ^ Błądek, Iwo; Drozdowski, Maciej; Guinand, Frédéric; Schepler, Xavier (1 October 2015). "On contiguous and non-contiguous parallel task scheduling". Journal of Scheduling. 18 (5): 487–495. doi:10.1007/s10951-015-0427-z. ISSN 1099-1425.