| Junjie Shi, Kuan-Hsun Chen, Shuai Zhao, Wen-Hung Huang, Jian-Jia Chen and Andy Wellings. Implementation and Evaluation of Multiprocessor Resource Synchronization Protocol (MrsP) on LITMUSRT. In 13th Workshop on Operating Systems Platforms for Embedded Real-Time Applications 2017 [BibTeX][PDF][Abstract]@inproceedings { OSPERT17,
author = {Shi, Junjie and Chen, Kuan-Hsun and Zhao, Shuai and Huang, Wen-Hung and Chen, Jian-Jia and Wellings, Andy},
title = {Implementation and Evaluation of Multiprocessor Resource Synchronization Protocol (MrsP) on LITMUSRT},
booktitle = {13th Workshop on Operating Systems Platforms for Embedded Real-Time Applications},
year = {2017},
keywords = {kuan, junjie},
file = {http://ls12-www.cs.tu-dortmund.de/daes/media/documents/publications/downloads/2017-junjie-ospert.pdf},
confidential = {n},
abstract = {Preventing race conditions or data corruptions for concurrent shared resource accesses of real-time tasks is a challenging problem. By adopting the resource synchronization protocols, such a problem has been studied in the literature, but there are not enough evaluations that consider the overhead from the implementations of different protocols. In this paper, we discuss our implementation of the Multiprocessor Resource Sharing Protocol (MrsP) and the Distributed Non-Preemptive Protocol (DNPP) on LITMUS RT . Both of them are released in open source under GNU General Public License (GPL2). To study the impact of the implementation overhead, we deploy different synchronization scenarios with generated task sets and measure the performance with respect to the worst-case response time. The results illustrate that generally the implementation overhead is acceptable, whereas some unexpected system overhead may happen under distributed synchronization protocols on LITMUSRT.},
} Preventing race conditions or data corruptions for concurrent shared resource accesses of real-time tasks is a challenging problem. By adopting the resource synchronization protocols, such a problem has been studied in the literature, but there are not enough evaluations that consider the overhead from the implementations of different protocols. In this paper, we discuss our implementation of the Multiprocessor Resource Sharing Protocol (MrsP) and the Distributed Non-Preemptive Protocol (DNPP) on LITMUS RT . Both of them are released in open source under GNU General Public License (GPL2). To study the impact of the implementation overhead, we deploy different synchronization scenarios with generated task sets and measure the performance with respect to the worst-case response time. The results illustrate that generally the implementation overhead is acceptable, whereas some unexpected system overhead may happen under distributed synchronization protocols on LITMUSRT.
|
| Jian-Jia Chen, Georg von der Brüggen, Wen-Hung Huang and Robert I. Davis. On the Pitfalls of Resource Augmentation Factors and Utilization Bounds in Real-Time Scheduling. In 29th Euromicro Conference on Real-Time Systems, ECRTS, pages 9:1--9:25 Dubrovnik, Croatia, June 27-30 2017 [BibTeX][PDF][Link][Abstract]@inproceedings { DBLP:conf/ecrts/ChenBHD17,
author = {Chen, Jian-Jia and Br\"uggen, Georg von der and Huang, Wen-Hung and Davis, Robert I.},
title = {On the Pitfalls of Resource Augmentation Factors and Utilization Bounds in Real-Time Scheduling},
booktitle = {29th Euromicro Conference on Real-Time Systems, ECRTS},
year = {2017},
pages = {9:1--9:25},
address = {Dubrovnik, Croatia},
month = {June 27-30},
url = {https://doi.org/10.4230/LIPIcs.ECRTS.2017.9},
keywords = {Georg},
file = {http://drops.dagstuhl.de/opus/volltexte/2017/7161/pdf/LIPIcs-ECRTS-2017-9.pdf},
confidential = {n},
abstract = {In this paper, we take a careful look at speedup factors, utilization bounds, and capacity augmentation bounds. These three metrics have been widely adopted in real-time scheduling research as the de facto standard theoretical tools for assessing scheduling algorithms and schedulability tests. Despite that, it is not always clear how researchers and designers should interpret or use these metrics. In studying this area, we found a number of surprising results, and related to them, ways in which the metrics may be misinterpreted or misunderstood. In this paper, we provide a perspective on the use of these metrics, guiding researchers on their meaning and interpretation, and helping to avoid pitfalls in their use. Finally, we propose and demonstrate the use of parametric augmentation functions as a means of providing nuanced information that may be more relevant in practical settings.},
} In this paper, we take a careful look at speedup factors, utilization bounds, and capacity augmentation bounds. These three metrics have been widely adopted in real-time scheduling research as the de facto standard theoretical tools for assessing scheduling algorithms and schedulability tests. Despite that, it is not always clear how researchers and designers should interpret or use these metrics. In studying this area, we found a number of surprising results, and related to them, ways in which the metrics may be misinterpreted or misunderstood. In this paper, we provide a perspective on the use of these metrics, guiding researchers on their meaning and interpretation, and helping to avoid pitfalls in their use. Finally, we propose and demonstrate the use of parametric augmentation functions as a means of providing nuanced information that may be more relevant in practical settings.
|
| Jian-Jia Chen, Georg von der Brüggen, Wen-Hung Huang and Cong Liu. State of the art for scheduling and analyzing self-suspending sporadic real-time tasks. In 23rd IEEE International Conference on Embedded and Real-Time Computing Systems and Applications RTCSA, pages 1--10 Hsinchu, Taiwan, August 16-18 2017, Invited paper [BibTeX][PDF][Link][Abstract]@inproceedings { DBLP:conf/rtcsa/ChenBH017,
author = {Chen, Jian-Jia and Br\"uggen, Georg von der and Huang, Wen-Hung and Liu, Cong},
title = {State of the art for scheduling and analyzing self-suspending sporadic real-time tasks},
booktitle = {23rd IEEE International Conference on Embedded and Real-Time Computing Systems and Applications RTCSA},
year = {2017},
pages = {1--10},
address = {Hsinchu, Taiwan},
month = {August 16-18},
note = {Invited paper},
url = {http://doi.ieeecomputersociety.org/10.1109/RTCSA.2017.8046321},
keywords = {Georg},
file = {media/documents/publications/downloads/2017-chen-rtcsa.suspension-review.pdf},
confidential = {n},
abstract = {In computing systems, a job/process/task/thread may suspend itself when it has to wait for some other internal or external activities, such as computation offloading or memory accesses, to finish before it can continue its execution. In the literature, there are two commonly adopted self-suspending sporadic task models in real-time systems: 1) the dynamic self-suspension model and 2) the segmented self-suspension sporadic task model. A dynamic self-suspending sporadic task is specified with an upper bound on the maximum suspension time for a job (task instance), which allows a job to dynamically suspend itself arbitrary often as long as the suspension time upper bound is not violated. By contrast, a segmented self-suspending sporadic task has a predefined execution and suspension pattern in an interleaving manner. The dynamic self-suspension model is very flexible but inaccurate, whilst the segmented self-suspension model is very restrictive but very accurate. The gap between these two widely-adopted self-suspension task models can be potentially filled by the hybrid self-suspension task model.
The investigation of the impact of self-suspension on timing predictability has been started in 1988. This survey paper
provides a short summary of the state of the art in the design and analysis of scheduling algorithms and schedulability tests for self-suspending tasks in real-time systems.},
} In computing systems, a job/process/task/thread may suspend itself when it has to wait for some other internal or external activities, such as computation offloading or memory accesses, to finish before it can continue its execution. In the literature, there are two commonly adopted self-suspending sporadic task models in real-time systems: 1) the dynamic self-suspension model and 2) the segmented self-suspension sporadic task model. A dynamic self-suspending sporadic task is specified with an upper bound on the maximum suspension time for a job (task instance), which allows a job to dynamically suspend itself arbitrary often as long as the suspension time upper bound is not violated. By contrast, a segmented self-suspending sporadic task has a predefined execution and suspension pattern in an interleaving manner. The dynamic self-suspension model is very flexible but inaccurate, whilst the segmented self-suspension model is very restrictive but very accurate. The gap between these two widely-adopted self-suspension task models can be potentially filled by the hybrid self-suspension task model.
The investigation of the impact of self-suspension on timing predictability has been started in 1988. This survey paper
provides a short summary of the state of the art in the design and analysis of scheduling algorithms and schedulability tests for self-suspending tasks in real-time systems.
|
| Jian-Jia Chen, Wen-Hung Huang, Zheng Dong and Cong Liu. Fixed-priority scheduling of mixed soft and hare real-time tasks on multiprocessors. In 23rd {IEEE} International Conference on Embedded and Real-Time Computing Systems and Applications, {RTCSA} , pages 1--10 Hsinchu, Taiwan, August 16-18 2017 [BibTeX][PDF][Link]@inproceedings { DBLP:conf/rtcsa/ChenHD017,
author = {Chen, Jian-Jia and Huang, Wen-Hung and Dong, Zheng and Liu, Cong},
title = {Fixed-priority scheduling of mixed soft and hare real-time tasks on multiprocessors},
booktitle = {23rd {IEEE} International Conference on Embedded and Real-Time Computing Systems and Applications, {RTCSA} },
year = {2017},
pages = {1--10},
address = {Hsinchu, Taiwan},
month = {August 16-18},
url = {http://doi.ieeecomputersociety.org/10.1109/RTCSA.2017.8046312},
file = {media/documents/publications/downloads/2017-chen-RTCSA-SRT.pdf},
confidential = {n},
} |
| Georg von der Brüggen, Wen-Hung Huang and Jian-Jia Chen. Hybrid self-suspension models in real-time embedded systems. In 23rd IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA, pages 1--9 Hsinchu, Taiwan, August 16-18 2017 [BibTeX][PDF][Link][Abstract]@inproceedings { DBLP:conf/rtcsa/BruggenHC17,
author = {Br\"uggen, Georg von der and Huang, Wen-Hung and Chen, Jian-Jia},
title = {Hybrid self-suspension models in real-time embedded systems},
booktitle = {23rd IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA},
year = {2017},
pages = {1--9},
address = {Hsinchu, Taiwan},
month = {August 16-18},
url = {http://doi.ieeecomputersociety.org/10.1109/RTCSA.2017.8046328},
keywords = {Georg, kevin},
file = {http://ls12-www.cs.tu-dortmund.de/daes/media/documents/publications/downloads/2017-rtcsa-georg.pdf},
confidential = {n},
abstract = {To tackle the unavoidable self-suspension behavior due to I/O-intensive interactions, multi-core processors, computation offloading systems with coprocessors, etc., the dynamic and the segmented self-suspension sporadic task models have been widely used in the literature. We propose new self-suspension models that are hybrids of the dynamic and the segmented models. Those hybrid models are capable of exploiting knowledge about execution paths, potentially reducing modelling pessimism. In addition, we provide the corresponding schedulability analysis under fixed-relative-deadline (FRD) scheduling and explain how the state-of-the-art FRD scheduling strategy can be applied. Empirically, these hybrid approaches are shown to be effective with regards to the number of schedulable task sets.},
} To tackle the unavoidable self-suspension behavior due to I/O-intensive interactions, multi-core processors, computation offloading systems with coprocessors, etc., the dynamic and the segmented self-suspension sporadic task models have been widely used in the literature. We propose new self-suspension models that are hybrids of the dynamic and the segmented models. Those hybrid models are capable of exploiting knowledge about execution paths, potentially reducing modelling pessimism. In addition, we provide the corresponding schedulability analysis under fixed-relative-deadline (FRD) scheduling and explain how the state-of-the-art FRD scheduling strategy can be applied. Empirically, these hybrid approaches are shown to be effective with regards to the number of schedulable task sets.
|
| Georg von der Brüggen, Jian-Jia Chen, Wen-Hung Huang and Maolin Yang. Release Enforcement in Resource-Oriented Partitioned Scheduling for Multiprocessor Systems. In 25th International Conference on Real-Time Networks and Systems (RTNS) Grenoble, France, October 04 - 06 2017 [BibTeX][PDF][Link][Abstract]@inproceedings { DBLP:conf/rtns/Bruggen17rop,
author = {Br\"uggen, Georg von der and Chen, Jian-Jia and Huang, Wen-Hung and Yang, Maolin},
title = {Release Enforcement in Resource-Oriented Partitioned Scheduling for Multiprocessor Systems},
booktitle = {25th International Conference on Real-Time Networks and Systems (RTNS)},
year = {2017},
address = {Grenoble, France},
month = {October 04 - 06},
url = {https://dl.acm.org/citation.cfm?id=3139287},
keywords = {Georg, kevin},
file = {http://ls12-www.cs.tu-dortmund.de/daes/media/documents/publications/downloads/2017_rtns_brueggen_rop.pdf},
confidential = {n},
abstract = {When partitioned scheduling is used in real-time multiprocessor systems, access to shared resources can jeopardize the
schedulability if the task partition is not done carefully. To tackle this problem we change our view angle from focusing
on the computing tasks to focusing on the shared resources by applying resource-oriented partitioned scheduling. We use a release enforcement technique to shape the interference from the higher-priority jobs to be sporadic, analyze the
schedulability, and provide strategies for partitioning both the critical and the non-critical sections of tasks onto processors individually. Our approaches are shown to be effective, both in the evaluations and from a theoretical point of view by providing a speedup factor of 6, improving previously known results. },
} When partitioned scheduling is used in real-time multiprocessor systems, access to shared resources can jeopardize the
schedulability if the task partition is not done carefully. To tackle this problem we change our view angle from focusing
on the computing tasks to focusing on the shared resources by applying resource-oriented partitioned scheduling. We use a release enforcement technique to shape the interference from the higher-priority jobs to be sporadic, analyze the
schedulability, and provide strategies for partitioning both the critical and the non-critical sections of tasks onto processors individually. Our approaches are shown to be effective, both in the evaluations and from a theoretical point of view by providing a speedup factor of 6, improving previously known results.
|
| Georg von der Brüggen, Niklas Ueter, Jian-Jia Chen and Matthias Freier. Parametric Utilization Bounds for Implicit-Deadline Periodic Tasks in Automotive Systems. In 25th International Conference on Real-Time Networks and Systems (RTNS) Grenoble, France, 2017 [BibTeX][PDF][Link][Abstract]@inproceedings { DBLP:conf/rtns/Bruggen17automotive,
author = {Br\"uggen, Georg von der and Ueter, Niklas and Chen, Jian-Jia and Freier, Matthias},
title = {Parametric Utilization Bounds for Implicit-Deadline Periodic Tasks in Automotive Systems},
booktitle = {25th International Conference on Real-Time Networks and Systems (RTNS)},
year = {2017},
address = {Grenoble, France},
url = {https://dl.acm.org/citation.cfm?id=3139273},
keywords = {georg},
file = {http://ls12-www.cs.tu-dortmund.de/daes/media/documents/publications/downloads/2017_brueggen_rtns_automotive.pdf},
confidential = {n},
abstract = {Fixed-priority scheduling has been widely used in safety-critical applications. This paper explores the parametric utilization bounds for implicit-deadline periodic tasks in automotive uniprocessor systems, where the period of a task is either 1, 2, 5, 10, 20, 50, 100, 200, or 1000 milliseconds. We prove a parametric utilization bound of 90%+z for such automotive task systems under rate-monotonic preemptive scheduling (RM-P), where z is a parameter defined by the input task set with 0 ≤ z ≤ 10%. Moreover, we explain how to perform an exact schedulability test for an automotive task set under RM-P by validating only three conditions. Furthermore, we extend our analyses to rate-monotonic non-preemptive scheduling (RM-NP). We show that very reasonable utilization values can still be achieved under RM-NP if the execution time of all tasks is below 1 millisecond. The analyses presented here are compatible with angle- synchronous tasks by applying the related arrival curves. It is shown in the evaluations that scheduling those angle-synchronous tasks according to their minimum inter-arrival time instead of assigning them to the highest priority can drastically increase the acceptance ratio in some settings.},
} Fixed-priority scheduling has been widely used in safety-critical applications. This paper explores the parametric utilization bounds for implicit-deadline periodic tasks in automotive uniprocessor systems, where the period of a task is either 1, 2, 5, 10, 20, 50, 100, 200, or 1000 milliseconds. We prove a parametric utilization bound of 90%+z for such automotive task systems under rate-monotonic preemptive scheduling (RM-P), where z is a parameter defined by the input task set with 0 ≤ z ≤ 10%. Moreover, we explain how to perform an exact schedulability test for an automotive task set under RM-P by validating only three conditions. Furthermore, we extend our analyses to rate-monotonic non-preemptive scheduling (RM-NP). We show that very reasonable utilization values can still be achieved under RM-NP if the execution time of all tasks is below 1 millisecond. The analyses presented here are compatible with angle- synchronous tasks by applying the related arrival curves. It is shown in the evaluations that scheduling those angle-synchronous tasks according to their minimum inter-arrival time instead of assigning them to the highest priority can drastically increase the acceptance ratio in some settings.
|
| Kuan-Hsun Chen and Jian-Jia Chen. Probabilistic Schedulability Tests for Uniprocessor Fixed-Priority Scheduling under Soft Errors. In IEEE International Symposium on Industrial Embedded Systems (SIES), pages 1--8 2017 [BibTeX][PDF][Abstract]@inproceedings { SIES2017,
author = {Chen, Kuan-Hsun and Chen, Jian-Jia},
title = {Probabilistic Schedulability Tests for Uniprocessor Fixed-Priority Scheduling under Soft Errors},
booktitle = {IEEE International Symposium on Industrial Embedded Systems (SIES)},
year = {2017},
pages = {1--8},
keywords = {kuan},
file = {http://ls12-www.cs.tu-dortmund.de/daes/media/documents/publications/downloads/2017-kuan-epst.pdf},
confidential = {n},
abstract = {Due to rising integrations, low voltage operations, and environmental influences such as electromagnetic interference and radiation, transient faults may cause soft errors and corrupt the execution state. Such soft errors can be recovered by applying fault-tolerant techniques. Therefore, the execution time of a job of a sporadic/periodic task may differ, depending upon the occurrence of soft errors and the applied error detection and recovery mechanisms. We model a periodic/sporadic real-time task under such a scenario by using two different worst-case execution times (WCETs), in which one is with the occurrence of soft errors and another is not. Based on a probabilistic soft-error model, the WCETs are hence with different probabilities. In this paper, we present efficient probabilistic schedulability tests that can be applied to verify the schedulability based on probabilistic arguments under fixed-priority scheduling on a uniprocessor
system. We demonstrate how the Chernoff bounds can be used to calculate the task workloads based on their probabilistic WCETs. In addition, we further consider how to calculate the probability of -consecutive deadline misses of a task. The pessimism and the efficiency of our approaches are evaluated against the tighter and approximated convolution-based approaches, by running extensive evaluations under different soft-error rates. The evaluation results show that our approaches are effective to derive the probability of deadline misses and efficient with respect to the needed calculation time.},
} Due to rising integrations, low voltage operations, and environmental influences such as electromagnetic interference and radiation, transient faults may cause soft errors and corrupt the execution state. Such soft errors can be recovered by applying fault-tolerant techniques. Therefore, the execution time of a job of a sporadic/periodic task may differ, depending upon the occurrence of soft errors and the applied error detection and recovery mechanisms. We model a periodic/sporadic real-time task under such a scenario by using two different worst-case execution times (WCETs), in which one is with the occurrence of soft errors and another is not. Based on a probabilistic soft-error model, the WCETs are hence with different probabilities. In this paper, we present efficient probabilistic schedulability tests that can be applied to verify the schedulability based on probabilistic arguments under fixed-priority scheduling on a uniprocessor
system. We demonstrate how the Chernoff bounds can be used to calculate the task workloads based on their probabilistic WCETs. In addition, we further consider how to calculate the probability of -consecutive deadline misses of a task. The pessimism and the efficiency of our approaches are evaluated against the tighter and approximated convolution-based approaches, by running extensive evaluations under different soft-error rates. The evaluation results show that our approaches are effective to derive the probability of deadline misses and efficient with respect to the needed calculation time.
|