arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.03863cs.DCcs.OS
收藏

Hemlock:紧凑且可扩展的互斥算法

Hemlock : Compact and Scalable Mutual Exclusion

University of Waterloo(滑铁卢大学);Oracle Labs(甲骨文实验室)

Dave Dice, Alex Kogan

AI总结:

介绍Hemlock这种新颖互斥锁定算法,它紧凑,每个线程和锁只需少量字,多数情况能本地自旋,竞争时吞吐量高、无竞争时延迟低,无上下文且FIFO,性能与最佳可扩展自旋锁有竞争力甚至更优。

摘要:

我们提出了Hemlock,一种新颖的互斥锁定算法。它极其紧凑,每个线程只需一个字加上每个锁一个字。在大多数情况下仍能提供本地自旋,在竞争情况下具有高吞吐量,在无竞争情况下具有低延迟。Hemlock是无上下文的,不需要从锁定操作向相应的解锁传递任何信息,并且是先进先出的。其性能与最佳可扩展自旋锁具有竞争力,且往往更优。

英文摘要:

We present Hemlock, a novel mutual exclusion locking algorithm that is extremely compact, requiring just one word per thread plus one word per lock, but which still provides local spinning in most circumstances, high throughput under contention, and low latency in the uncontended case. Hemlock is context-free -- not requiring any information to be passed from a lock operation to the corresponding unlock -- and FIFO. The performance of Hemlock is competitive with and often better than the best scalable spin locks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑