Abstract
In virtualized environments, the VMM (virtual machine monitor) scheduler is critical to overall performance, as it allocates the physical resources. However, traditional schedulers have poor I/O performance of mixed workloads. Although recent research significantly improves I/O performance, they degrade the performance of computational tasks by shortening time slices and reducing cache efficiency. In order to eliminate these problems while guaranteeing I/O performance, this paper presents a multicore periodical preemption scheduling scheme with three optimization techniques: (1) periodically coalescing and handling I/O events to reduce the preemption rate and scheduling latency, which guarantees I/O performance; (2) taking advantage of multicore environments and centrally handling I/O events on different cores in a Round-Robin manner to lengthen time slices, which improves the performance of computational tasks; (3) using a dedicated priority for I/O event handling to keep the CPU fairness. We implement a Xen-based prototype and evaluate the performance of I/O workloads and computation-intensive workloads. The experimental results demonstrate that our scheduling scheme efficiently lengthens time slices and improves the performance of computational tasks, achieving the same I/O performance as the existing approaches optimized for I/O.















Similar content being viewed by others
References
Ahmad I, Gulati A, Mashtizadeh A (2011) vIC: interrupt coalescing for virtual machine storage device IO. In: Proceedings of the 2011 USENIX annual technical conference (ATC), USENIX Association, Berkeley, pp 45–58
Amazon EC2 (2012) http://aws.amazon.com/ec2/
Barham P, Dragovic B, Fraser K, Hand S, Harris T, Ho A, Neugebauery R, Pratt I, WarBeld A (2003) Xen and the art of virtualization. In: Proceedings of the 19th ACM symposium on operating systems principles (SOSP). ACM, New York, pp 164–177
Cheng L, Wang C (2012) VBalance: using interrupt load balance to improve I/O performance for SMP virtual machines. In: Proceedings of the third ACM symposium on cloud computing. ACM, New York, p 2
Dong Y, Yang X, Li X, Li J, Tian K, Guan H (2010) High performance network virtualization with SR-IOV. In: Proceedings of the 16th IEEE international symposium on high-performance computer architecture (HPCA). IEEE Comput Soc, Los Alamitos, pp 1–10
Dong Y, Xu D, Zhang Y, Liao G (2011) Optimizing network I/O virtualization with efficient interrupt coalescing and virtual receive side scaling. In: Proceedings of the 2011 IEEE international conference on cluster computing (CLUSTER). IEEE Press, New York, pp 26–34
Dunlap GW (2010) Scheduler development update. Citrix Systems RD Ltd, Santa Clara
Guo D, Liao G, Bhuyan LN (2009) Performance characterization and cache-aware core scheduling in a virtualized multi-core server under 10 GbE. In: Proceedings of the 2009 IEEE international symposium on workload characterization (IISWC). IEEE Press, New York, pp 168–177
Hu Y, Long X, Zhang J, He J, Xia L (2010) I/O scheduling model of virtual machine based on multi-core dynamic partitioning. In: Proceedings of the 19th ACM international symposium on high performance distributed computing (HPDC). ACM, New York, pp 142–154
Iperf (2012) http://iperf.sourceforge.net/
Kang H, Chen Y, Wong JL, Sion R, Wu J (2011) Enhancement of Xen’s scheduler for mapreduce workloads. In: Proceedings of the 20th ACM international symposium on high performance distributed computing (HPDC). ACM, New York, pp 251–262
Kim H, Lim H, Jeong J, Jo H, Lee J (2009) Task-aware virtual machine scheduling for i/o performance. In: Proceedings of the 5th international conference on virtual execution environments (VEE). ACM, New York, pp 101–110
Kim H, Jeong J, Hwang J, Lee J, Maeng S (2012) Scheduler support for video-oriented multimedia on client-side virtualization. In: Proceedings of the 3rd annual ACM SIGMM conference on multimedia systems (MMSys). ACM, New York, pp 65–76
Kim H, Kim S, Jeong J, Lee J, Maeng S (2013) Demand-based coordinated scheduling for SMP VMs. In: Proceedings of the 18th international conference on architectural support for programming languages and operating systems (ASPLOS). ACM, New York, pp 191–200
Liao G, Guo D, Bhuyan L, King SR (2008) Software techniques to improve virtualized I/O performance on multi-core systems. In: Proceedings of the 2008 ACM/IEEE symposium on architecture for networking and communications systems (ANCS). ACM, New York, pp 161–170
Liu D, Cao J, Cao J (2012) FEAS: a full-time event aware scheduler for improving responsiveness of virtual machines. In: Proceedings of the 35th Australasian computer science conference (ACSC). Australian Computer Society, Sydney, pp 3–9
Lookbusy (2012) http://www.devin.com/lookbusy/
Lv H, Dong Y, Duan J, Tian K (2012) Virtualization challenges: a view from server consolidation perspective. In: Proceedings of the 8th international conference on virtual execution environments (VEE). ACM, New York, pp 15–26
Ongaro D, Cox AL, Rixner S (2008) Scheduling I/O in virtual machine monitors. In: Proceedings of the 4th international conference on virtual execution environments (VEE). ACM, New York, pp 1–10
Ouyang J, Lange JR (2013) Preemptable ticket spinlocks: improving consolidated performance in the cloud. In: Proceedings of the 9th international conference on virtual execution environments (VEE). ACM, New York, pp 191–200
Ram KK, Santos JR, Turner Y, Cox AL, Rixner S (2009) Achieving 10 Gb/s using safe and transparent network interface virtualization. In: Proceedings of the 5th international conference on virtual execution environments (VEE). ACM, New York, pp 61–70
STREAM (2012) http://www.cs.virginia.edu/stream/
sysBench (2012) http://sysbench.sourceforge.net/
Uhlig V, LeVasseur J, Skoglund E, Dannowski U (2004) Towards scalable multiprocessor virtual machines. In: Proceedings of the 3rd conference on virtual machine research and technology symposium (VM). IEEE Press, New York, pp 43–56
Xia Y, Yang C, Cheng X (2009) PaS: a preemption-aware scheduling interface for improving interactive performance in consolidated virtual machine environment. In: IEEE 15th international conference on parallel and distributed systems (ICPADS). IEEE Press, New York, pp 340–347
Xu C, Gamage S, Rao PN, Kangarlou A, Kompella RR, Xu D (2012) vSlicer: latency-aware virtual machine scheduling via differentiated-frequency CPU slicing. In: The 21st international symposium on high-performance parallel and distributed computing (HPDC). ACM, New York, pp 3–14
Zhang J, Dong Y, Duan J (2012) ANOLE: a profiling-driven adaptive lock waiter detection scheme for efficient MP-guest scheduling. In: Proceedings of the 2012 IEEE international conference on cluster computing (CLUSTER). IEEE Press, New York, pp 43–56
Zhang L, Dong CY, Liu C (2012) Lock-visor: an efficient transitory co-scheduling for MP guest. In: Proceedings of the 41st international conference on parallel processing (ICPP). IEEE Press, New York, pp 88–97
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Yu, C., Qin, L. & Zhou, J. A multicore periodical preemption virtual machine scheduling scheme to improve the performance of computational tasks. J Supercomput 67, 254–276 (2014). https://doi.org/10.1007/s11227-013-0998-4
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-013-0998-4