Addressing Shared Resource Contention in Multicore Processors via Scheduling

被引:82
作者
Zhuravlev, Sergey [1 ]
Blagodurov, Sergey [1 ]
Fedorova, Alexandra [1 ]
机构
[1] Simon Fraser Univ, Sch Comp Sci, Vancouver, BC, Canada
关键词
Performance; Measurement; Algorithms; Multicore processors; shared resource contention; scheduling;
D O I
10.1145/1735971.1736036
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Contention for shared resources on multicore processors remains an unsolved problem in existing systems despite significant research efforts dedicated to this problem in the past. Previous solutions focused primarily on hardware techniques and software page coloring to mitigate this problem. Our goal is to investigate how and to what extent contention for shared resource can be mitigated via thread scheduling. Scheduling is an attractive tool, because it does not require extra hardware and is relatively easy to integrate into the system. Our study is the first to provide a comprehensive analysis of contention-mitigating techniques that use only scheduling. The most difficult part of the problem is to find a classification scheme for threads, which would determine how they affect each other when competing for shared resources. We provide a comprehensive analysis of such classification schemes using a newly proposed methodology that enables to evaluate these schemes separately from the scheduling algorithm itself and to compare them to the optimal. As a result of this analysis we discovered a classification scheme that addresses not only contention for cache space, but contention for other shared resources, such as the memory controller, memory bus and prefetching hardware. To show the applicability of our analysis we design a new scheduling algorithm, which we prototype at user level, and demonstrate that it performs within 2% of the optimal. We also conclude that the highest impact of contention-aware scheduling techniques is not in improving performance of a workload as a whole but in improving quality of service or performance isolation for individual applications.
引用
收藏
页码:129 / 141
页数:13
相关论文
共 50 条
  • [21] Architecture-aware configuration and scheduling of matrix multiplication on asymmetric multicore processors
    Catalan, Sandra
    Igual, Francisco D.
    Mayo, Rafael
    Rodriguez-Sanchez, Rafael
    Quintana-Orti, Enrique S.
    [J]. CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2016, 19 (03): : 1037 - 1051
  • [22] Towards completely fair scheduling on asymmetric single-ISA multicore processors
    Carlos Saez, Juan
    Pousa, Adrian
    Castro, Fernando
    Chaver, Daniel
    Prieto-Matias, Manuel
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2017, 102 : 115 - 131
  • [23] Shared resource aware scheduling on power-constrained tiled many-core processors
    Jha, Sudhanshu Shekhar
    Heirman, Wim
    Falcon, Ayose
    Tubella, Jordi
    Gonzalez, Antonio
    Eeckhout, Lieven
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2017, 100 : 30 - 41
  • [24] Thread Isolation to Improve Symbiotic Scheduling on SMT Multicore Processors
    Feliu, Josue
    Sahuquillo, Julio
    Petit, Salvador
    Eeckhout, Lieven
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2020, 31 (02) : 359 - 373
  • [25] A scheduling algorithm based on critical factors for heterogeneous multicore processors
    Li, Chen
    Lin, Ziniu
    Tian, Lihua
    Zhang, Bin
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2024, 36 (07)
  • [26] A control-theoretical approach to thread scheduling for multicore processors
    Papadopoulos, Alessandro Vittorio
    Carone, Roberto
    Maggio, Martina
    Leva, Alberto
    [J]. 2015 IEEE CONFERENCE ON CONTROL AND APPLICATIONS (CCA 2015), 2015, : 1103 - 1110
  • [27] Autonomic resource contention-aware scheduling
    Sheikhalishahi, Mehdi
    Grandinetti, Lucio
    Wallace, Richard M.
    Luis Vazquez-Poletti, Jose
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2015, 45 (02) : 161 - 175
  • [28] Compiler-Assisted Dynamic Scheduling for Effective Parallelization of Loop Nests on Multicore Processors
    Baskaran, Muthu Manikandan
    Vydyanathan, Nagavijayalakshmi
    Bondhugula, Uday Kumar
    Ramanujam, J.
    Rountev, Atanas
    Sadayappan, P.
    [J]. ACM SIGPLAN NOTICES, 2009, 44 (04) : 219 - 228
  • [29] Near-optimal replacement policies for shared caches in multicore processors
    Diaz, Javier
    Ibanez, Pablo
    Monreal, Teresa
    Vinals, Victor
    Llaberia, Jose M.
    [J]. JOURNAL OF SUPERCOMPUTING, 2021, 77 (10) : 11756 - 11785
  • [30] Energy efficient scheduling of real-time tasks on multicore processors
    Seo, Euiseong
    Jeong, Jinkyu
    Park, Seonyeong
    Lee, Joonwon
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2008, 19 (11) : 1540 - 1552