DocumentCode
1626629
Title
How to Determine a Good Multi-Programming Level for External Scheduling
Author
Schroeder, Bianca ; Harchol-Balter, Mor ; Iyengar, Arun ; Nahum, Erich ; Wierman, Adam
Author_Institution
Carnegie Mellon University
fYear
2006
Firstpage
60
Lastpage
60
Abstract
Scheduling/prioritization of DBMS transactions is important for many applications that rely on database backends. A convenient way to achieve scheduling is to limit the number of transactions within the database, maintaining most of the transactions in an external queue, which can be ordered as desired by the application. While external scheduling has many advantages in that it doesn’t require changes to internal resources, it is also difficult to get right in that its performance depends critically on the particular multiprogramming limit used (the MPL), i.e. the number of transactions allowed into the database. If the MPL is too low, throughput will suffer, since not all DBMS resources will be utilized. On the other hand, if the MPL is too high, there is insufficient control on scheduling. The question of how to adjust theMPL to achieve both goals simultaneously is an open problem, not just for databases but in system design in general. Herein we study this problem in the context of transactional workloads, both via extensive experimentation and queueing theoretic analysis. We find that the two most critical factors in adjusting the MPL are the number of resources that the workload utilizes and the variability of the transactions’ service demands. We develop a feedback based controller, augmented by queueing theoretic models for automatically adjusting the MPL. Finally, we apply our methods to the specific problem of external prioritization of transactions. We find that external prioritization can be nearly as effective as internal prioritization, without any negative consequences, when the MPL is set appropriately.
Keywords
Application software; Automatic control; Computer science; Feedback; Processor scheduling; Quality of service; Queueing analysis; System analysis and design; Throughput; Transaction databases;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Engineering, 2006. ICDE '06. Proceedings of the 22nd International Conference on
Print_ISBN
0-7695-2570-9
Type
conf
DOI
10.1109/ICDE.2006.78
Filename
1617428
Link To Document