首页> 外文期刊>Scientific programming >Compiler optimization to improve data locality for processor multithreading
【24h】

Compiler optimization to improve data locality for processor multithreading

机译:编译器优化可改善处理器多线程的数据局部性

获取原文
获取原文并翻译 | 示例
       

摘要

over the last decade processor speed has increased dramati- cally, whereas the speed of the memory subsystem improved at a modest rate. Due to the increase in the cache miss la- tency (in terms of the processor cycle), processors stall on cashe misses for a significant portion of its execution time. Multithreaded processors has been proposed in the literature to reduce the processor stall time due to cache misses. AI- though multithreading improves processor utilization, it may alSo increase cache miss rates, because in a multithreaded processor multiple threads share the same cache. which ef fectively reduces the cache size available to each individ- ual thread. Increased processor utilization and the increase in the cache miss rate demands higher memory bandwidth. A novel compiler optimization method has been presented in this paper that improves data locality for each of the threads and enhances data sharing among the threads. The method is based on loop transformation theory and optimizes both spa- tial and temporal data locality. The created threads exhibit high level of intra-thread and inter-thread data locality which effectively reduces both the data cache miss rates and the to- tal execution time of numerically intensive computation run- ning on a multithreaded processor.
机译:在过去的十年中,处理器的速度已显着提高,而内存子系统的速度则以适度的速度提高。由于高速缓存未命中时间的增加(就处理器周期而言),处理器在现金执行未命中的大部分时间都处于停顿状态。在文献中已经提出了多线程处理器以减少由于高速缓存未命中而导致的处理器停顿时间。 AI-尽管多线程提高了处理器利用率,但它也可能会增加高速缓存未命中率,因为在多线程处理器中,多个线程共享同一高速缓存。这有效地减小了每个单独线程可用的缓存大小。处理器利用率的提高和高速缓存未命中率的提高要求更高的内存带宽。本文提出了一种新颖的编译器优化方法,该方法可以改善每个线程的数据局部性并增强线程之间的数据共享。该方法基于循环变换理论,并且优化了空间和时间数据的局部性。创建的线程展现出高水平的线程内和线程间数据局部性,从而有效地降低了数据高速缓存未命中率以及在多线程处理器上运行数值密集型计算的总执行时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号