首页> 外文学位 >Using speculative execution to automatically hide I/O latency.
【24h】

Using speculative execution to automatically hide I/O latency.

机译:使用推测执行自动隐藏I / O延迟。

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

摘要

The gap between processing speeds and disk access times is widening. This trend is causing applications that must fetch data from disk to spend an increasing proportion of their execution times stalled on disk I/O. I/O prefetching, a well-known technique for hiding disk latency, has the potential to alleviate this problem, particularly when the data that needs to be fetched is distributed across multiple disks. A major hurdle to benefiting from this technique in practice is the difficulty of generating accurate and timely prefetches. In this dissertation, I put forth a new approach to generating accurate and timely prefetches without programmer involvement.; The key to the proposed approach is its unique method for predicting what data an executing process will access in the future. The approach involves adding an execution of each target process's code that exploits spare processing cycles. These added executions skip some operations, like accesses to uncached data, so that they can run ahead of their target normal executions. This permits differences between the data values used during the added speculative executions and their target normal executions. Despite any such differences, the approach predicts that the data accesses encountered during speculative executions will often be the same as the data accesses that will be encountered during their target normal executions such that, by initiating prefetching of that data, speculative executions could reduce the I/O stall time of their target normal executions.; To investigate the viability of this approach, I developed and evaluated SpecHint, a design and implementation for applying the approach automatically. SpecHint is based on binary modification and requires no operating system support specific to this approach. I evaluated SpecHint using six benchmarks from the TIP benchmark suite. Experiments demonstrate that, with the file system striped across four disks, SpecHint reduces the elapsed times of five of the benchmarks (text search, scientific visualization, object linking, and two database queries) by 24% to 71%, with an average of 53%. Moreover, simulation experiments suggest that, on future systems, the benefit of SpecHint would not decrease, and may even increase for some applications.
机译:处理速度和磁盘访问时间之间的差距正在扩大。这种趋势导致必须从磁盘获取数据的应用程序将越来越多的执行时间比例停滞在磁盘I / O上。 I / O预取是一种众所周知的隐藏磁盘延迟的技术,可以缓解此问题,尤其是当需要获取的数据分布在多个磁盘上时。在实践中受益于此技术的主要障碍是难以生成准确,及时的预取。在本文中,我提出了一种无需程序员参与即可生成准确,及时的预取的新方法。提出的方法的关键是其独特的方法,用于预测执行过程将来将访问哪些数据。该方法涉及添加每个目标流程的代码执行,从而利用备用处理周期。这些添加的执行将跳过某些操作(例如访问未缓存的数据),以便它们可以在目标正常执行之前运行。这允许在添加的推测执行期间使用的数据值与其目标正常执行之间的差异。尽管存在任何此类差异,但该方法预测,在推测执行期间遇到的数据访问通常将与在其目标正常执行期间遇到的数据访问相同,从而通过启动对该数据的预取,推测执行可以减少I / O目标正常执行的停顿时间;为了研究这种方法的可行性,我开发并评估了SpecHint,这是一种自动应用该方法的设计和实现。 SpecHint基于二进制修改,并且不需要特定于此方法的操作系统支持。我使用TIP基准套件中的六个基准对SpecHint进行了评估。实验表明,在文件系统跨四个磁盘条带化的情况下,SpecHint将五个基准测试(文本搜索,科学可视化,对象链接和两个数据库查询)的经过时间减少了24%至71%,平均减少了53% %。而且,仿真实验表明,在将来的系统上,SpecHint的好处不会减少,甚至在某些应用中可能会增加。

著录项

  • 作者

    Chang, Fay W.;

  • 作者单位

    Carnegie Mellon University.;

  • 授予单位 Carnegie Mellon University.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2002
  • 页码 174 p.
  • 总页数 174
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号