MemPol: polling-based microsecond-scale per-core memory bandwidth regulation

被引:2
作者
Zuepke, Alexander [1 ]
Bastoni, Andrea [1 ]
Chen, Weifan [2 ]
Caccamo, Marco [1 ]
Mancuso, Renato [2 ]
机构
[1] Tech Univ Munich, Chair Cyber Phys Syst Prod Engn, Boltzmannstr 15, D-85748 Garching, Germany
[2] Boston Univ, Cyber Phys Syst Lab, 665 Commonwealth Ave, Boston, MA 02215 USA
基金
美国国家科学基金会;
关键词
Real-time system; Multi-core; Memory bandwidth regulation; Feedback control;
D O I
10.1007/s11241-024-09422-8
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In today's multiprocessor systems-on-a-chip, the shared memory subsystem is a known source of temporal interference. The problem causes logically independent cores to affect each other's performance, leading to pessimistic worst-case execution time analysis. Memory regulation via throttling is one of the most practical techniques to mitigate interference. Traditional regulation schemes rely on a combination of timer and performance counter interrupts to be delivered and processed on the same cores running real-time workload. Unfortunately, to prevent excessive overhead, regulation can only be enforced at a millisecond-scale granularity. In this work, we present a novel regulation mechanism from outside the cores that monitors performance counters for the application core's activity in main memory at a microsecond scale. The approach is fully transparent to the applications on the cores, and can be implemented using widely available on-chip debug facilities. The presented mechanism also allows more complex composition of metrics to enact load-aware regulation. For instance, it allows redistributing unused bandwidth between cores while keeping the overall memory bandwidth of all cores below a given threshold. We implement our approach on a host of embedded platforms and conduct an in-depth evaluation on the Xilinx Zynq UltraScale+ ZCU102, NXP i.MX8M and NXP S32G2 platforms using the San Diego Vision Benchmark Suite.
引用
收藏
页码:369 / 412
页数:44
相关论文
共 74 条
[11]  
Arm, 2022, Arm Architecture Reference Manual Supplement. Memory System Resource Partitioning and Monitoring (MPAM) for Armv8-A
[12]  
ARM, 2018, Arm Cortex-A75 core processor technical reference manual r3p1
[13]  
ARM, 2016, ARM CoreLink QoS-400 network interconnect advanced quality of service
[14]  
ARM, 2018, Arm Cortex-A53 MPCore processor technical reference manual
[15]   Cache Bank-Aware Denial-of-Service Attacks on Multicore ARM Processors [J].
Bechtel, Michael ;
Yun, Heechul .
2023 IEEE 29TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, RTAS, 2023, :198-208
[16]   Denial-of-Service Attacks on Shared Cache in Multicore: Analysis and Prevention [J].
Bechtel, Michael G. ;
Yun, Heechul .
25TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2019), 2019, :357-367
[17]  
Brilli G, 2022, DES AUT TEST EUROPE, P1335, DOI 10.23919/DATE54114.2022.9774768
[18]  
Capodieci N., 2020, PROC IEEE 26 INT C E, P1, DOI 10.1109/RTCSA50079.2020.9203722
[19]  
Cardona J, 2019, DES AUT TEST EUROPE, P710, DOI [10.23919/DATE.2019.8715155, 10.23919/date.2019.8715155]
[20]  
Cavicchioli R, 2017, IEEE INT C EMERG