• DocumentCode
    3706489
  • Title

    Spatial Locality-Aware Cache Partitioning for Effective Cache Sharing

  • Author

    Saurabh Gupta;Huiyang Zhou

  • Author_Institution
    Oak Ridge Nat. Lab., Oak Ridge, NC, USA
  • fYear
    2015
  • Firstpage
    150
  • Lastpage
    159
  • Abstract
    In modern multi-core processors, last-level caches (LLCs) are typically shared among multiple cores. Previous works have shown that such sharing is beneficial as different workloads have different needs for cache capacity, and logical partitioning of capacity can improve system performance. However, what is missing in previous works on partitioning shared LLCs is that the heterogeneity in spatial locality among workloads has not been explored. In other words, all the cores use the same block/line size in shared LLCs. In this work, we highlight that exploiting spatial locality enables much more effective cache sharing. The fundamental reason is that for many memory intensive workloads, their cache capacity requirements can be drastically reduced when a large block size is employed, therefore they can effectively donate more capacity to other workloads. To leverage spatial locality for cache partitioning effectively, we first propose a simple yet effective mechanism to measure both spatial and temporal locality at run-time. The locality information is then used to determine both the proper block size and the capacity assigned to each workload. Our experiments show that our Spatial Locality-aware Cache Partitioning (SLCP) significantly outperforms the previous works. We also present several case studies that dissect the effectiveness of SLCP compared to the existing approaches.
  • Keywords
    "Benchmark testing","Prefetching","Optimization","Multicore processing","Partitioning algorithms","Yttrium","Size measurement"
  • Publisher
    ieee
  • Conference_Titel
    Parallel Processing (ICPP), 2015 44th International Conference on
  • ISSN
    0190-3918
  • Type

    conf

  • DOI
    10.1109/ICPP.2015.24
  • Filename
    7349570