Addressing Shared Resource Contention in Multicore Processors via Scheduling

被引:0
作者
Zhuravlev, Sergey [1 ]
Blagodurov, Sergey [1 ]
Fedorova, Alexandra [1 ]
机构
[1] Simon Fraser Univ, Sch Comp Sci, Vancouver, BC, Canada
来源
ASPLOS XV: FIFTEENTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS | 2010年
关键词
Multicore processors; shared resource contention; scheduling;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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
相关论文
共 27 条
[1]  
ANMEY D, 2007, RWTH AACHEN SMP CLUS
[2]  
[Anonymous], P CMP MSI HELD CONJ
[3]   StatCache: A probabilistic approach to efficient and accurate data locality analysis [J].
Berg, E ;
Hagersten, E .
ISPASS: 2004 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE, 2004, :20-27
[4]  
BLAGODUROV S, 2009, 200916 S FRASER U
[5]  
Cascaval C., 2000, Languages and Compilers for Parallel Computing. 12th International Workshop, LCPC'99. Proceedings (Lecture Notes in Computer Science Vol.1863), P365
[6]   Predicting inter-thread cache contention on a chip multi-processor architecture [J].
Chandra, D ;
Guo, F ;
Kim, S ;
Solihin, Y .
11TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, PROCEEDINGS, 2005, :340-351
[7]  
Cho SY, 2006, INT SYMP MICROARCH, P455
[8]  
DHIMAN G., 2009, P INT S LOW POW EL D
[9]  
FEDOROVA A, 2007, P 16 INT C PAR ARCH, P25, DOI DOI 10.1109/PACT.2007.40
[10]   Rate-Based QoS Techniques for Cache/Memory in CMP Platforms [J].
Herdrich, Andrew ;
Illikkal, Ramesh ;
Iyer, Ravi ;
Newell, Don ;
Chadha, Vineet ;
Moses, Jaideep .
ICS'09: PROCEEDINGS OF THE 2009 ACM SIGARCH INTERNATIONAL CONFERENCE ON SUPERCOMPUTING, 2009, :479-488