ACM Home Page
Please provide us with feedback. Feedback
Efficient (stack) algorithms for analysis of write-back and sector memories
Full text PdfPdf (2.93 MB)
Source ACM Transactions on Computer Systems (TOCS) archive
Volume 7 ,  Issue 1  (February 1989) table of contents
Pages: 78 - 117  
Year of Publication: 1989
ISSN:0734-2071
Authors
James G. Thompson  U.S. Air Force, Washington, DC
Alan Jay Smith  Univ. of California, Berkeley
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 33,   Citation Count: 15
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/58564.59296
What is a DOI?

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
BAER, J.-L., AND SAGER, G. Dynamic improvement of locality in virtual memory systems. IEEE Trans. Softw. Eng. SE-2, 1 (Mar. 1976), 54-62.
 
3
BELADY, L.A. A study of replacement algorithms for virtual storage computers. IBM Syst. J. 5, 2 (1966), 78-101.
4
 
5
 
6
COFFMAN, S. G., AND RANDELL, B. Performance prediction for extended paged memories. Acta Inf. 1, I (1971), 1-13.
 
7
DENNING, P.J. On modeling program behavior. In Proceedings of the Spring Joint Computer Conference (AFIPS) 1972, pp. 937-944.
 
8
EASTON, M.C. Computation of cold-start miss ratios. IEEE Trans. Comput. TC-27, 5 (May 1978), 404-408.
 
9
GECSEI, J. Determining hit ratios in multilevel hierarchies. IBM J. Res. Dev. 18, 4 (July 1974), 316-327.
10
 
11
 
12
GROSSMAN, C.P. Cache-DASD storage design for improving system performance. IBM Syst. J. 24, 3/4 (1985), 316-334.
 
13
HILL, M.D. Tech. Rep. UCB/CSD 87/381, Ph.D. dissertation, Univ. of California, Berkeley, Nov. 1987.
14
 
15
HORSPOOL, R. N., AND HUBERMAN, R. M. Demand prepaging algorithms with the memory inclusion property. In Proceedings of the 16th Annual Hawaii International Conference on System Sciences. 1983, pp. 138-145.
 
16
IEEE P896.1. Draft Standard, Backplane Bus (Futurebus). Nov. 1986.
17
 
18
 
19
KUBO, H., AND KOBAYASHI, M. A cost-oriented approach to optimal page size. In Proceedings of the 2nd USA-Japan Computer Conference (1975). pp. 258-263.
20
 
21
LmTAY, J.S. Structural aspects of the system/360 Model 85, part II: The cache. IBM Syst. J. 7, 1 (1968), 15-21.
 
22
MATTSON, R. L., GECSEI, J., SLUTZ, D., AND TRAIGER, I.L. Evaluation techniques for storage hierarchies. IBM Syst. J. 9, 2 (1970), 78-117.
 
23
OLKEN, F. Efficient methods for calculating the success function of fixed space replacement policies. Master's thesis, Univ. of California, Berkeley, Calif., May 1981.
24
25
 
26
SHEDLER, G. S., AND SLUTZ, D.R. Derivation of miss ratios for merged access streams. IBM J. Res. Dev. 20, 5 (Sept. 1976), 505-517.
27
 
28
SLUTZ, D. R., AND TRAIGER, I.L. Determination of hit ratios for a class of staging hierarchies. IBM Res. Rep. RJ 1044, May 1972.
 
29
SMITH, A.J. Two methods for the efficient analysis of memory trace data. IEEE Trans. Softw. Eng. SE-3, 1 (Jan. 1977), 94-101.
 
30
SMITH, A. J. Sequential program prefetching in memory hierarchies. Computer 11, 2 (Dec. 1978), 7-21.
31
32
33
34
 
35
 
36
TOKUNAGA, T., HIRAI, Y., AND YAMAMOTO, S. Integrated disk cache systems with file adaptive control. In Proceedings of the IEEE Computer Society Conference (Washington, DC, Sept. 1980). IEEE, New York, 1980, pp. 412-416.
 
37
TRAIGER, I. L., AND SLUTZ, D.R. One pass techniques for the evaluation of memory hierarchies. IBM Res. Rep. RJ 892, Yorktown Heights, N.Y., July 1971.
 
38

CITED BY  15


REVIEW

"Dan Emanoil Grigoras : Reviewer"

Thompson and Smith describe stack algorithms for the analysis of cache memories. They adopt the view that cache memories occupy one level in a hierarchy of memory types. The authors use trace-driven simulation to extend the stack analysis techni  more...

Collaborative Colleagues:
James G. Thompson: colleagues
Alan Jay Smith: colleagues