Eliminating false sharing:

Abstract: "The performance and scalability of bus-based, shared memory multiprocessors is limited by the amount of bus traffic. Previous studies have shown that for machines with large caches and a write- invalidate coherency protocol, most of the bus traffic stems from coherency overhead. Some...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Eggers, Susan J. (VerfasserIn), Jeremiassen, Tor E. (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Seattle, Wash. 1990
Schriftenreihe:University of Washington <Seattle, Wash.> / Department of Computer Science: Technical report 90,12,1
Schlagworte:
Zusammenfassung:Abstract: "The performance and scalability of bus-based, shared memory multiprocessors is limited by the amount of bus traffic. Previous studies have shown that for machines with large caches and a write- invalidate coherency protocol, most of the bus traffic stems from coherency overhead. Some of this overhead is unavoidable, a direct consequence of the true sharing activity in the program. However, for caches with multi- word cache blocks, coherency overhead can also be caused by multiple processors accessing different words in the same block, known as false sharing. This paper measures the amount of false sharing in two types of parallel applications. For some applications the amount of false sharing increases substantially as block size increases
For these programs there is a potential for improving performance by reducing the amount of false sharing. For other applications the amount of false sharing is so small as to have no significant impact on performance. For the programs that exhibit large amounts of false sharing we present two simple transformations for restructuring shared data, and apply them to the shared objects responsible for most of the false sharing. Simulations of the traces from the modified programs indicate that the transformations reduce the miss rates significantly. The false sharing miss rates decreased by 50% to 60%, the total miss rates by 20% to 40%, the coherency related bus traffic by 50% to 75%, and bus utilization by an average of more than 15%
Shared misses were reduced by an order of magnitude more than in a previous study which applied a different type of transformation.
Beschreibung:21 S.

Es ist kein Print-Exemplar vorhanden.

Fernleihe Bestellen Achtung: Nicht im THWS-Bestand!