• DocumentCode
    1085846
  • Title

    Evaluating associativity in CPU caches

  • Author

    Hill, Mark D. ; Smith, Alan Jay

  • Author_Institution
    Dept. of Comput. Sci., Wisconsin Univ., Madison, WI, USA
  • Volume
    38
  • Issue
    12
  • fYear
    1989
  • fDate
    12/1/1989 12:00:00 AM
  • Firstpage
    1612
  • Lastpage
    1630
  • Abstract
    The authors present new and efficient algorithms for simulating alternative direct-mapped and set-associative caches and use them to quantify the effect of limited associativity on the cache miss ratio. They introduce an algorithm, forest simulation, for simulating alternative direct-mapped caches and generalize one, which they call all-associativity simulation, for simulating alternative direct-mapped, set-associative, and fully-associative caches. The authors find that although all-associativity simulation is theoretically less efficient than forest simulation or stack simulation (a commonly used simulation algorithm), in practice it is not much slower and allows the simulation of many more caches with a single pass through an address trace. The authors also provide data and insight into how varying associatively affects the miss ratio
  • Keywords
    buffer storage; content-addressable storage; CPU caches; all-associativity simulation; associativity; cache miss ratio; direct-mapped; forest simulation; set-associative; stack simulation; Cache memory; Computer science; Computerized monitoring; Contracts; Cost function; Laboratories; Memory architecture;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/12.40842
  • Filename
    40842