The selection of optimal cache lines for microprocessor-based controllers

  • Authors:
  • Tsang-Ling Sheu;Yuan-Bao Shieh;Woei Lin

  • Affiliations:
  • IBM Corp., Communication Systems, Research Triangle Park, NC;IBM Corp., Communication Systems, Research Triangle Park, NC;Dept. of Electrical Engineering, University of Hawaii at Manoa, Honolulu, Hawaii

  • Venue:
  • MICRO 23 Proceedings of the 23rd annual workshop and symposium on Microprogramming and microarchitecture
  • Year:
  • 1990

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a method of selecting optimal line sizes of cache memories for microprocessor-based controllers. It is well known that the use of cache memories in microprocessor systems can greatly improve their performance, especially in a heavy-traffic environment. We analyze cache performance using trace-driven simulation, a widely used method that is considered to be effective in exploring cache hit ratios. Three cache parameters, cache sizes, set associativity and line sizes, which can directly impact the hit ratios, are investigated. Among the three parameters, we mainly focus on exploring the effects of selecting line sizes on the entire microprocessor performance. A significant observation is that, although increasing line sizes can result in a higher hit ratio, it also considerably increases traffic to main memory, thereby degrading the performance. This indicates that a larger line size with a slightly higher hit ratio may perform worse than a smaller one with a lower hit ratio. We therefore present a simple method of determining an optimal line size that produces the best overall system performance.