arXiv:2610.05530eess.SYOct 2026

Manuscript Offprint

arXiv:2610.05530

Optimal Dynamic Resource Allocation for Multicore Real-time Systems

Georgiy A. Bondar, Abigail Eisenklam, Ripon C. Sarker, Linh Thi Xuan Phan, Abhishek Halder

Georgiy A. Bondar, Abigail Eisenklam, Ripon C. Sarker, Linh Thi Xuan Phan, Abhishek Halder

Abstract—We formulate a novel optimal control problem for data-driven dynamic resource allocation in multicore real-time systems. The proposed formulation accounts for hard deadline constraints and resource bounds. Under mild assumptions, we prove several results on the feasibility and existence of optimal solution for the proposed formulation. Building on these analyses, we design an algorithm to solve the multicore dynamic resource allocation problem. We demonstrate the practical use of this new algorithm by experimentally evaluating it on a real multicore platform using four benchmarks from the literature.

I. INTRODUCTION

Motivation. Real-time systems, such as those in automotive, robotic, and avionic applications, require predictable timing to operate safely. To meet growing computational demands, these systems are increasingly deployed on multicore platforms, where cores share hardware resources such as the last-level cache (LLC) and memory bus. Resource contention arising from this sharing can cause interference among concurrently executing programs, increasing their execution times and, in the worst case, causing deadline misses.

A common remedy is to statically partition shared resources across cores [1], [2], typically by solving a mixed-integer linear program (MILP) or an approximation thereof [3], [4]. Because these allocations are static, they must be provisioned for the worst-case demand, even though a program's resource demand may vary over time. Dynamic allocation addresses this limitation by redistributing shared-resource partitions across cores at runtime in response to changing demand. Existing dynamic approaches [5], however, rely on greedy heuristics [6], [7]. While resource allocation for soft deadline constraints has been studied before [8], to the best of our knowledge, no prior work computes optimal dynamic allocations subject to hard deadlines.

In this work, we formulate dynamic multicore resource allocation as a continuous-time continuous-state optimal control problem (OCP) subject to hard deadline constraints. The objective of our OCP captures a system-level cost, such as energy consumption or provisioned resources, which is critical for embedded platforms with stringent size, weight, and power (SWaP) constraints. The continuous formulation pursued here is advantageous over discrete formulations in that it allows us to (i) circumvent computationally hard MILP formulations, and (ii) exploit vector field structures that discretize-then-optimize approaches cannot.

Related work. Optimal control—both deterministic [9], [10] and stochastic [11]—has been applied to general-purpose dynamic resource allocation. However, prior work does not address multicore real-time systems with hard deadlines. A separate line of work (see e.g., [12], [13]) considers resource allocation specifically for control tasks. Our focus, by contrast, is on general multicore tasks.

Contributions. This work makes the following specific contributions.

• A bespoke OCP formulation of the dynamic multicore resource allocation with resource bounds and hard deadline constraints (Sec. II).

• Analysis of the proposed OCP (Sec. III), specifically its feasibility (Theorem 1) and sufficient conditions for the existence of its solution (Theorem 2, Proposition 3).

• A proposed algorithm (Algorithm 1 in Sec. IV) that builds on the analysis in Sec. III, and its evaluation (Sec. V) using benchmarks (Table I) from the San Diego Vision Benchmark Suite [14] on a real multicore platform.