DocumentCode :
749018
Title :
A Comparative Study of Set Associative Memory Mapping Algorithms and Their Use for Cache and Main Memory
Author :
Smith, Alan Jay
Author_Institution :
Computer Science Division, Department of Electrical Engineering and Computer Sciences and the Electronics Research search Laboratory, University of California
Issue :
2
fYear :
1978
fDate :
3/1/1978 12:00:00 AM
Firstpage :
121
Lastpage :
130
Abstract :
Set associative page mapping algorithms have become widespread for the operation of cache memories for reasons of cost and efficiency. We show how to calculate analytically the effectiveness of standard bit-selection set associative page mapping or random mapping relative to fully associative (unconstrained mapping) paging. For two miss ratio models, Saltzer´s linear model and a mixed geometric model, we are able to obtain simple, closed-form expressions for the relative LRU fault rates. We also experiment with two (infeasible to implement) dynamic mapping algorithms, in which pages are assigned to sets either in an LRU or FIFO manner at fault times, and find that they often yield significantly lower miss ratios than static algorithms such as bit selection. Trace driven simulations are used to generate experimental results and to verify the accuracy of our calculations. We suggest that as electronically accessed third-level memories composed of electron-beam tubes, magnetic bubbles, or charge-coupled devices become available, algorithms currently used only for cache paging will be applied to main memory, for the same reasons of efficiency, implementation ease, and cost.
Keywords :
Buffer memory; LRU; cache memory; linear paging model; memory mapping; memory technology; paging; placement algorithm; virtual memory; Accuracy; Associative memory; Cache memory; Closed-form solution; Costs; Electron tubes; Energy resources; Heuristic algorithms; Magnetic devices; Solid modeling; Buffer memory; LRU; cache memory; linear paging model; memory mapping; memory technology; paging; placement algorithm; virtual memory;
fLanguage :
English
Journal_Title :
Software Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
0098-5589
Type :
jour
DOI :
10.1109/TSE.1978.231482
Filename :
1702505
Link To Document :
بازگشت