arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.05545cs.DC
收藏

粗粒度锁定的概率预测:MCS案例

Peformance Prediction for Coarse-Grained Locking: MCS Case

Vitaly Aksenov, Daniil Bolotov, Petr Kuznetsov

摘要:

在许多并发数据结构(如哈希表或有序容器)中发现的标准设计模式是交替使用不会引发数据冲突的可并行部分和必须顺序运行并受锁保护的关键部分。已经表明,简单的随机分析可以预测使用CLH锁的粗粒度基于锁的算法的吞吐量。在这篇简短的论文中,我们将这种分析扩展到基于流行的MCS锁的算法。

英文摘要:

A standard design pattern found in many concurrent data structures, such as hash tables or ordered containers, is alternation of parallelizable sections that incur no data conflicts and critical sections that must run sequentially and are protected with locks. It was already shown that simple stochastic analysis can predict the throughput of coarse-grained lock-based algorithms using CLH lock. In this short paper, we extend this analysis to algorithms based on the popular MCS lock.

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

↑