arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.16245cs.DCcs.PFcs.SYeess.SY
收藏

SP-IMPact:一个用于静态分区干扰缓解与性能分析的框架

SP-IMPact: A Framework for Static Partitioning Interference Mitigation and Performance Analysis

Diogo Costa, Gonçalo Moreira, Afonso Oliveira, José Martins, Sandro Pinto

AI总结:

针对多核虚拟机共享资源干扰及缓解配置复杂的问题,提出开源框架 SP-IMPact,支持缓存着色与内存带宽预留,评估其交互影响以优化混合关键性系统的性能与可预测性。

摘要:

现代嵌入式系统正朝着复杂、异构的架构演进,以适应日益苛刻的应用需求。受 SWAP-C 约束的驱动,这种转变促使多个系统整合到单一硬件平台上。Static Partitioning Hypervisors(静态分区管理程序)提供了一种有前景的解决方案,用于划分硬件资源并在关键工作负载之间提供空间隔离。然而,诸如末级缓存和系统总线等共享资源可能会在虚拟机(VMs)之间引入时间干扰,从而对性能和可预测性产生负面影响。在过去的十年中,学术界和工业界开发了干扰缓解技术,例如缓存分区和内存带宽预留。然而,配置这些技术既复杂又耗时。缓存分区需要在虚拟机之间平衡缓存区块,而内存带宽预留需要调整带宽预算和周期。测试所有配置是不切实际的,并且往往会导致次优结果。此外,对这些技术如何相互作用的理解是有限的,因为它们的组合使用可能会对性能产生复合或冲突的影响。估算最坏情况执行时间的静态分析工具为配置缓解技术提供了指导,但往往无法捕捉现代多核系统的复杂性。它们通常只关注有限的共享资源,而忽略了其他资源,如 IOMMUs 和中断控制器。为了应对这些挑战,我们提出了 SP-IMPact,一个用于分析和指导干扰缓解配置的开源框架。SP-IMPact 支持(i)缓存着色和(ii)内存带宽预留,同时评估它们的相互作用和累积影响。通过在真实硬件上提供见解,SP-IMPact 有助于优化混合关键性系统的配置,确保性能和可预测性。

英文摘要:

Modern embedded systems are evolving toward complex, heterogeneous architectures to accommodate increasingly demanding applications. Driven by SWAP-C constraints, this shift has led to consolidating multiple systems onto single hardware platforms. Static Partitioning Hypervisors offer a promising solution to partition hardware resources and provide spatial isolation between critical workloads. However, shared resources like the Last-Level Cache and system bus can introduce temporal interference between virtual machines (VMs), negatively impacting performance and predictability. Over the past decade, academia and industry have developed interference mitigation techniques, such as cache partitioning and memory bandwidth reservation. However, configuring these techniques is complex and time-consuming. Cache partitioning requires balancing cache sections across VMs, while memory bandwidth reservation needs tuning bandwidth budgets and periods. Testing all configurations is impractical and often leads to suboptimal results. Moreover, understanding how these techniques interact is limited, as their combined use can produce compounded or conflicting effects on performance. Static analysis tools estimating worst-case execution times offer guidance for configuring mitigation techniques but often fail to capture the complexity of modern multi-core systems. They typically focus on limited shared resources while neglecting others, such as IOMMUs and interrupt controllers. To address these challenges, we present SP-IMPact, an open-source framework for analyzing and guiding interference mitigation configurations. SP-IMPact supports (i) cache coloring and (ii) memory bandwidth reservation, while evaluating their interactions and cumulative impact. By providing insights on real hardware, SP-IMPact helps optimize configurations for mixed-criticality systems, ensuring performance and predictability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑