...
首页> 外文期刊>ACM Queue: Architecting Tomorrow s Computing >Lock elision enables existing lock-based programs to achieve the performance benefits of nonblocking synchronization and fine-grain locking with minor software engineering effort.
【24h】

Lock elision enables existing lock-based programs to achieve the performance benefits of nonblocking synchronization and fine-grain locking with minor software engineering effort.

机译:锁定省略使现有的基于锁定的程序能够以较少的软件工程工作量来实现无阻塞同步和细粒度锁定的性能优势。

获取原文
           

摘要

Andi Kleen, Intel Corporation Multithreaded applications take advantage of increasing core counts to achieve high performance. Such programs, however, typically require programmers to reason about data shared among multiple threads. Programmers use synchronization mechanisms such as mutual-exclusion locks to ensure correct updates to shared data in the presence of accesses from multiple threads. Unfortunately, these mechanisms serialize thread accesses to the data and limit scalability. Often, lock-based programs do not scale because of the long block times caused by serialization, as well as the excessive communication overhead to coordinate synchronization. To reduce the impact on scalability, programmers use fine-grained locking, where instead of using a few locks to protect all shared data (coarse granularity), they use many locks to protect data at a finer granularity. This is a complex and error-prone process~(10,11) that also often impacts single-thread performance.
机译:英特尔公司的安迪·克莱恩(Andi Kleen),多线程应用程序利用增加的内核数量来实现高性能。但是,此类程序通常要求程序员推理多个线程之间共享的数据。程序员使用诸如互斥锁之类的同步机制来确保在存在来自多个线程的访问的情况下正确更新共享数据。不幸的是,这些机制序列化了对数据的线程访问并限制了可伸缩性。通常,由于序列化导致的较长块时间,以及协调协调所需的过多通信开销,基于锁的程序通常无法扩展。为了减少对可伸缩性的影响,程序员使用细粒度的锁定,而不是使用一些锁定来保护所有共享数据(粗粒度),而是使用许多锁定来以细粒度保护数据。这是一个复杂且容易出错的过程,(10,11)也经常影响单线程性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号