ULCC: A user-level facility for optimizing shared cache performance on multicores

Xiaoning Ding, Kaibo Wang, Xiaodong Zhang

Research output: Contribution to journalArticlepeer-review

27 Scopus citations

Abstract

Scientific applications face serious performance challenges on multicore processors, one of which is caused by access contention in last level shared caches from multiple running threads. The contention increases the number of long latency memory accesses, and consequently increases application execution times. Optimizing shared cache performance is critical to significantly reduce execution times of multi-threaded programs on multicores. However, there are two unique problems to be solved before implementing cache optimization techniques on multicores at the user level. First, available cache space for each running thread in a last level cache is difficult to predict due to access contention in the shared space, which makes cache conscious algorithms for single cores ineffective on multicores. Second, at the user level, programmers are not able to allocate cache space at will to running threads in the shared cache, thus data sets with strong locality may not be allocated with sufficient cache space, and cache pollution can easily happen. To address these two critical issues, we have designed ULCC (User Level Cache Control), a software runtime library that enables programmers to explicitly manage and optimize last level cache usage by allocating proper cache space for different data sets of different threads. We have implemented ULCC at the user level based on a page-coloring technique for last level cache usage management. By means of multiple case studies on an Intel multicore processor, we show that with ULCC, scientific applications can achieve significant performance improvements by fully exploiting the benefit of cache optimization algorithms and by partitioning the cache space accordingly to protect frequently reused data sets and to avoid cache pollution. Our experiments with various applications show that ULCC can significantly improve application performance by nearly 40%.

Original languageEnglish (US)
Pages (from-to)103-112
Number of pages10
JournalACM SIGPLAN Notices
Volume46
Issue number8
DOIs
StatePublished - Aug 2011
Externally publishedYes

All Science Journal Classification (ASJC) codes

  • General Computer Science

Keywords

  • Cache
  • Multicore
  • Scientific Computing

Fingerprint

Dive into the research topics of 'ULCC: A user-level facility for optimizing shared cache performance on multicores'. Together they form a unique fingerprint.

Cite this