,
Tanya Amert
,
Jonad Pulaj
Creative Commons Attribution 4.0 International license
Typical models of resource-sharing real-time tasks provide the worst-case task execution time and the duration of each critical section during which a resource is accessed. Such models abstract away the detailed behavior of a task, which may make several individual accesses within a single critical section, incurring access overhead once for the entire critical section. Considering a more fine-grained model with individual access and non-access segments at the forefront gives more control in the system design process; choosing how accesses are grouped into critical sections enables balancing trade-offs between overhead and blocking based on other system parameters, including task deadlines. This paper presents an optimal approach for multi-resource systems that allow any given task to use up to two resources, including support for nested critical sections. This is achieved by extending analysis to multiple resources and constructing a Quadratically-Constrained Integer Program to determine critical sections. This approach is compared to heuristics on the basis of schedulability and its runtime is explored. Further extension to support more resources per task is discussed.
@InProceedings{nemitz_et_al:LIPIcs.ECRTS.2026.1,
author = {Nemitz, Catherine E. and Amert, Tanya and Pulaj, Jonad},
title = {{Critical-Section Granularity for Multi-Resource Systems with Nested Critical Sections}},
booktitle = {38th European Conference on Real-Time Systems (ECRTS 2026)},
pages = {1:1--1:24},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-429-1},
ISSN = {1868-8969},
year = {2026},
volume = {375},
editor = {Kritikakou, Angeliki},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECRTS.2026.1},
URN = {urn:nbn:de:0030-drops-265859},
doi = {10.4230/LIPIcs.ECRTS.2026.1},
annote = {Keywords: Real-time systems, shared resources, fixed-priority scheduling, schedulability}
}