首页> 外文会议>The Sixteenth IEEE International Conference on Computational Science and Engineering >Coordinated Bank and Cache Coloring for Temporal Protection of Memory Accesses
【24h】

Coordinated Bank and Cache Coloring for Temporal Protection of Memory Accesses

机译:协调的存储区和缓存着色以临时保护内存访问

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

In commercial-off-the-shelf (COTS) multi-core systems, the execution times of tasks become hard to predict because of contention on shared resources in the memory hierarchy. In particular, a task running in one processor core can delay the execution of another task running in another processor core. This is due to the fact that tasks can access data in the same cache set shared among processor cores or in the same memory bank in the DRAM memory (or both). Such cache and bank interference effects have motivated the need to create isolation mechanisms for resources accessed by more than one task. One popular isolation mechanism is cache coloring that divides the cache into multiple partitions. With cache coloring, each task can be assigned exclusive cache partitions, thereby preventing cache interference from other tasks. Similarly, bank coloring allows assigning exclusive bank partitions to tasks. While cache coloring and some bank coloring mechanisms have been studied separately, interactions between the two schemes have not been studied. Specifically, while memory accesses to two different bank colors do not interfere with each other at the bank level, they may interact at the cache level. Similarly, two different cache colors avoid cache interference but may not prevent bank interference. Therefore it is necessary to coordinate cache and bank coloring approaches. In this paper, we present a coordinated cache and bank coloring scheme that is designed to prevent cache and bank interference simultaneously. We also developed color allocation algorithms for configuring a virtual memory system to support our scheme which has been implemented in the Linux kernel. In our experiments, we observed that the execution time can increase by 60% due to inter-task interference when we use only cache coloring. Our coordinated approach can reduce this figure down to 12% (an 80% reduction).
机译:在现成的商用(COTS)多核系统中,由于对内存层次结构中共享资源的争用,任务的执行时间变得难以预测。特别地,在一个处理器内核中运行的任务可以延迟在另一处理器内核中运行的另一任务的执行。这是由于以下事实:任务可以访问处理器内核之间共享的同一高速缓存集中的数据,或DRAM存储器(或两者)中同一存储体中的数据。这种高速缓存和存储体干扰效应促使人们需要为多个任务访问的资源创建隔离机制。一种流行的隔离机制是高速缓存着色,它将高速缓存分为多个分区。使用高速缓存着色,可以为每个任务分配独占的高速缓存分区,从而防止高速缓存受到其他任务的干扰。同样,存储区着色允许为任务分配专用存储区分区。虽然分别研究了缓存着色和某些存储区着色机制,但尚未研究这两种方案之间的相互作用。具体来说,虽然对两种不同存储体颜色的内存访问在存储体级别上不会互相干扰,但它们可能在缓存级别进行交互。同样,两种不同的缓存颜色可避免缓存干扰,但可能无法防止存储体干扰。因此,有必要协调高速缓存和库着色方法。在本文中,我们提出了一种协调的缓存和库着色方案,旨在同时防止缓存和库干扰。我们还开发了颜色分配算法,用于配置虚拟内存系统以支持已在Linux内核中实现的方案。在我们的实验中,我们观察到仅使用缓存着色时,由于任务间干扰,执行时间可以增加60%。我们的协调方法可以将这一数字降低到12%(降低80%)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号