Research on Delay-Deterministic Context Switching Techniques for Heterogeneous Multi-Core Systems
In application scenarios with stringent real-time requirements, such as industrial control and edge computing, context switch latency significantly affects system stability and can easily lead to unpredictability in heterogeneous multi-core architectures. This paper proposes a delay-deterministic context switching mechanism tailored for heterogeneous multi-core systems. It establishes a delay modeling framework, designs a “zero-copy” switching path based on full memory protection, and introduces a cross-architecture virtual instruction set (vISA) along with a context encapsulation scheme. The approach integrates TinyML for real-time prediction and incorporates a highprecision monitoring and anomaly detection module. Experiments conducted across x86, ARM, GPU, and FPGA platforms validate the effectiveness of the mechanism. Results show that under high load, the new mechanism reduces latency by <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{3 5 \% - 6 0 \%}$</tex>, stabilizes heterogeneous context switch latency within <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$5-8 \mu$</tex> s, achieves prediction model errors below 3.1%, and keeps monitoring system response time under 1ms. The proposed mechanism significantly enhances the predictability and real-time performance of context switching, making it well-suited for high-determinism scheduling in complex heterogeneous systems.
Authors
- Jialin Luo (ORCID: https://orcid.org/0000-0002-5362-1906)
- Shuangming Du
- Chun Xu (ORCID: https://orcid.org/0009-0002-6291-1582)
- Yan Zhou (ORCID: https://orcid.org/0000-0003-3381-357X)
- Shijie Li (ORCID: https://orcid.org/0000-0003-4635-5264)
- Yunhua Liu (ORCID: https://orcid.org/0000-0001-7210-3381)
Institutions
- China Southern Power Grid (China) (CN)
Publication Details
- Published
- 2025-06-20
- DOI
- https://doi.org/10.1109/caibda65784.2025.11183207
- Primary Topic
- Energy Efficient Wireless Sensor Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00