Theory of Computing Systems

, Volume 34, Issue 2, pp 115–144 | Cite as

Thread Scheduling for Multiprogrammed Multiprocessors

  • N. S. Arora
  • R. D. Blumofe
  • C. G. Plaxton
Article

Abstract.

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 T1 and critical-path length Tfty , and for any number P of processes, our scheduler executes the computation in expected time O(T1/PA + Tfty P/PA) , where PA 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 T1/Tfty .

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag New York 2001

Authors and Affiliations

  • N. S. Arora
    • 1
  • R. D. Blumofe
    • 1
  • C. G. Plaxton
    • 1
  1. 1.Department of Computer Science,\{nimar,rdb,plaxton\}@cs.utexas.eduUS

Personalised recommendations