@inproceedings{6052526140e24edb84c093d51ba5d3fb,
title = "W-order scan: Minimizing cache pollution by application software level cache management for MMDB",
abstract = "The utilization of shared LLC(Last Level Cache) is important for efficiency of multi-core processor. Uncontrolled sharing leads to cache pollution i.e. the weak locality data(single-usage data without re-using) continuously evict the strong locality data (frequently re-used data) from LLC in both inner query processing and co-running programs. For analytical MMDB (Main-Memory Database) applications, with skewed star schema of DW, more than 95\% memory capacity is occupied by memory-resident fact table with weak locality and there are only small size dimension tables with strong locality. Cache partitioning must manage data with different localities inside query processing to avoid cache pollution by weak locality fact table. The static OS-based cache partitioning suffers from insufficient memory address capacity due to large fact table and the dynamic OS-based cache partitioning also suffers from data movement overhead during cache re-allocation. In order to employ a practical and effective cache partitioning policy, we propose an application software-based W-order scan policy for real analytical MMDB application. The consecutive physical address based W-order policy is proposed to reduce cache misses with high memory utilization by controlling the physical page accessing order within large and consecutive physical pages. Another approach is page-color index i.e. we extract page-color bits from pages of weak locality data and sort the page address by page-color bits, when we perform a page-color index scan, we can control the physical page accessing order too without supporting from OS for large consecutive physical page allocating. We measure the L2 cache miss rate by simulating a typical hash join operation. The experimental results show that DBMSs can improve cache performance through controlling weak locality data accessing pattern by themselves oppose to depending on supports by hardware or OS.",
keywords = "W-order scan, cache partitioning, cache pollution, page-color index",
author = "Yansong Zhang and Min Jiao and Zhanwei Wang and Shan Wang and Xuan Zhou",
year = "2011",
doi = "10.1007/978-3-642-23535-1\_41",
language = "英语",
isbn = "9783642235344",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
pages = "480--492",
booktitle = "Web-Age Information Management - 12th International Conference,WAIM 2011, Proceedings",
note = "12th International Conference on Web-Age Information Management, WAIM 2011 ; Conference date: 14-09-2011 Through 16-09-2011",
}