DocumentCode
3560807
Title
SMT-Directory: Efficient Load-Load Ordering for SMT
Author
Hilton, Andrew ; Roth, Amir
Author_Institution
Univ. of Pennsylvania, Philadelphia, PA, USA
Volume
9
Issue
1
fYear
2010
Firstpage
25
Lastpage
28
Abstract
Memory models like SC, TSO, and PC enforce load-load ordering, requiring that loads from any thread appear to occur in program order to all other threads. Out-of-order execution can violate load-load ordering. Multi-processors with out-of-order cores detect load-load ordering violations by snooping an age-ordered load queue on cache invalidations or evictions-events that act as proxies for the completion of remote stores. This mechanism becomes less efficient in an SMT, as every completing store must search the loads queue segments of all other threads. This inefficiency exists because store completions from other threads in the same core are not filtered by the cache: thread 0 observes all of thread 1\´s stores, not only the first store to every cache line. SMT-Directory eliminates this overhead by implementing the filtering traditionally provided by the cache in the cache itself. SMT-Directory adds a per-thread "read\´\´ bit to every cache line. When a load executes, it sets the bit corresponding to its thread. When a store completes, it checks the SMT-Directory bits of its cache line and searches the load queue segments only of those threads whose bits are set. As a result, local store completions trigger searches only for data that is actually shared.
Keywords
cache storage; multi-threading; multiprocessing systems; SMT processor; age-ordered load queue; cache invalidations; cache protocol; coherence protocol; data cache line; load queue segments; load-load ordering; Memory hierarchy; Multithreaded processors;
fLanguage
English
Journal_Title
Computer Architecture Letters
Publisher
ieee
Conference_Location
6/3/2010 12:00:00 AM
ISSN
1556-6056
Type
jour
DOI
10.1109/L-CA.2010.8
Filename
5476387
Link To Document