首页> 外文会议>Proceedings of the EuroSys 2011 conference. >Operating System Support for Application-Specific Speculation
【24h】

Operating System Support for Application-Specific Speculation

机译:操作系统支持特定应用程序的推测

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

摘要

Speculative execution is a technique that allows serial tasks to execute in parallel. An implementation of speculative execution can be divided into two parts: (1) a policy that specifies what operations and values to predict, what actions to allow during speculation, and how to compare results; and (2) the mechanisms that support speculative execution, such as checkpointing, rollback, causality tracking, and output buffering. In this paper, we show how to separate policy from mechanism. We implement a speculation mechanism in the operating system, where it can coordinate speculations across all applications and kernel state. Policy decisions are delegated to applications, which have the most semantic information available to direct speculation. We demonstrate how custom policies can be used in existing applications to add new features that would otherwise be difficult to implement. Using custom policies in our separated speculation system, we can hide 85% of program load time by predicting the program's launch, decrease SSL connection latency by 15% in Firefox, and increase a BFT client's request rate by 82%. Despite the complexity of the applications, small modifications can implement these features since they only specify policy choices and rely on the system to realize those policies. We provide this increased programmability with a modest performance trade-off, executing only 8% slower than an optimized, application-implemented speculation system.
机译:推测执行是一种允许串行任务并行执行的技术。推测执行的实现可以分为两个部分:(1)一种策略,它指定要预测的操作和值,推测期间允许采取的操作以及如何比较结果; (2)支持推测执行的机制,例如检查点,回滚,因果关系跟踪和输出缓冲。在本文中,我们展示了如何将政策与机制分开。我们在操作系统中实现了一种推测机制,该机制可以协调所有应用程序和内核状态之间的推测。策略决策被委派给应用程序,这些应用程序具有可用于指导推测的最多语义信息。我们演示了如何在现有应用程序中使用自定义策略来添加否则将难以实现的新功能。通过在单独的推测系统中使用自定义策略,我们可以通过预测程序的启动来隐藏程序加载时间的85%,在Firefox中将SSL连接延迟降低15%,并将BFT客户端的请求率提高82%。尽管应用程序很复杂,但是小的修改仍可以实现这些功能,因为它们仅指定策略选择,并依靠系统来实现这些策略。我们以适度的性能折衷来提供这种增强的可编程性,其执行速度仅比优化的,由应用程序实现的投机系统慢8%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号