Publication | Closed Access
DCAS is not a silver bullet for nonblocking algorithm design
82
Citations
26
References
2004
Year
Unknown Venue
EngineeringComputer ArchitectureComputational ComplexityHardware SecurityShared MemoryAlgorithm DesignHigh-performance ArchitectureSilver BulletParallel ComputingDetailed Case StudyAtomic AccessComputer EngineeringComputer ScienceAlgorithmic DevelopmentMemory ArchitectureFormal MethodsParallel ProgrammingConcurrent Data StructureIn-storage Computing
Despite years of research, the design of efficient nonblocking algorithms remains difficult. A key reason is that current shared-memory multiprocessor architectures support only single-location synchronisation primitives such as compare-and-swap (CAS) and load-linked/store-conditional (LL/SC). Recently researchers have investigated the utility of double-compare-and-swap (DCAS)--a generalisation of CAS that supports atomic access to two memory locations -- in overcoming these problems. We summarise recent research in this direction and present a detailed case study concerning a previously published nonblocking DCAS-based double-ended queue implementation. Our summary and case study clearly show that DCAS does not provide a silver bullet for nonblocking synchronisation. That is, it does not make the design and verification of even mundane nonblocking data structures with desirable properties easy. Therefore, our position is that while slightly more powerful synchronisation primitives can ave a profound effect on ease of algorithm design and verification, DCAS does not provide sufficient additional power over CAS to justify supporting it in hardware.
| Year | Citations | |
|---|---|---|
Page 1
Page 1