...
首页> 外文期刊>ACM Transactions on Architecture and Code Optimization >Understanding the Behavior and Implications of Context Switch Misses
【24h】

Understanding the Behavior and Implications of Context Switch Misses

机译:了解上下文切换丢失的行为和含义

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

获取外文期刊封面封底 >>

       

摘要

One of the essential features in modem computer systems is context switching, which allows multiple threads of execution to time-share a limited number of processors. While very useful, context switching can introduce high performance overheads, with one of the primary reasons being the cache perturbation effect. Between the time a thread is switched out and when it resumes execution, parts of its working set in the cache may be perturbed by other interfering threads, leading to (context switch) cache misses to recover from the perturbation. The goal of this article is to understand how cache parameters and application behavior influence the number of context switch misses the application suffers from. We characterize a previously unreported type of context switch misses that occur as the artifact of the interaction of cache replacement policy and an application's temporal reuse behavior. We characterize the behavior of these "reordered misses" for various applications, cache sizes, and various amount of cache perturbation. As a second contribution, we develop an analytical model that reveals the mathematical relationship between cache design parameters, an application's temporal reuse pattern, and the number of context switch misses the application suffers from. We validate the model against simulation studies and find that it is sufficiently accurate in predicting the trends of context switch misses with regard to various cache perturbation amount.
机译:调制解调器计算机系统的基本功能之一是上下文切换,它允许多个执行线程分时共享有限数量的处理器。上下文切换虽然非常有用,但会带来高性能开销,主要原因之一是缓存微扰效应。从线程退出到恢复执行之间,其在缓存中的部分工作集可能会受到其他干扰线程的干扰,从而导致(上下文切换)缓存未命中以从干扰中恢复。本文的目的是了解缓存参数和应用程序行为如何影响应用程序遭受丢失的上下文切换次数。我们描述了以前未报告的上下文切换丢失类型,这些丢失是由于缓存替换策略和应用程序的时间重用行为之间的交互作用而出现的。我们针对各种应用程序,高速缓存大小和各种高速缓存扰动来表征这些“重排未命中”的行为。作为第二个贡献,我们开发了一个分析模型,该模型揭示了缓存设计参数,应用程序的时间重用模式以及应用程序所遭受的上下文切换次数之间的数学关系。我们通过仿真研究验证了该模型,发现该模型对于各种缓存扰动量的上下文切换未命中趋势的预测是足够准确的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号