首页> 外文会议>ACM SIGPLAN 2002 conference on programming language design and implementation(PLDI'02) >Post-pass binary adaptation for software-based speculative precomputation
【24h】

Post-pass binary adaptation for software-based speculative precomputation

机译:通过后二进制适配,用于基于软件的推测性预计算

获取原文

摘要

Recently, a number of thread-based prefetching techniques have been proposed. These techniques aim at improving the latency of single-threaded applications by leveraging multithreading resources to perform memory prefetching via speculative prefetch threads. Software-based speculative precomputation (SSP) is one such technique, proposed for multithreaded Itanium models. SSP does not require expensive hardware support-instead it relies on the compiler to adapt binaries to perform prefetching on otherwise idle hardware thread contexts at run time. This paper presents a post-pass compilation tool for generating SSP-enhanced binaries. The tool is able to: (1) analyze a single-threaded application to generate prefetch threads; (2) identify and embed trigger points in the original binary; and (3) produce a new binary that has the prefetch threads attached. The execution of the new binary spawns the speculative prefetch threads, which are executed concurrently with the main thread. Our results indicate that for a set of pointer-intensive benchmarks, the prefetching performed by the speculative threads achieves an average of 87% speedup on an in-order processor and 5% speedup on an out-of-order processor.
机译:最近,已经提出了许多基于线程的预取技术。这些技术旨在通过利用多线程资源通过推测性预取线程执行内存预取来改善单线程应用程序的延迟。基于软件的推测性预计算(SSP)是为多线程Itanium模型提出的一种这样的技术。 SSP不需要昂贵的硬件支持,而是依靠编译器来调整二进制文件,以在运行时对空闲的硬件线程上下文执行预取。本文介绍了一种用于生成SSP增强的二进制文件的传递后编译工具。该工具能够:(1)分析单线程应用程序以生成预取线程; (2)识别触发点并将其嵌入原始二进制文件中; (3)生成一个附加了预取线程的新二进制文件。新二进制文件的执行产生了推测性的预取线程,这些线程与主线程同时执行。我们的结果表明,对于一组指针密集型基准测试,由推测线程执行的预取在有序处理器上的平均速度提高了87%,在无序处理器上的平均速度提高了5%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号