• DocumentCode
    1557343
  • Title

    Skewed associativity improves program performance and enhances predictability

  • Author

    Bodin, François ; Seznec, André

  • Author_Institution
    IRISA, Rennes, France
  • Volume
    46
  • Issue
    5
  • fYear
    1997
  • fDate
    5/1/1997 12:00:00 AM
  • Firstpage
    530
  • Lastpage
    544
  • Abstract
    Performance tuning becomes harder as computer technology advances. One of the factors is the increasing complexity of memory hierarchies. Most modern machines now use at least one level of cache memory. To reduce execution stalls, cache misses must be very low. Software techniques used to improve locality have been developed for numerical codes, such as loop blocking and copying. Unfortunately, the behavior of direct mapped and set associative caches is still erratic when large data arrays are accessed. Execution time can vary drastically for the same loop kernel depending on uncontrolled factors such as array leading size. The only software method available to improve execution time stability is the copying of frequently used data, which is costly in execution time. Users are not usually cache organization experts. They are not aware of such phenomena and have no control over it. In this paper, we show that the recently proposed four-way skewed associative cache yields very stable execution times and good average miss ratios on blocked algorithms. As a result, execution time is faster and much more predictable than with conventional caches. It is therefore possible to use larger block sizes in blocked algorithms, which will further reduce blocking overhead costs
  • Keywords
    cache storage; content-addressable storage; performance evaluation; average miss ratios; blocked algorithms; cache memory; four-way skewed associative cache; loop blocking; performance tuning; program performance; skewed associativity; Application software; Cache memory; Costs; Degradation; Kernel; Stability;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/12.589219
  • Filename
    589219