首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >Spin detection hardware for improved management of multithreaded systems
【24h】

Spin detection hardware for improved management of multithreaded systems

机译:自旋检测硬件,用于改进多线程系统的管理

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

摘要

Spinning is a synchronization mechanism commonly used in applications and operating systems. Excessive spinning, however, often indicates performance or correctness (e.g., livelock) problems. Detecting if applications and operating systems are spinning is essential for achieving high performance, especially in consolidated servers running virtual machines. Prior research has used source or binary instrumentation to detect spinning. However, these approaches place a significant burden on programmers and may even be infeasible in certain situations. In this paper, we propose efficient hardware to detect spinning in unmodified applications and operating systems. Based on this hardware, we develop 1) scheduling and power policies that adaptively manage resources for spinning threads, 2) system support that helps detect when a multithreaded program is livelocked, and 3) hardware performance counters that accurately reflect system performance. Using full-system simulation with SPEC OMP, SPLASH-2, and Wisconsin commercial workloads, we demonstrate that our mechanisms effectively improve the management of multithreaded systems.
机译:旋转是一种通常在应用程序和操作系统中使用的同步机制。但是,过度旋转通常会指示性能或正确性(例如,活锁)问题。检测应用程序和操作系统是否正在旋转对于实现高性能至关重要,特别是在运行虚拟机的整合服务器中。先前的研究已经使用源或二进制仪器来检测旋转。但是,这些方法给程序员带来了沉重负担,甚至在某些情况下甚至不可行。在本文中,我们提出了有效的硬件来检测未修改的应用程序和操作系统中的旋转。基于此硬件,我们开发了1)调度和电源策略,可自适应地管理旋转线程的资源; 2)系统支持,可帮助检测何时对多线程程序进行实时锁定; 3)硬件性能计数器,可准确反映系统性能。使用SPEC OMP,SPLASH-2和威斯康星州的商业工作负载进行全系统仿真,我们证明了我们的机制有效地改善了多线程系统的管理。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号