,
Carlos A. Montenegro G.
,
Xian Wang
,
Yifan Cai
,
Robert Gifford
,
Linh Thi Xuan Phan
,
Ricardo G. Sanfelice
Creative Commons Attribution 4.0 International license
Predictable timing on multicore systems requires careful management of shared resources such as the last-level cache and memory bandwidth. This paper presents MPORA, an uncertainty-aware dynamic resource allocation framework for multi-path, input-dependent real-time tasks on multicore platforms. MPORA models each job as a discrete-time dynamical system that captures execution dynamics and resource-dependent performance indicators. At runtime, MPORA monitors job execution states and predicts short-term instruction rates and remaining execution times under candidate allocations using predictive models trained offline. It then solves a receding-horizon optimization problem to compute resource allocations that maximize system-wide progress while meeting job deadlines. To address prediction uncertainty, MPORA integrates weighted conformal prediction into the optimization formulation, enabling uncertainty-aware deadline constraints. We implement MPORA as a Linux kernel module with microsecond-scale inference overhead. Experimental results on SPEC CPU benchmarks show that MPORA delivers accurate predictions under unseen inputs and distribution shifts with low overhead, while improving schedulability and response times over existing methods.
@InProceedings{eisenklam_et_al:LIPIcs.ECRTS.2026.17,
author = {Eisenklam, Abigail and Montenegro G., Carlos A. and Wang, Xian and Cai, Yifan and Gifford, Robert and Phan, Linh Thi Xuan and Sanfelice, Ricardo G.},
title = {{Uncertainty-Aware Resource Allocation for Multi-Path Programs with In-Kernel Predictions}},
booktitle = {38th European Conference on Real-Time Systems (ECRTS 2026)},
pages = {17:1--17:26},
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.17},
URN = {urn:nbn:de:0030-drops-266095},
doi = {10.4230/LIPIcs.ECRTS.2026.17},
annote = {Keywords: multicore, resource allocation, optimal control, learning, multi-path programs}
}
archived version
archived version