首页> 外文期刊>IEICE transactions on information and systems >A Capacity-Aware Thread Scheduling Method Combined with Cache Partitioning to Reduce Inter-Thread Cache Conflicts
【24h】

A Capacity-Aware Thread Scheduling Method Combined with Cache Partitioning to Reduce Inter-Thread Cache Conflicts

机译:结合缓存分区的容量感知线程调度方法,以减少线程间缓存冲突

获取原文
           

摘要

Chip multiprocessors (CMPs) improve performance by simultaneously executing multiple threads using integrated multiple cores. However, since these cores commonly share one cache, inter-thread cache conflicts often limit the performance improvement by multi-threading. This paper focuses on two causes of inter-thread cache conflicts. In shared caches of CMPs, cached data fetched by one thread are frequently evicted by another thread. Such an eviction, called inter-thread kickout (ITKO), is one of the major causes of inter-thread cache conflicts. The other cause is capacity shortage that occurs when one cache is shared by threads demanding large cache capacities. If the total capacity demanded by the threads exceeds the actual cache capacity, the threads compete to use the limited cache capacity, resulting in capacity shortage. To address inter-thread cache conflicts, we must take into account both ITKOs and capacity shortage. Therefore, this paper proposes a capacity-aware thread scheduling method combined with cache partitioning. In the proposed method, inter-thread cache conflicts due to ITKOs and capacity shortage are decreased by cache partitioning and thread scheduling, respectively. The proposed scheduling method estimates the capacity demand of each thread with an estimation method used in the cache partitioning mechanism. Based on the estimation used for cache partitioning, the thread scheduler decides thread combinations sharing one cache so as to avoid capacity shortage. Evaluation results suggest that the proposed method can improve overall performance by up to 8.1%, and the performance of individual threads by up to 12%. The results also show that both cache partitioning and thread scheduling are indispensable to avoid both ITKOs and capacity shortage simultaneously. Accordingly, the proposed method can significantly reduce the inter-thread cache conflicts and hence improve performance.
机译:芯片多处理器(CMP)通过使用集成的多个内核同时执行多个线程来提高性能。但是,由于这些内核通常共享一个缓存,因此线程间缓存冲突通常会限制多线程的性能改进。本文着重讨论线程间缓存冲突的两个原因。在CMP的共享缓存中,一个线程获取的缓存数据经常被另一个线程驱逐。这种驱逐(称为线程间踢出(ITKO))是线程间缓存冲突的主要原因之一。另一个原因是当一个高速缓存由需要大高速缓存容量的线程共享时,就会发生容量不足。如果线程所需的总容量超过了实际的高速缓存容量,则线程竞争使用有限的高速缓存容量,从而导致容量不足。为了解决线程间缓存冲突,我们必须同时考虑ITKO和容量不足。因此,本文提出了一种结合缓存分区的容量感知线程调度方法。在提出的方法中,分别通过缓存分区和线程调度减少了由于ITKO引起的线程间缓存冲突和容量不足。所提出的调度方法利用在高速缓存分区机制中使用的估计方法来估计每个线程的容量需求。基于用于缓存分区的估计,线程调度程序决定共享一个缓存的线程组合,以避免容量不足。评估结果表明,该方法可以将整体性能提高多达8.1%,将单个线程的性能提高多达12%。结果还表明,缓存分区和线程调度都是必不可少的,以避免同时避免ITKO和容量不足。因此,提出的方法可以显着减少线程间缓存冲突,从而提高性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号