Thread scheduling for multiprogrammed multiprocessors

被引:92
|
作者
Arora, NS [1 ]
Blumofe, RD [1 ]
Plaxton, CG [1 ]
机构
[1] Univ Texas, Dept Comp Sci, Austin, TX 78712 USA
基金
美国国家科学基金会;
关键词
D O I
10.1007/s00224-001-0004-z
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present a user-level thread scheduler for shared-memory multiprocessors, and we analyze its performance under multiprogramming. We model multiprogramming with two scheduling levels: our scheduler runs at user-level and schedules threads onto a fixed collection of processes, while below this level, the operating system kernel schedules processes onto a fixed collection of processors. We consider the kernel to be an adversary, and our goal is to schedule threads onto processes such that we make efficient use of whatever processor resources are provided by the kernel. Our thread scheduler is a non-blocking implementation of the work-stealing algorithm. For any multithreaded computation with work T-1 and critical-path length T-infinity, and for any number P of processes, our scheduler executes the computation in expected time O(T-1 / P-A + T-infinity P / P-A), where P-A is the average number of processors allocated to the computation by the kernel. This time bound is optimal to within a constant factor, and achieves linear speedup whenever P is small relative to the parallelism T-1/T-infinity.
引用
收藏
页码:115 / 144
页数:30
相关论文
共 50 条
  • [11] Comparing processor allocation strategies in multiprogrammed shared-memory multiprocessors
    Yue, KK
    Lilja, DJ
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1998, 49 (02) : 245 - 258
  • [12] A DYNAMIC PROCESSOR ALLOCATION POLICY FOR MULTIPROGRAMMED SHARED-MEMORY MULTIPROCESSORS
    MCCANN, C
    VASWANI, R
    ZAHORJAN, J
    ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1993, 11 (02): : 146 - 178
  • [13] A job scheduling strategy for heterogeneous multiprogrammed systems
    Maheshwari, P
    PARALLEL PROCESSING AND APPLIED MATHEMATICS, 2004, 3019 : 915 - 920
  • [14] Nonblocking algorithms and preemption-safe locking on multiprogrammed shared memory multiprocessors
    Michael, MM
    Scott, ML
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1998, 51 (01) : 1 - 26
  • [15] CHARACTERIZATION OF PROGRAMS FOR SCHEDULING IN MULTIPROGRAMMED PARALLEL SYSTEMS
    MAJUMDAR, S
    EAGER, DL
    BUNT, RB
    PERFORMANCE EVALUATION, 1991, 13 (02) : 109 - 130
  • [16] Adaptive scheduling of multiprogrammed dynamic-multithreading applications
    Wang, Zhe
    Xu, Chen
    Agrawal, Kunal
    Li, Jing
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2022, 162 : 76 - 88
  • [17] A scheduling policy for preserving cache locality in a multiprogrammed system
    Jung, I
    Hyun, J
    Lee, J
    JOURNAL OF SYSTEMS ARCHITECTURE, 2000, 46 (13) : 1191 - 1204
  • [18] The scheduling with rejection on uniform multiprocessors
    Liu Shoupeng
    Wei Fei
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON EDUCATION, MANAGEMENT, INFORMATION AND MEDICINE (EMIM 2015), 2015, 8 : 146 - 151
  • [19] A scalable scheduling for Symmetric Multiprocessors
    Kang, OH
    Si-Gwan, K
    PDPTA'2001: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, 2001, : 2123 - 2128
  • [20] Hierarchical scheduling for symmetric multiprocessors
    Chandra, Abhishek
    Shenoy, Prashant
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2008, 19 (03) : 418 - 431