Page placement algorithms for large real-indexed caches
- 1 November 1992
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Computer Systems
- Vol. 10 (4), 338-359
- https://doi.org/10.1145/138873.138876
Abstract
When a computer system supports both paged virtual memory and large real-indexed caches, cache performance depends in part on the main memory page placement. To date, most operating systems place pages by selecting an arbitrary page frame from a pool of page frames that have been made available by the page replacement algorithm. We give a simple model that shows that this naive (arbitrary) page placement leads to up to 30% unnecessary cache conflicts. We develop several page placement algorithms, calledcareful-mapping algorithms, that try to select a page frame (from the pool of available page frames) that is likely to reduce cache contention. Using trace-driven simulation, we find that careful mapping results in 10–20% fewer (dynamic) cache misses than naive mapping (for a direct-mapped real-indexed multimegabyte cache). Thus, our results suggest that careful mapping by the operating system can get about half the cache miss reduction that a cache size (or associativity) doubling can.Keywords
This publication has 10 references indexed in Scilit:
- Characteristics Of Performance-Optimal Multi-level Cache HierarchiesPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2005
- Evaluating associativity in CPU cachesIEEE Transactions on Computers, 1989
- An analytical cache modelACM Transactions on Computer Systems, 1989
- Program optimization for instruction cachesPublished by Association for Computing Machinery (ACM) ,1989
- On the inclusion properties for multi-level cache hierarchiesACM SIGARCH Computer Architecture News, 1988
- Footprints in the cacheACM Transactions on Computer Systems, 1987
- Static grouping of small objects to enhance performance of a paged virtual memoryACM Transactions on Computer Systems, 1984
- The use of static column ram as a memory hierarchyPublished by Association for Computing Machinery (ACM) ,1984
- Cache MemoriesACM Computing Surveys, 1982
- The working set model for program behaviorCommunications of the ACM, 1968