...
首页> 外文期刊>Quality Control, Transactions >Catnap: A Backoff Scheme for Kernel Spinlocks in Many-Core Systems
【24h】

Catnap: A Backoff Scheme for Kernel Spinlocks in Many-Core Systems

机译:CATNAP:许多核心系统中的内核旋转锁的退避方案

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

摘要

As the number of cores equipped in a system grows, the impact of the spinlock waiting inside the operating system (OS) kernel on the performance and energy efficiency of a system worsens. In particular, it deteriorates the effectiveness of simultaneous multithreading (SMT). Because spinlocks are indispensable in OS kernels, it is necessary to suppress the spin wait overhead in the many-core systems. To address this issue, we propose the catnap spinlock that exploits the ACPI-C state, which is named as the catnap state and is induced by the MONITOR/MWAIT instruction pair. The catnap state releases the processor resources while deceiving the kernel that the thread is iterating a busy-waiting loop. Because entering and exiting from the C-state require considerable time, we applied the catnap loop only to the non-head waiters not to delay the lock handover operation. Furthermore, we selectively applied the catnap spinlock to the lock instances for sufficiently long critical sections based on the observation made in profiling runs. The proposed scheme was implemented in the Linux kernel and evaluated in a many-core processor system with a few workloads from the PARSEC and Re-aim benchmark suites. Our evaluation showed that the proposed scheme improved the performance by up to 33.59 & x0025; and reduced energy consumption by 39.11 & x0025;.
机译:随着在系统中配备的核心的数量增长,Spinlock在操作系统(OS)内核内部的影响在系统的性能和能效效率下降。特别是,它会使同时多线程(SMT)的有效性恶化。由于Spinclocks在OS内核中是必不可少的,因此必须抑制许多核心系统中的旋转等待开销。要解决此问题,我们提出了利用ACPI-C状态的CATNAP SpinLock,该Spinclock被命名为CatNap状态,并由 Monitor / MWAIT引起指令对。 CatNap状态在欺骗线程迭代繁忙的循环的内核时释放处理器资源。因为进入和退出C-State需要相当大的时间,我们仅将CatNap循环应用于非头部服务员不延迟锁定切换操作。此外,我们选择性地将CatNap旋转锁定到锁定实例基于在分析运行中的观察结果的足够长的关键部分。所提出的方案是在Linux内核中实现的,并在许多核心处理器系统中进行评估,其中包含来自 Parsec 和<斜视>重新瞄准基准套件的工作负载。我们的评价表明,拟议方案将绩效提高至多33.59&x0025;并减少能耗39.11&x0025;

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号