DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/L-CA.2013.20
Daehoon Kim , KAIST, Daejeon
Hwanju Kim , KAIST, Daejeon
Jaehyuk Huh , KAIST, Daejeon
Since most of the current multi-core processors use a large last-level cache (LLC), efficient use of an LLC is critical for the overall performance of multi-cores. To improve the caching efficiency, page coloring is a representative software-based approach to allow the OS to control placement of pages on an LLC to improve their cache utility and to avoid conflicts among cores. However, system virtualization, with additional address translation by the hypervisor, can make page coloring techniques used by the guest OS ineffective, as guest physical addresses used by the guest OS for coloring differ from real addresses used for cache indexing in the LLCs. In this paper, we propose a novel LLC architecture to provide the guest OS with a flexible control over LLC placement in virtualized systems. The proposed vCache architecture can preserve coloring information set by the guest OS. In addition to color preservation, vCache can potentially eliminate the traditional limitation of page coloring, the cost of dynamic color changes for memory pages. By using the pollute buffer mechanism, one of the color-based cache optimization techniques, vCache shows performance improvement of benchmark applications up to 33% without degrading performance of another co-running application in the VM.
Color, Virtual machine monitors, Indexing, Memory management, Virtualization, C.1.5.e Memory hierarchy, B.3.2.b Cache memories, C.1.4.e Multi-core/single-chip multiprocessors
Daehoon Kim, Hwanju Kim, Jaehyuk Huh, "vCache: Providing a Transparent View of the LLC in Virtualized Environments", IEEE Computer Architecture Letters, vol. , no. , pp. 0, 5555, doi:10.1109/L-CA.2013.20