...
首页> 外文期刊>Parallel and Distributed Systems, IEEE Transactions on >LockSim: An Event-Driven Simulator for Modeling Spin Lock Contention
【24h】

LockSim: An Event-Driven Simulator for Modeling Spin Lock Contention

机译:LockSim:用于建模自旋锁争用的事件驱动模拟器

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

摘要

Spin lock contention in operating systems can limit scalability on multicore systems so significantly that an increase in the number of cores actually leads to reduced speedup (i.e., scalability collapse). Modeling spin lock contention is an effective way to understand the scalability collapse phenomenon and explore collapse avoidance schemes. However, previous spin lock models have disadvantages in accuracy and efficiency. To overcome these drawbacks, this paper proposes LockSim, an event-driven simulator which models both the sequential execution in lock-protected codes (i.e., critical sections) and shared hardware resource contention caused by the cache coherence protocol. Our simulator is verified against real-world workloads with different degrees of spin lock contention. Experimental results suggest that LockSim can reproduce the scalability collapse phenomenon with better accuracy than previous work. Besides, several metrics are also used to characterize this phenomenon and collapse avoidance methods are investigated.
机译:操作系统中的自旋锁争用会严重限制多核系统上的可伸缩性,以至于内核数量的增加实际上会导致速度降低(即,可伸缩性崩溃)。对自旋锁争用进行建模是了解可伸缩性崩溃现象和探索崩溃避免方案的有效方法。但是,以前的自旋锁模型在准确性和效率上都有缺点。为了克服这些缺点,本文提出了一种LockSim,它是一种事件驱动的模拟器,可对锁保护代码(即关键部分)中的顺序执行以及由缓存一致性协议引起的共享硬件资源争用进行建模。我们的模拟器针对具有不同自旋锁争用程度的实际工作负载进行了验证。实验结果表明,LockSim可以比以前的工作更好地重现可伸缩性崩溃现象。此外,还使用几种度量来表征这种现象,并研究了避免坍塌的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号