科技报告详细信息
Deconstructing Queue-Based Mutual Exclusion
Golab, Wojciech
HP Development Company
关键词: mutual exclusion;    shared memory;    theory;   
RP-ID  :  HPL-2012-100
学科分类:计算机科学(综合)
美国|英语
来源: HP Labs
PDF
【 摘 要 】

We formulate a modular approach to the design and analysis of a particular class of mutual exclusion algorithms for shared memory multiprocessor systems. Specifically, we consider algorithms that organize waiting processes into a queue. Such algorithms can achieve O(1) remote memory reference (RMR) complexity, which minimizes (asymptotically) the amount of traffic through the processor-memory interconnect. We first describe a generic mutual exclusion algorithm that relies on a linearizable implementation of a particular queue-like data structure that we call MutexQueue. Next, we show two implementations of MutexQueue using O(1) RMRs per operation based on synchronization primitives commonly available in multiprocessors. These implementations follow closely the queuing code embedded in previously published mutual exclusion algorithms. We provide rigorous correctness proofs and RMR complexity analyses of the algorithms we present.

【 预 览 】
附件列表
Files Size Format View
RO201804100000331LZ 376KB PDF download
  文献评价指标  
  下载次数:9次 浏览次数:33次