SRM-Buffer: An OS Buffer Management Technique to Prevent Last Level Cache From Thrashing in Multicores
In this paper, the authors propose a buffer cache design called Selected Region Mapping Buffer (SRM-Buffer) for multicore systems to effectively address the cache pollution problem caused by OS buffer. SRM-buffer improves existing OS buffer management with an enhanced page allocation policy that carefully selects mapping physical pages upon buffer misses. For a sequence of blocks accessed by an application, SRM-buffer allocates physical pages that are mapped to a selected region consisting of a small portion of sets in LLC. Thus, when these blocks are accessed, cache pollution is effectively limited within the small cache region. They have implemented a prototype of SRM-buffer into Linux kernel, and tested it with extensive workloads.