Runtime-Guided Cache Coherence Optimizations in Multi-core Architectures
Rapport, 2013

Emerging task-based parallel programming models shield programmers from the daunting task of parallelism management by delegating the responsibility of mapping and scheduling of individual tasks to the runtime system. The runtime system can also use dependency information between tasks supplied by programmers and the mapping information of tasks to enable optimizations like data-flow based execution and localityaware scheduling of tasks. However, should the cache coherence substrate have access to this information from the runtime system, it would enable aggressive optimizations of prevailing access patterns such as one-to-many producer-consumer sharing and migratory sharing. Such linkage has however not been studied before. We present, for the first time, a family of runtime guided cache coherence optimizations enabled by linking dependency and mapping information from the runtime system to the cache coherence substrate. By making this information available to the cache coherence substrate, we show that optimizations, such as downgrading and self-invalidation, that help reducing overheads associated with producer-consumer and migratory sharing can be supported with reasonable extensions to the baseline cache coherence protocol. Our experimental results establish that each optimization provides significant performance gain in isolation and can provide additional gains when combined. Finally, we evaluate our runtime-guided family of cache coherence optimizations in the context of earlier proposed runtime-guided prefetching schemes and show that they can synergistically offer more benefit than each technique in isolation.

prefetching

task parallelism

cache coherence

sharing patterns

runtime systems

Författare

Madhavan Manivannan

Chalmers, Data- och informationsteknik, Datorteknik

Per Stenström

Chalmers, Data- och informationsteknik, Datorteknik

Ämneskategorier

Datorteknik

Styrkeområden

Informations- och kommunikationsteknik

Technical report - Department of Computer Science and Engineering, Chalmers University of Technology and Göteborg University: 2013:08