Spatial Locality-Aware Cache Partitioning for Effective Cache Sharing

被引:13
|
作者
Gupta, Saurabh [1 ]
Zhou, Huiyang [2 ]
机构
[1] Oak Ridge Natl Lab, Oak Ridge, TN USA
[2] North Carolina State Univ, Raleigh, NC USA
关键词
shared last level cache; cache partitioning; spatial locality; cache management; high bandwidth memory;
D O I
10.1109/ICPP.2015.24
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:150 / 159
页数:10
相关论文
共 50 条
  • [21] Line Sharing Cache: Exploring Cache Capacity with Frequent Line Value Locality
    Oka, Keitarou
    Sasaki, Hiroshi
    Inoue, Koji
    [J]. 2013 18TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2013, : 669 - 674
  • [22] Locality-Aware Bank Partitioning for Shared DRAM MPSoCs
    Liu, Yangguo
    Lu, Junlin
    Tong, Dong
    Cheng, Xu
    [J]. 2017 22ND ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2017, : 770 - 775
  • [23] Heterogeneous-aware cache partitioning: Improving the fairness of shared storage cache
    Li, Yong
    Feng, Dan
    Shi, Zhan
    [J]. PARALLEL COMPUTING, 2014, 40 (10) : 710 - 721
  • [24] MLP-aware dynamic cache partitioning
    Moreto, Miquel
    Cazorla, Rancisco J.
    Ramirez, Alex
    Valero, Mateo
    [J]. HIGH PERFORMANCE EMBEDDED ARCHITECTURES AND COMPILERS, 2008, 4917 : 337 - +
  • [25] Cache-Aware Iteration Space Partitioning
    Kejariwal, Arun
    Nicolau, Alexandru
    Banerjee, Utpal
    Veidenbaum, Alexander V.
    Polychronopoulos, Constantine D.
    [J]. PPOPP'08: PROCEEDINGS OF THE 2008 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING, 2008, : 269 - 270
  • [26] Variation Aware Cache Partitioning for Multithreaded Programs
    Kozhikkottu, Vivek
    Pan, Abhisek
    Pai, Vijay
    Dey, Sujit
    Raghunathan, Anand
    [J]. 2014 51ST ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2014,
  • [27] RECAP: Region-Aware Cache Partitioning
    Sundararajan, Karthik T.
    Jones, Timothy M.
    Topham, Nigel P.
    [J]. 2013 IEEE 31ST INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2013, : 294 - 301
  • [28] Locality-Aware Load Sharing in Mobile Cloud Computing
    Jonathan, Albert
    Chandra, Abhishek
    Weissman, Jon
    [J]. PROCEEDINGS OF THE 10TH INTERNATIONAL CONFERENCE ON UTILITY AND CLOUD COMPUTING (UCC' 17), 2017, : 141 - 150
  • [29] A Locality-Aware, Energy-Efficient Cache Design for Large-Scale Multi-Core Systems
    Alshegaifi, Abdulrahman
    Huang, Chun-Hsi
    [J]. IEEE 2018 INTERNATIONAL CONGRESS ON CYBERMATICS / 2018 IEEE CONFERENCES ON INTERNET OF THINGS, GREEN COMPUTING AND COMMUNICATIONS, CYBER, PHYSICAL AND SOCIAL COMPUTING, SMART DATA, BLOCKCHAIN, COMPUTER AND INFORMATION TECHNOLOGY, 2018, : 497 - 502
  • [30] Reuse-Aware Cache Partitioning Framework for Data-Sharing Multicore Systems
    Ghosh, Soma Niloy
    Sahula, Vineet
    Bhargava, Lava
    [J]. 2021 IEEE INTERNATIONAL SYMPOSIUM ON SMART ELECTRONIC SYSTEMS (ISES 2021), 2021, : 277 - 278