Affiliation:
1. University of Rochester, USA
Abstract
A program can benefit from improved cache block utilization when contemporaneously accessed data elements are placed in the same memory block. This can reduce the program's memory block working set and thereby, reduce the capacity miss rate. We formally define the problem of data packing for arbitrary number of blocks in the cache and packing factor (the number of data objects fitting in a cache block) and study how well the optimal solution can be approximated for two dual problems. On the one hand, we show that the cache hit maximization problem is approximable within a constant factor, for every fixed number of blocks in the cache. On the other hand, we show that unless P=NP, the cache miss minimization problem cannot be efficiently approximated.
Funder
IBM CAS facutly fellowship
National Science Foundation
Huawei Technologies
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference40 articles.
1. Cortex57 technical reference manual. 2012. Available at http://www.arm.com/products/processors/cortex-a/cortex-a57processor.php. Cortex57 technical reference manual. 2012. Available at http://www.arm.com/products/processors/cortex-a/cortex-a57processor.php.
2. Cortex72 technical reference manual. 2015. Available at http://www.arm.com/products/processors/cortex-a/cortex-a72processor.php. Cortex72 technical reference manual. 2015. Available at http://www.arm.com/products/processors/cortex-a/cortex-a72processor.php.
3. A model for hierarchical memory
4. Balanced graph partitioning
Cited by
10 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Bounded Pathwidth of Control-Flow Graphs;Proceedings of the ACM on Programming Languages;2023-10-16
2. Efficient approximations for cache-conscious data placement;Proceedings of the 43rd ACM SIGPLAN International Conference on Programming Language Design and Implementation;2022-06-09
3. CARL: Compiler Assigned Reference Leasing;ACM Transactions on Architecture and Code Optimization;2022-03-17
4. Improved Basic Block Reordering;IEEE Transactions on Computers;2020-12-01
5. Improving program locality in the GC using hotness;Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation;2020-06-06