Title :
Reducing the harmful effects of last-level cache polluters with an OS-level, software-only pollute buffer
Author :
Soares, Livio ; Tam, David ; Stumm, Michael
Author_Institution :
Dept. of Electr. & Comput. Eng., Univ. of Toronto, Toronto, ON
Abstract :
It is well recognized that LRU cache-line replacement can be ineffective for applications with large working sets or non-localized memory access patterns. Specifically, in last-level processor caches, LRU can cause cache pollution by inserting non-reuseable elements into the cache while evicting reusable ones. The work presented in this paper addresses last-level cache pollution through a dynamic operating system mechanism, called ROCS, requiring no change to underlying hardware and no change to applications. ROCS employs hardware performance counters on a commodity processor to characterize application cache behavior at run-time. Using this online profiling, cache unfriendly pages are dynamically mapped to a pollute buffer in the cache, eliminating competition between reusable and non-reusable cache lines. The operating system implements the pollute buffer through a page-coloring based technique, by dedicating a small slice of the last-level cache to store non-reusable pages. Measurements show that ROCS, implemented in the Linux 2.6.24 kernel and running on a 2.3 GHz PowerPC 970FX, improves performance of memory-intensive SPEC CPU 2000 and NAS benchmarks by up to 34%, and 16% on average.
Keywords :
cache storage; operating systems (computers); LRU cache-line replacement; OS-level pollute buffer; ROCS; application cache behavior; commodity processor; dynamic operating system mechanism; hardware performance counters; harmful effects; large working sets; last-level cache polluters; last-level processor cache; nonlocalized memory access patterns; nonreuseable elements; online profiling; page-coloring based technique; software-only pollute buffer; Application software; Buffer storage; Counting circuits; Hardware; Kernel; Linux; Operating systems; Pattern recognition; Pollution measurement; Runtime;
Conference_Titel :
Microarchitecture, 2008. MICRO-41. 2008 41st IEEE/ACM International Symposium on
Conference_Location :
Lake Como
Print_ISBN :
978-1-4244-2836-6
Electronic_ISBN :
1072-4451
DOI :
10.1109/MICRO.2008.4771796