Title :
Improving value communication for thread-level speculation
Author :
Steffan, J. Gregory ; Colohan, Christopher B. ; Zhai, Antonia ; Mowry, Todd C.
Author_Institution :
Dept. of Comput. Sci., Carnegie Mellon Univ., Pittsburgh, PA, USA
Abstract :
Thread-level speculation (TLS) allows us to automatically parallelize general-purpose programs by supporting parallel execution of threads that might not actually be independent. In this paper, we show that the key to good performance ties in the three different ways to communicate a value between speculative threads: speculation, synchronization and prediction. The difficult part is deciding how and when to apply each method. This paper shows how we can apply value prediction, dynamic synchronization and hardware instruction prioritization to improve value communication and hence performance in several SPECint benchmarks that have been automatically transformed by our compiler to exploit TLS. We find that value prediction can be effective when properly throttled to avoid the high costs of mis-prediction, while most of the gains of value prediction can be more easily achieved by exploiting silent stores. We also show that dynamic synchronization is quite effective for most benchmarks, while hardware instruction prioritization is not. Overall, we find that these techniques have great potential for improving the performance of TLS.
Keywords :
multi-threading; software performance evaluation; synchronisation; automatic parallelization; automatically transformed SPECint benchmarks; compiler; dynamic synchronization; general-purpose programs; hardware instruction prioritization; parallel thread execution; performance; silent stores; speculative threads; thread-level speculation; throttled value prediction; value communication; Application software; Computer science; Costs; Hardware; Microprocessors; Runtime; Sun; Throughput; Writing; Yarn;
Conference_Titel :
High-Performance Computer Architecture, 2002. Proceedings. Eighth International Symposium on
Print_ISBN :
0-7695-1525-8
DOI :
10.1109/HPCA.2002.995699