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 条
[21]   Lock-Contention-Aware Scheduler: A Scalable and Energy-Efficient Method for Addressing Scalability Collapse on Multicore Systems [J].
Cui, Yan ;
Wang, Yingxin ;
Chen, Yu ;
Shi, Yuanchun .
ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2013, 9 (04)
[22]   Memory Management in NUMA Multicore Systems: Trapped between Cache Contention and Interconnect Overhead [J].
Majo, Zoltan ;
Gross, Thomas R. .
ACM SIGPLAN NOTICES, 2011, 46 (11) :11-32
[23]   Contention-Aware Task and Communication Co-Scheduling for Network-on-Chip based Multiprocessor System-on-Chip [J].
Yang, Lei ;
Liu, Weichen ;
Jiang, Weiwen ;
Yi, Juan ;
Liu, Duo ;
Zhuge, Qingfeng .
2014 IEEE 20TH INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS (RTCSA), 2014,
[24]   PCCS: Processor-Centric Contention-aware Slowdown Model for Heterogeneous System-on-Chips [J].
Xu, Yuanchao ;
Belviranli, Mehmet E. ;
Shen, Xipeng ;
Vetter, Jeffrey .
PROCEEDINGS OF 54TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2021, 2021, :1282-1295
[25]   CALM: Contention-Aware Latency-Minimal Application Mapping for Flattened Butterfly On-Chip Networks [J].
Zhu, Di ;
Yue, Siyu ;
Pedram, Massoud ;
Chen, Lizhong .
ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS, 2017, 22 (02)
[26]   Architecture-aware configuration and scheduling of matrix multiplication on asymmetric multicore processors [J].
Catalan, Sandra ;
Igual, Francisco D. ;
Mayo, Rafael ;
Rodriguez-Sanchez, Rafael ;
Quintana-Orti, Enrique S. .
CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2016, 19 (03) :1037-1051
[27]   Decoupling Contention Management from Scheduling [J].
Johnson, F. Ryan ;
Stoica, Radu ;
Ailamaki, Anastasia ;
Mowry, Todd C. .
ACM SIGPLAN NOTICES, 2010, 45 (03) :117-128
[28]   Survey of Scheduling Techniques for Addressing Shared Resources in Multicore Processors [J].
Zhuravlev, Sergey ;
Carlos Saez, Juan ;
Blagodurov, Sergey ;
Fedorova, Alexandra ;
Prieto, Manuel .
ACM COMPUTING SURVEYS, 2012, 45 (01)
[29]   Leveraging Core Specialization via OS Scheduling to Improve Performance on Asymmetric Multicore Systems [J].
Carlos Saez, Juan ;
Fedorova, Alexandra ;
Koufaty, David ;
Prieto, Manuel .
ACM TRANSACTIONS ON COMPUTER SYSTEMS, 2012, 30 (02)
[30]   Code-size-aware Scheduling of Synchronous Dataflow Graphs on Multicore Systems [J].
Ma, Mingze ;
Sakellariou, Rizos .
ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2021, 20 (03)