tScale : A Contention-Aware Multithreaded Framework for Multicore Multiprocessor Systems

被引:1
|
作者
Cai, Miao [1 ]
Liu, Shenming [1 ]
Huang, Hao [1 ]
机构
[1] Nanjing Univ, Dept Comp Sci & Technol, Nanjing 210023, Jiangsu, Peoples R China
基金
美国国家科学基金会;
关键词
multicore; lock contention; thread scheduling; system call; LOCK;
D O I
10.1109/ICPADS.2017.00052
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
On the multicore and multiprocessor system, multithreaded applications which are kernel-intensive usually suffer from two kinds of performance issues, first one is frequent context switch between kernel/user mode. Another one is lock contention caused by non-scalable synchronization primitives (e.g., ticket spin lock) and may even result in performance degradation under heavy contention level. Unfortunately, current Linux threading model (i.e., NPTL) which adopts exception-based system call mechanism fails to reduce the excessive system call cost. Besides, conventional threading scheduler which is unconscious of lock contention also lacks the ability to limit the number of system-wide contending parallel threads. Both of them impede the application's throughput increment and may lead to the performance breakdown eventually. In this paper we propose a contention-aware threading framework to alleviate these two problems. Our proposed design is composed of two tightly contected components: system call batching via user-level thread library and a contention-aware scheduler based on non-work-conserving scheduling policy. The user-level threading library gathers multiple system call invocations transparently and deliverys these requests to the underlaying kernel working threads. Therefore, tScale improves application performance by reducing massive context switch cost. Then through continuing monitoring systemwide lock contention level and application's total throughput increment, tScale can quickly adjust the number of contending threads in order to sustain the maximum throughput. The prototype system is implemented on Linux 3.18.30 and Glibc 2.23. In microbenchmarks on a 32-core machine, experiment results show that our approach can not only improve the application throughput by up to 20% but also address the lock contention efficiently.
引用
收藏
页码:334 / 343
页数:10
相关论文
共 50 条
  • [31] QoS and contention-aware multi-resource reservation
    Xu, DY
    Nahrstedt, K
    Viswanathan, A
    Wichadakul, D
    NINTH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE DISTRIBUTED COMPUTING, PROCEEDINGS, 2000, : 3 - 10
  • [32] Cache-Hierarchy Contention-Aware Scheduling in CMPs
    Feliu, Josue
    Petit, Salvador
    Sahuquillo, Julio
    Duato, Jose
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2014, 25 (03) : 581 - 590
  • [33] Contention-aware admission control for ad hoc networks
    Yang, YL
    Kravets, R
    IEEE TRANSACTIONS ON MOBILE COMPUTING, 2005, 4 (04) : 363 - 377
  • [34] Contention-Aware Task and Communication Co-Scheduling for Network-on-Chip based Multiprocessor System-on-Chip
    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,
  • [35] Contention-Aware Reliability Management Scheme for Parallel Tasks Scheduling in Heterogeneous Computing Systems
    Zhang, Longxin
    Li, Kenli
    Wen, Zhicheng
    Peng, Cheng
    Li, Keqin
    2016 SEVENTH INTERNATIONAL GREEN AND SUSTAINABLE COMPUTING CONFERENCE (IGSC), 2016,
  • [36] Toggle: Contention-Aware Task Scheduler for Concurrent Hierarchical Operations
    Kalikar, Saurabh
    Nasre, Rupesh
    EURO-PAR 2019: PARALLEL PROCESSING, 2019, 11725 : 142 - 155
  • [37] Contention-Aware Communication Schedule for High-Speed Communication
    Anthony T.C. Tam
    Cho-Li Wang
    Cluster Computing, 2003, 6 (4) : 339 - 353
  • [38] Contention-Aware Performance Analysis of Mobility-Assisted Routing
    Jindal, Apoorva
    Psounis, Konstantinos
    IEEE TRANSACTIONS ON MOBILE COMPUTING, 2009, 8 (02) : 145 - 161
  • [39] Resource Contention-Aware Virtual Machine Management for Enterprise Applications
    Fox, Andrew
    Turner, Andrew
    Kim, Hyong S.
    2012 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2012, : 1641 - 1646
  • [40] Contention-Aware Adaptive Data Rate for Throughput Optimization in LoRaWAN
    Kim, Sungryul
    Yoo, Younghwan
    SENSORS, 2018, 18 (06)