Virtual-CPU Scheduling in the Quest Operating System

被引:25
作者
Danish, Matthew [1 ]
Li, Ye [1 ]
West, Richard [1 ]
机构
[1] Boston Univ, Dept Comp Sci, Boston, MA 02215 USA
来源
17TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2011) | 2011年
关键词
D O I
10.1109/RTAS.2011.24
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper describes the scheduling framework for a new operating system called "Quest". The three main goals of Quest are to ensure safety, predictability and efficiency of software execution. For this paper, we focus on one aspect of predictability, involving the integrated management of tasks and I/O events such as interrupts. Quest's scheduling infrastructure is based around the concept of a virtual CPU (VCPU). Using both Main and I/O VCPUs, we are able to separate the CPU bandwidth consumed by tasks from that used to complete I/O processing. We introduce a priority-inheritance bandwidth-preserving server policy for I/O management, called PIBS. We show how PIBS operates with lower cost and higher throughput than a comparable Sporadic Server for managing I/O transfers that require small bursts of CPU time. Using a hybrid system of Sporadic Servers for Main VCPUs, and PIBS for I/O VCPUs, we show how to maintain temporal isolation between multiple tasks and I/O transfers from different devices. We believe Quest's VCPU scheduling infrastructure is scalable enough to operate on systems supporting large numbers of threads. For a system of 24 Main VCPUs, we observe a CPU scheduling overhead of approximately 0.3% when VCPU budget is managed in 1ms units.
引用
收藏
页码:169 / 179
页数:11
相关论文
共 28 条
[1]   Integrating multimedia applications in hard real-time systems [J].
Abeni, L ;
Buttazzo, G .
19TH IEEE REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 1998, :4-13
[2]  
ADAMS K, 2006, ASPLOS, V12, P2
[3]  
[Anonymous], REAL TIME LINUX
[4]  
BANGA G, 1999, P 3 USENIX S OP SYST
[5]  
BARHAM P, 2003, SOSP 03, P164, DOI DOI 10.1145/945445.945462
[6]  
Bernat G., 1999, IEEE REAL TIM SYST S, P68
[7]  
Deng Z., 1997, A scheme for scheduling hard real-time applications in open system environment
[8]  
Ghazalie T., 1995, REAL TIME SYSTEMS
[9]  
HILDEBRAND D, 1992, USENIX WORKSH MICR O, P113
[10]  
Lewandowski M., 2007, P 13 IEEE REAL TIM E