Efficient (stack) algorithms for analysis of write-back and sector memories
- 1 January 1989
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Computer Systems
- Vol. 7 (1), 78-117
- https://doi.org/10.1145/58564.59296
Abstract
For the class of replacement algorithms known as stack algorithms, existing analysis techniques permit the computation of memory miss ratios for all memory sizes simultaneously in one pass over a memory reference string. We extend the class of computations possible by this methodology in two ways. First, we show how to compute the effects of copy-backs in write-back caches. The key observation here is that a given block is clean for all memory sizes less than or equal to C blocks and is dirty for all larger memory sizes. Our technique permits efficient computations for algorithms or systems using periodic write-back and/or block deletion. The second extension permits stack analysis simulation for sector (or subblock) caches in which a sector (associated with an address tag) consists of subsectors (or subblocks) that can be loaded independently. The key observation here is that a subsector is present only in caches of size C or greater. Load forward prefetching in a sector cache is shown to be a stack algorithm and is easily simulated using our technique. Running times for our methods are only slightly higher than for a simulation of a single memory size using nonstack techniques.Keywords
This publication has 18 references indexed in Scilit:
- The Clipper processor: instruction set architecture and implementationCommunications of the ACM, 1989
- Cache coherence protocols: evaluation using a multiprocessor simulation modelACM Transactions on Computer Systems, 1986
- Cache-DASD storage design for improving system performanceIBM Systems Journal, 1985
- Computation of Cold-Start Miss RatiosIEEE Transactions on Computers, 1978
- Dynamic Improvement of Locality in Virtual Memory SystemsIEEE Transactions on Software Engineering, 1976
- The 2nd USA-Japan Computer ConferenceComputer, 1975
- Determining Hit Ratios for Multilevel HierarchiesIBM Journal of Research and Development, 1974
- Performance predictions for extended paged memoriesActa Informatica, 1971
- An anomaly in space-time characteristics of certain programs running in a paging machineCommunications of the ACM, 1969
- A study of replacement algorithms for a virtual-storage computerIBM Systems Journal, 1966