首页> 外文期刊>IEEE Transactions on Computers >OS-Aware Branch Prediction: Improving Microprocessor Control Flow Prediction for Operating Systems
【24h】

OS-Aware Branch Prediction: Improving Microprocessor Control Flow Prediction for Operating Systems

机译:OS感知分支预测:改进操作系统的微处理器控制流预测

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

摘要

Many modern applications have a significant operating system (OS) component. The OS execution affects various architectural states, including the dynamic branch predictions, which are widely used in today's high-performance microprocessor designs to improve performance. This impact tends to become more significant as the designs become more deeply pipelined and more speculative. In this paper, we focus on the issues of understanding the OS effects on the branch predictions and designing architectural support to alleviate the bottlenecks that are created by misprediction. In this work, we characterize the control flow transfer of several emerging applications on a commercial OS. It was observed that the exception-driven, intermittent invocation of OS code and user/OS branch history interference increased misprediction in both user and kernel code. We propose two simple OS-aware control flow prediction techniques to alleviate the destructive impact of user/OS branch interference. The first consists of capturing separate branch correlation information for user and kernel code. The second involves using separate branch prediction tables for user and kernel code. We demonstrate in this paper that OS-aware branch predictions require minimal hardware modifications and additions. Moreover, the OS-aware branch predictions can be integrated with many existing schemes to further improve their performance. We studied the improvement contributed by OS-aware techniques to various branch prediction schemes ranging from the simple Gshare to the more advanced Agree, Multi-Hybrid, and Bi-Mode predictors. On the 32 K-entry predictors, incorporating the OS-aware techniques yields up to 34 percent, 23 percent, 27 percent, and 9 percent prediction accuracy improvement on the Gshare, Multi-Hybrid, Agree, and Bi-Mode predictors, respectively
机译:许多现代应用程序都有重要的操作系统(OS)组件。操作系统的执行会影响各种架构状态,包括动态分支预测,而动态分支预测已在当今的高性能微处理器设计中广泛使用以提高性能。随着设计的流水线越来越深,投机性越来越强,这种影响趋于变得越来越重要。在本文中,我们着重于了解操作系统对分支预测的影响以及设计体系结构支持以减轻因错误预测而造成的瓶颈的问题。在这项工作中,我们描述了商业OS上几个新兴应用程序的控制流转移。可以看出,异常驱动的OS代码的间歇调用和用户/ OS分支历史记录的干扰增加了用户代码和内核代码中的错误预测。我们提出了两种简单的可识别OS的控制流预测技术,以减轻用户/ OS分支干扰的破坏性影响。第一个步骤包括为用户和内核代码捕获单独的分支相关信息。第二个涉及为用户和内核代码使用单独的分支预测表。在本文中,我们证明了支持OS的分支预测仅需要最少的硬件修改和添加。此外,可将OS感知分支预测与许多现有方案集成在一起,以进一步提高其性能。我们研究了OS感知技术对各种分支预测方案所做的改进,这些方案从简单的Gshare到更高级的Agree,Multi-Hybrid和Bi-mode预测器。在32个K条目预测器上,结合了OS感知技术,Gshare,Multi-Hybrid,Agree和Bi-Mode预测器的预测准确性分别提高了34%,23%,27%和9%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号