The impact of operating system scheduling policies and synchronization methods of performance of parallel applications
- 2 April 1991
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGMETRICS Performance Evaluation Review
- Vol. 19 (1) , 120-132
- https://doi.org/10.1145/107972.107985
Abstract
Shared-memory multiprocessors are frequently used as compute servers with multiple parallel applications executing at the same time. In such environments, the efficiency of a parallel application can be significantly affected by the operating system scheduling policy. In this paper, we use detailed simulation studies to evaluate the performance of several different scheduling strategies, These include regular priority scheduling, coscheduling or gang scheduling, process control with processor partitioning, handoff scheduling, and affinity-based scheduling. We also explore tradeoffs between the use of busy-waiting and blocking synchronization primitives and their interactions with the scheduling strategies. Since effective use of caches is essential to achieving high performance, a key focus is on the impact of the scheduling strategies on the caching behavior of the applications.Our results show that in situations where the number of processes exceeds the number of processors, regular priority-based scheduling in conjunction with busy-waiting synchronization primitives results in extremely poor processor utilization. In such situations, use of blocking synchronization primitives can significantly improve performance. Process control and gang scheduling strategies are shown to offer the highest performance, and their performance is relatively independent of the synchronization method used. However, for applications that have sizable working sets that fit into the cache, process control performs better than gang scheduling. For the applications considered, the performance gains due to handoff scheduling and processor affinity are shown to be small.Keywords
This publication has 12 references indexed in Scilit:
- Scheduling support for concurrency and parallelism in the Mach operating systemComputer, 1990
- The performance of multiprogrammed multiprocessor scheduling algorithmsPublished by Association for Computing Machinery (ACM) ,1990
- Processor scheduling in shared memory multiprocessorsPublished by Association for Computing Machinery (ACM) ,1990
- Characterizations of parallelism in applications and their use in schedulingPublished by Association for Computing Machinery (ACM) ,1989
- Firefly: a multiprocessor workstationIEEE Transactions on Computers, 1988
- Scheduling in multiprogrammed parallel systemsPublished by Association for Computing Machinery (ACM) ,1988
- Footprints in the cacheACM Transactions on Computer Systems, 1987
- Cache coherence protocols: evaluation using a multiprocessor simulation modelACM Transactions on Computer Systems, 1986
- A new approach to the maximum flow problemPublished by Association for Computing Machinery (ACM) ,1986
- The structure of the “THE”-multiprogramming systemCommunications of the ACM, 1968