An Improved Xen Credit Scheduler for I/O Latency-Sensitive Applications on Multicores
- 1 December 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 267-274
Abstract
It has long been recognized that the Credit scheduler favors CPU-bound applications while for the latency-sensitive workloads such as those related to stream-based audio/video services, its performance is far from satisfactory. In this paper we present an improved Credit scheduler in Xen to facilitate such tasks on multicore platforms. To this end, we improve the Credit scheduler from three perspectives. First, given the identified Simultaneous Multi-Boost problem, we minimize the system response time by load balancing the virtual CPUs with the BOOST priority between the cores. Second, we address the Premature Preemption problem by monitoring the received network packets in the driver domain and deliberately preventing it from being prematurely preempted during the packet delivery to further reduce and stabilize the I/O latency. Finally, we optimize the frequency of CPU switch by utilizing time-variant slice instead of the existing long time-invariant one to adapt to the dynamic fluctuation of the number of virtual CPUs in the run queue associated with each physical CPU. Our empirical studies show that the proposed improvement can significantly improve the performance of the Credit scheduler for scheduling the I/O latency-sensitive applications.Keywords
This publication has 8 references indexed in Scilit:
- I/O scheduling model of virtual machine based on multi-core dynamic partitioning2010
- Task-aware virtual machine scheduling for I/O performance.2009
- Software techniques to improve virtualized I/O performance on multi-core systems2008
- Scheduling I/O in virtual machine monitors2008
- Network Virtualization: Breaking the Performance BarrierQueue, 2008
- Comparison of the three CPU schedulers in XenACM SIGMETRICS Performance Evaluation Review, 2007
- Xen and co.2007
- Xen and the art of virtualization2003