Contention-Aware Scheduling on Multicore Systems

被引:102
作者
Blagodurov, Sergey [1 ]
Zhuravlev, Sergey [1 ]
Fedorova, Alexandra [1 ]
机构
[1] Simon Fraser Univ, Burnaby, BC V5A 1S6, Canada
来源
ACM TRANSACTIONS ON COMPUTER SYSTEMS | 2010年 / 28卷 / 04期
关键词
Management; Measurement; Performance; Multicore processors; scheduling; shared resource contention; PERFORMANCE;
D O I
10.1145/1880018.1880019
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 and in optimizing system energy consumption.
引用
收藏
页数:45
相关论文
共 50 条
[41]   Resource-Aware Scheduling for Dependable Multicore Real-Time Systems: Utilization Bound and Partitioning Algorithm [J].
Han, Jian-Jun ;
Wang, Zhenjiang ;
Gong, Sunlu ;
Miao, Tianpeng ;
Yang, Laurence T. .
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2019, 30 (12) :2806-2819
[42]   CMV: Clustered Majority Voting Reliability-Aware Task Scheduling for Multicore Real-Time Systems [J].
Namazi, Alireza ;
Safari, Saeed ;
Mohammadi, Siamak .
IEEE TRANSACTIONS ON RELIABILITY, 2019, 68 (01) :187-200
[43]   Accurate ILP-based contention modeling on statically scheduled multicore systems [J].
Palomo, Xavier ;
Mezzetti, Enrico ;
Abella, Jaume ;
Bril, Reinder J. ;
Cazorla, Francisco J. .
25TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2019), 2019, :15-28
[44]   Task-Aware Priority Scheduling for Multicore Processors [J].
Shi, Qiu-Wei .
PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND INFORMATION SYSTEMS, 2016, 52 :106-110
[45]   Energy-aware scheduling mandatory/optional tasks in multicore real-time systems [J].
Mendez-Diaz, Isabel ;
Orozco, Javier ;
Santos, Rodrigo ;
Zabala, Paula .
INTERNATIONAL TRANSACTIONS IN OPERATIONAL RESEARCH, 2017, 24 (1-2) :173-198
[46]   Power-Aware Job Scheduling on Heterogeneous Multicore Architectures [J].
Chiesi, Matteo ;
Vanzolini, Luca ;
Mucci, Claudio ;
Scarselli, Eleonora Franchi ;
Guerrieri, Roberto .
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2015, 26 (03) :868-877
[47]   Schedulability Analysis of Global Scheduling for Multicore Systems With Shared Caches [J].
Xiao, Jun ;
Altmeyer, Sebastian ;
Pimentel, Andy D. .
IEEE TRANSACTIONS ON COMPUTERS, 2020, 69 (10) :1487-1499
[48]   Mitigating Power Contention: A Scheduling Based Approach [J].
Sasaki, Hiroshi ;
Buyuktosunoglu, Alper ;
Vega, Augusto ;
Bose, Pradip .
IEEE COMPUTER ARCHITECTURE LETTERS, 2017, 16 (01) :60-63
[49]   Scheduling Support for Transactional Memory Contention Management [J].
Maldonado, Walther ;
Marlier, Patrick ;
Felber, Pascal ;
Suissa, Adi ;
Hendler, Danny ;
Fedorova, Alexandra ;
Lawall, Julia L. ;
Muller, Gilles .
ACM SIGPLAN NOTICES, 2010, 45 (05) :79-89
[50]   Flexible system software scheduling for asymmetric multicore systems with PMCSched: A case for Intel Alder Lake [J].
Bilbao, Carlos ;
Saez, Juan Carlos ;
Prieto-Matias, Manuel .
CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2023, 35 (25)