TY - JOUR U1 - Zeitschriftenartikel, wissenschaftlich - begutachtet (reviewed) A1 - Berrendorf, Rudolf T1 - A Technique to Avoid Atomic Operations on Large Shared Memory Parallel Systems JF - Soft (International Journal on Advances in Software) N2 - Updating a shared data structure in a parallel program is usually done with some sort of high-level synchronization operation to ensure correctness and consistency. The realization of such high-level synchronization operations is done with appropriate low-level atomic synchronization instructions that the target processor architecture provides. These instructions are costly and often limited in their scalability on larger multi-core / multi-processor systems. In this paper, a technique is discussed that replaces atomic updates of a shared data structure with ordinary and cheaper read/write operations. The necessary conditions are specified that must be fulfilled to ensure overall correctness of the program despite missing synchronization. The advantage of this technique is the reduction of access costs as well as more scalability due to elided atomic operations. But on the other side, possibly more work has to be done caused by missing synchronization. Therefore, additional work is traded against costly atomic operations. A practical application is shown with level-synchronous parallel Breadth-First Search on an undirected graph where two vertex frontiers are accessed in parallel. This application scenario is also used for an evaluation of the technique. Tests were done on four different large parallel systems with up to 64-way parallelism. It will be shown that for the graph application examined the amount of additional work caused by missing synchronization is neglectible and the performance is almost always better than the approach with atomic operations. KW - redundant work KW - CAS KW - parallel breadth-first search KW - parallel work queue KW - atomic operation KW - scalability KW - shared memory UR - https://www.thinkmind.org/index.php?view=article&articleid=soft_v7_n12_2014_16 SN - 1942-2628 SS - 1942-2628 VL - 7 IS - 1&2 SP - 197 EP - 210 PB - ThinkMind ER -