Optimal Scheduling of Urgent Preemptive Tasks
Tasks' scheduling has always been a central problem in the embedded real-time systems community. As in general the scheduling problem is NP-hard, researchers have been looking for efficient heuristics to solve the scheduling problem in polynomial time. One of the most important scheduling strat...
Main Authors: | , , |
---|---|
Other Authors: | |
Format: | Article |
Language: | en_US |
Published: |
Institute of Electrical and Electronics Engineers
2011
|
Online Access: | http://hdl.handle.net/1721.1/62857 https://orcid.org/0000-0001-8095-8523 |
_version_ | 1826188753630134272 |
---|---|
author | Andrei, Stefan Cheng, Albert Rinard, Martin C. |
author2 | Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science |
author_facet | Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science Andrei, Stefan Cheng, Albert Rinard, Martin C. |
author_sort | Andrei, Stefan |
collection | MIT |
description | Tasks' scheduling has always been a central problem in the embedded real-time systems community. As in general the scheduling problem is NP-hard, researchers have been looking for efficient heuristics to solve the scheduling problem in polynomial time. One of the most important scheduling strategies is the Earliest Deadline First (EDF). It is known that EDF is optimal for uniprocessor platforms for many cases, such as: non-preemptive synchronous tasks(i.e., all tasks have the same starting time and cannot be interrupted), and preemptive asynchronous tasks (i.e., the tasks may be interrupted and may have arbitrary starting time). However, Mok showed that EDF is not optimal in multiprocessor platforms. In fact, for the multiprocessor platforms, the scheduling problem is NP-complete in most of the cases where the corresponding scheduling problem can be solved by a polynomial-time algorithm for uniprocessor platforms. Coffman and Graham identified a class of tasks for which the scheduling problem can be solved by a polynomial time algorithm, that is, two-processor platform, no resources, arbitrary partial order relations, and every task is nonpreemptive and has a unit computation time. Our paper introduces a new non-trivial and practical subclass of tasks, called urgent tasks. Briefly, a task is urgent if it is executed right after it is ready or it can only wait one unit time after it is ready. Practical examples of embedded real time systems dealing with urgent tasks are all modern building alarm systems, as these include urgent tasks such as `checking for intruders', `sending a warning signal to the security office',`informing the building's owner about a potential intrusion', and so on. By using propositional logic, we prove a new result in schedulability theory, namely that the scheduling problem for asynchronous and preemptive urgent tasks can be solved in polynomial time. |
first_indexed | 2024-09-23T08:04:30Z |
format | Article |
id | mit-1721.1/62857 |
institution | Massachusetts Institute of Technology |
language | en_US |
last_indexed | 2024-09-23T08:04:30Z |
publishDate | 2011 |
publisher | Institute of Electrical and Electronics Engineers |
record_format | dspace |
spelling | mit-1721.1/628572022-09-30T07:16:40Z Optimal Scheduling of Urgent Preemptive Tasks Andrei, Stefan Cheng, Albert Rinard, Martin C. Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science Rinard, Martin C. Rinard, Martin C. Tasks' scheduling has always been a central problem in the embedded real-time systems community. As in general the scheduling problem is NP-hard, researchers have been looking for efficient heuristics to solve the scheduling problem in polynomial time. One of the most important scheduling strategies is the Earliest Deadline First (EDF). It is known that EDF is optimal for uniprocessor platforms for many cases, such as: non-preemptive synchronous tasks(i.e., all tasks have the same starting time and cannot be interrupted), and preemptive asynchronous tasks (i.e., the tasks may be interrupted and may have arbitrary starting time). However, Mok showed that EDF is not optimal in multiprocessor platforms. In fact, for the multiprocessor platforms, the scheduling problem is NP-complete in most of the cases where the corresponding scheduling problem can be solved by a polynomial-time algorithm for uniprocessor platforms. Coffman and Graham identified a class of tasks for which the scheduling problem can be solved by a polynomial time algorithm, that is, two-processor platform, no resources, arbitrary partial order relations, and every task is nonpreemptive and has a unit computation time. Our paper introduces a new non-trivial and practical subclass of tasks, called urgent tasks. Briefly, a task is urgent if it is executed right after it is ready or it can only wait one unit time after it is ready. Practical examples of embedded real time systems dealing with urgent tasks are all modern building alarm systems, as these include urgent tasks such as `checking for intruders', `sending a warning signal to the security office',`informing the building's owner about a potential intrusion', and so on. By using propositional logic, we prove a new result in schedulability theory, namely that the scheduling problem for asynchronous and preemptive urgent tasks can be solved in polynomial time. National Science Foundation (U.S.) (Grant No. 0720856) 2011-05-20T14:55:11Z 2011-05-20T14:55:11Z 2010-09 2010-08 Article http://purl.org/eprint/type/ConferencePaper 978-1-4244-8480-5 1533-2306 http://hdl.handle.net/1721.1/62857 Andrei, S. et al. “Optimal Scheduling of Urgent Preemptive Tasks.” Embedded and Real-Time Computing Systems and Applications (RTCSA), 2010 IEEE 16th International Conference On. 2010. 377-386. © Copyright 2010 IEEE https://orcid.org/0000-0001-8095-8523 en_US http://dx.doi.org/10.1109/RTCSA.2010.20 Proceedings of the IEEE 16th International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA 2010) Article is made available in accordance with the publisher's policy and may be subject to US copyright law. Please refer to the publisher's site for terms of use. application/pdf Institute of Electrical and Electronics Engineers IEEE |
spellingShingle | Andrei, Stefan Cheng, Albert Rinard, Martin C. Optimal Scheduling of Urgent Preemptive Tasks |
title | Optimal Scheduling of Urgent Preemptive Tasks |
title_full | Optimal Scheduling of Urgent Preemptive Tasks |
title_fullStr | Optimal Scheduling of Urgent Preemptive Tasks |
title_full_unstemmed | Optimal Scheduling of Urgent Preemptive Tasks |
title_short | Optimal Scheduling of Urgent Preemptive Tasks |
title_sort | optimal scheduling of urgent preemptive tasks |
url | http://hdl.handle.net/1721.1/62857 https://orcid.org/0000-0001-8095-8523 |
work_keys_str_mv | AT andreistefan optimalschedulingofurgentpreemptivetasks AT chengalbert optimalschedulingofurgentpreemptivetasks AT rinardmartinc optimalschedulingofurgentpreemptivetasks |