• DocumentCode
    1613333
  • Title

    Code reorganization for instruction caches

  • Author

    Gösmann, Klaus ; Hafer, Christian ; Lindmeier, Horst ; Plankl, Josef ; Westerholz, Karl

  • Author_Institution
    Corp. Res. & Dev., Siemens AG, Munchen, Germany
  • fYear
    1993
  • Firstpage
    214
  • Abstract
    Conventional cache optimizations are usually confined to hardware. However, software optimizations are more flexible and allow faster hardware due to reduced complexity. The authors describe a method of using direct mapped caches more effectively by adapting program behavior. They introduce coarse-grained code reorganization as a software method of improving instruction cache hit rates. Based on trace analysis, cache conflicts are computed taking into account both temporal and spatial program locality. This leads to a precise prediction of cache behavior which is used to reorganize the code in address space. The potential of the solution is demonstrated by applying the code reorganizer to a variety of SPEC benchmarks. Both simulated and measured results are presented for various cache sizes. The results show significant performance gains across the various SPEC programs evaluated.
  • Keywords
    buffer storage; optimisation; performance evaluation; program compilers; program diagnostics; SPEC benchmarks; address space; cache conflicts; cache optimizations; cache sizes; coarse-grained code reorganization; direct mapped caches; hit rates; instruction caches; performance gains; reduced complexity; software optimizations; spatial program locality; temporal program locality; trace analysis; Analytical models; Application software; Cache memory; Computational modeling; Computer architecture; Hardware; Modems; Performance gain; Research and development; Size measurement; Tin;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    System Sciences, 1993, Proceeding of the Twenty-Sixth Hawaii International Conference on
  • Print_ISBN
    0-8186-3230-5
  • Type

    conf

  • DOI
    10.1109/HICSS.1993.270743
  • Filename
    270743