Comparison and analysis of software and directory coherence schemes

Yung-Chin Chen, Alexander V. Veidenbaum

1991 · 14 citations · 23 references

DOIFull text

Open access

Concepts

Abstract

Directory schemes and software schemes have been proposed to solve the cache coherence problem for the MIN-based large-scale multiprocessor system. We compare the performance of the two schemes using irate-driven simulation including the effect of fake sharing caused by a nontrivial cache line size. It shows that the simplest software scheme can have a hit ratio and shared memory trafic comparable to those of the directory scheme. The invalidations and the sharing behavior of the directory scheme are classified and analyzed. 1 Introduction Cache coherence for shared-memory multiprocessor systems with private caches is an important problem in computer architecture. Several approaches have been proposed for solving this problem in MINbased large-scale multiprocessor systems. The directory schemes, such as those of [Tan76, CF78], and [AB84], are one possible solution. Another solution comprises software-assisted schemes [Vei86, LYL87, CV88, CKM88, CV89, MB89]. Compile-time information is used to determine when cache lines become stale, and access to such lines is prevented by invalidation or by forcing them to be noncacheable. Some of the software schemes use hardware assistance to utilize run-time information to achieve an even higher hit ratio, such as [LYL87, CV88, CV89, MB89].

References

23