论文部分内容阅读
False sharing is one of the most important factors impacting the performance of DSM (distributed shared memory) systems. The single-writer ap proach is simple, but it cannot avoid the ping-pong effect of the data page thrashing, while the multiple-writer approach is effective for false sharing but with high cost. This paper proposes a new approach, called limited multiple-writer (LMW) to han dling multiple writers in software DSM. It distinguishes two kinds of multiple-writer as lock-based form and barrier-based form, and handles them with different policies. It discards the Twin and Diff in traditional multiple-writer approach, and simplifies the implementation of niultiple-writer in software DSM systems. The implementa tion of LMW in a CVM (Coherent Virtual Machine) software DSM system, which is based on a network of workstations, is introduced. Evaluation results show that for some applications such as SOR (Successive Over-Relaxation), LU (Lower triangular and Upper triangular), FFT (Fast Fourier Transformation), and IS (Integer Sorting), LMW provides a significant reduction inexecution time (11%, 16%, 33% and 46%) compared with the traditional multiple-writer approach on the platform.