• DocumentCode
    1381122
  • Title

    CPU cache prefetching: Timing evaluation of hardware implementations

  • Author

    Tse, John ; Smith, Alan Jay

  • Author_Institution
    Altera Corp., El Cerrito, CA, USA
  • Volume
    47
  • Issue
    5
  • fYear
    1998
  • fDate
    5/1/1998 12:00:00 AM
  • Firstpage
    509
  • Lastpage
    526
  • Abstract
    Prefetching into CPU caches has long been known to be effective in reducing the cache miss ratio, but known implementations of prefetching have been unsuccessful in improving CPU performance. The reasons for this are that prefetches interfere with normal cache operations by making cache address and data ports busy, the memory bus busy, the memory banks busy, and by not necessarily being complete by the time that the prefetched data is actually referenced. In this paper, we present extensive quantitative results of a detailed cycle-by-cycle trace-driven simulation of a uniprocessor memory system in which we vary most of the relevant parameters in order to determine when and if hardware prefetching is useful. We find that, in order for prefetching to actually improve performance, the address array needs to be double ported and the data array needs to either be double ported or fully buffered. It is also very helpful for the bus to be very wide (e.g., 16 bytes) for bus transactions to be split and for main memory to be interleaved. Under the best circumstances, i.e., with a significant investment in extra hardware, prefetching can significantly improve performance. For implementations without adequate hardware, prefetching often decreases performance
  • Keywords
    cache storage; performance evaluation; storage management; CPU caches; CPU performance; cache miss ratio; cache operations; cycle-by-cycle trace-driven simulation; hardware implementations; uniprocessor memory system; Cache memory; Central Processing Unit; Degradation; Delay; Hardware; Investments; Memory architecture; Prefetching; System performance; Timing;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/12.677225
  • Filename
    677225