首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Scalable Adaptive NUMA-aware Lock Combining Local Locking and Remote Locking for Efficient Concurrency
【24h】

Scalable Adaptive NUMA-aware Lock Combining Local Locking and Remote Locking for Efficient Concurrency

机译:结合本地锁定和远程锁定的可扩展自适应NUMA感知锁,实现高效并发

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

摘要

Scalable locking is a key building block for scalable multi-threaded software. Its performance is especially critical in multi-socket, multi-core machine swith non-uniform memory access (NUMA). Previous schemes such as local locking and remote locking only perform well under a certain level of contention, and often require non-trivial tuning for a particular configuration. Besides, for large NUMA systems, because of unmanaged lock server's nomination, current distance-first NUMA policies cannot perform satisfactorily. In this work, we propose SANL, a locking scheme that can deliver high performance under various contention levels by adapt ively switching between the local and the remote lock scheme. Furthermore, we introduce a new NUMA policy for the remote lock that jointly considers node distances and server utilization when choosing lock servers. A comparison with seven represent ative locking schemes shows that SANL outperforms the others in most contention situations. In one group test, SANL is 3.7 times faster than RCL lock and 17 times faster than POSIX mutex.
机译:可伸缩锁定是可伸缩多线程软件的关键构建块。它的性能在具有非统一内存访问(NUMA)的多路,多核计算机中尤其重要。诸如本地锁定和远程锁定之类的先前方案仅在一定级别的争用下才能很好地发挥作用,并且通常需要对特定配置进行不重要的调整。此外,对于大型NUMA系统,由于非托管锁定服务器的提名,当前的“距离优先” NUMA策略无法令人满意地执行。在这项工作中,我们提出了SANL,一种锁定方案,通过在本地和远程锁定方案之间进行自适应切换,可以在各种竞争级别下提供高性能。此外,我们为远程锁定引入了新的NUMA策略,该策略在选择锁定服务器时会共同考虑节点距离和服务器利用率。与七个代表性锁定方案的比较表明,SANL在大多数争用情况下均优于其他方案。在一组测试中,SANL比RCL锁快3.7倍,比POSIX互斥锁快17倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号