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 条
[11]   Contention-aware prediction for performance impact of task co-running in multicore computers [J].
Ren, Shenyuan ;
He, Ligang ;
Li, Junyu ;
Chen, Zhiyan ;
Jiang, Peng ;
Li, Chang-Tsun .
WIRELESS NETWORKS, 2022, 28 (03) :1293-1300
[12]   A Pressure-Aware Policy for Contention Minimization on Multicore Systems [J].
Kundan, Shivam ;
Marinakis, Theodoros ;
Anagnostopoulos, Iraklis ;
Kagaris, Dimitri .
ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2022, 19 (03)
[13]   Communication-Aware Affinity Scheduling Heuristics in Multicore Systems [J].
Regueira, Diego ;
Iturriaga, Santiago ;
Nesmachnow, Sergio .
HIGH PERFORMANCE COMPUTING CARLA 2016, 2017, 697 :33-48
[14]   Hydrogen: Contention-Aware Hybrid Memory for Heterogeneous CPU-GPU Architectures [J].
Li, Yiwei ;
Gao, Mingyu .
SC24: INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS, 2024, 2024,
[15]   Addressing Shared Resource Contention in Multicore Processors via Scheduling [J].
Zhuravlev, Sergey ;
Blagodurov, Sergey ;
Fedorova, Alexandra .
ASPLOS XV: FIFTEENTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, 2010, :129-141
[16]   Optimal Energy-Aware Scheduling in VFI-enabled Multicore Systems [J].
Hajiamini, Shervin ;
Shirazi, Behrooz ;
Cain, Chris ;
Dong, Hongbo .
2017 19TH IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS (HPCC) / 2017 15TH IEEE INTERNATIONAL CONFERENCE ON SMART CITY (SMARTCITY) / 2017 3RD IEEE INTERNATIONAL CONFERENCE ON DATA SCIENCE AND SYSTEMS (DSS), 2017, :490-497
[17]   FACT: a Framework for Adaptive Contention-aware Thread Migrations [J].
Pusukuri, Kishore Kumar ;
Vengerov, David ;
Fedorova, Alexandra ;
Kalogeraki, Vana .
PROCEEDINGS OF THE 2011 8TH ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS (CF 2011), 2011,
[18]   Contention-Aware Scheduler: Unlocking Execution Parallelism in Multithreaded Java']Java Programs [J].
Xian, Feng ;
Srisa-an, Witawas ;
Jiang, Hong .
ACM SIGPLAN NOTICES, 2008, 43 (10) :163-179
[19]   CAPSys: Contention-aware task placement for data stream processing [J].
Wang, Yuanli ;
Huang, Lei ;
Wang, Zikun ;
Kalavri, Vasiliki ;
Matta, Ibrahim .
PROCEEDINGS OF THE 2025 TWENTIETH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS, EUROSYS 2025, 2025, :654-670
[20]   Contention-Aware Scheduler: Unlocking Execution Parallelism in Multithreaded Java']Java Programs [J].
Xian, Feng ;
Srisa-an, Witawas ;
Jiang, Hong .
OOPSLA 2008 NASHVILLE, CONFERENCE PROCEEDINGS: MUSIC CITY USA, OOPSLA, 2008, :163-179