NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Massively parallel algorithms for trace-driven cache simulationsTrace driven cache simulation is central to computer design. A trace is a very long sequence of reference lines from main memory. At the t(exp th) instant, reference x sub t is hashed into a set of cache locations, the contents of which are then compared with x sub t. If at the t sup th instant x sub t is not present in the cache, then it is said to be a miss, and is loaded into the cache set, possibly forcing the replacement of some other memory line, and making x sub t present for the (t+1) sup st instant. The problem of parallel simulation of a subtrace of N references directed to a C line cache set is considered, with the aim of determining which references are misses and related statistics. A simulation method is presented for the Least Recently Used (LRU) policy, which regradless of the set size C runs in time O(log N) using N processors on the exclusive read, exclusive write (EREW) parallel model. A simpler LRU simulation algorithm is given that runs in O(C log N) time using N/log N processors. Timings are presented of the second algorithm's implementation on the MasPar MP-1, a machine with 16384 processors. A broad class of reference based line replacement policies are considered, which includes LRU as well as the Least Frequently Used and Random replacement policies. A simulation method is presented for any such policy that on any trace of length N directed to a C line set runs in the O(C log N) time with high probability using N processors on the EREW model. The algorithms are simple, have very little space overhead, and are well suited for SIMD implementation.
Document ID
19920006389
Acquisition Source
Legacy CDMS
Document Type
Preprint (Draft being sent to journal)
Authors
Nicol, David M.
(College of William and Mary Hampton, VA., United States)
Greenberg, Albert G.
(Bell Telephone Labs., Inc., New York NY., United States)
Lubachevsky, Boris D.
(Bell Telephone Labs., Inc., New York NY., United States)
Date Acquired
September 6, 2013
Publication Date
November 1, 1991
Subject Category
Computer Programming And Software
Report/Patent Number
NASA-CR-189571
AD-A244295
ICASE-91-83
NAS 1.26:189571
Report Number: NASA-CR-189571
Report Number: AD-A244295
Report Number: ICASE-91-83
Report Number: NAS 1.26:189571
Accession Number
92N15607
Funding Number(s)
PROJECT: RTOP 505-90-52-01
CONTRACT_GRANT: NAS1-18605
CONTRACT_GRANT: NSF ASC-88-19373
CONTRACT_GRANT: NAG1-1132
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available