1 / 7

Cache Interference

This article discusses cache interference in multi-threaded architecture, which can cause inter-thread and intra-thread misses, leading to over 20% cache access misses. It explores the alternative solution of bank prediction to efficiently utilize multiple bank structures for instruction scheduling and memory operations.

friedmanj
Download Presentation

Cache Interference

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cache Interference • Multi-threaded architecture causing interference among threads (inter-thread misses) and increasing the interferences inside threads (intra-thread misses) • Could cause more than 20% of all the cache accesses into misses

  2. Multi-Ported Cache • Would be the ideal option • But too expensive and complex to implement in terms of area and power (to which extend?)

  3. Alternative solution • Bank Prediction • The bank information is available early in the pipeline before instruction scheduling • Thus, scheduling can be performed in a way that efficiently utilize the multiple bank structure

  4. Instruction Cache • For instruction fetch, if the PC of different threads point to the same bank, then bank conflict occurs, we can only fetch one thread from one bank at a time, which means we can not achieve the anticipated fetch bandwidth • Then we do prediction to avoid this situation

  5. Data Cache • Memory operations (load/store) predicted to access the same bank are not dispatched simultaneously • Thus save the resources otherwise wasted

  6. Bank Predictor • Bank predictor can be based on bank history information, control flow information, and/or load target-address information • An address predictor is obviously extremely well suited to be adapted for bank prediction, since the bank is solely based on the load’s effective address

  7. Performance aspect • The effectiveness of bank predictor is greatly influenced by the machine configuration and related penalties. • Two aspect • Prediction rate • Prediction accuracy

More Related