You are here
NightWatch: Integrating Lightweight and Transparent Cache Pollution Control into Dynamic Memory Allocation Systems
Rentong Guo, Xiaofei Liao, and Hai Jin, Huazhong University of Science and Technology; Jianhui Yue, Auburn University; Guang Tan, Chinese Academy of Sciences
Cache pollution, by which weak-locality data unduly replaces strong-locality data, may notably degrade application performance in a shared-cache multicore machine. This paper presents NightWatch, a cache management subsystem that provides general, transparent and lowoverhead pollution control to applications. NightWatch is based on the observation that data within the same memory chunk or chunks within the same allocation context often share similar locality property. NightWatch embodies this observation by online monitoring current cache locality to predict future behavior and restricting potential cache polluters proactively. We have integrated NightWatch into two popular allocators, tcmalloc and ptmalloc2. Experiments with SPEC CPU2006 show that NightWatch improves application performance by up to 45% (18% on average), with an average monitoring overhead of 0.57% (up to 3.02%).
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.
author = {Rentong Guo and Xiaofei Liao and Hai Jin and Jianhui Yue and Guang Tan},
title = {{NightWatch}: Integrating Lightweight and Transparent Cache Pollution Control into Dynamic Memory Allocation Systems},
booktitle = {2015 USENIX Annual Technical Conference (USENIX ATC 15)},
year = {2015},
isbn = {978-1-931971-225},
address = {Santa Clara, CA},
pages = {307--318},
url = {https://www.usenix.org/conference/atc15/technical-session/presentation/guo},
publisher = {USENIX Association},
month = jul
}
connect with us