Skip to main content
Log in

A multicore periodical preemption virtual machine scheduling scheme to improve the performance of computational tasks

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Algorithm 1
Algorithm 2
Algorithm 3
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  1. 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

    Google Scholar 

  2. Amazon EC2 (2012) http://aws.amazon.com/ec2/

  3. 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

    Google Scholar 

  4. 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

    Google Scholar 

  5. 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

    Google Scholar 

  6. 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

    Chapter  Google Scholar 

  7. Dunlap GW (2010) Scheduler development update. Citrix Systems RD Ltd, Santa Clara

    Google Scholar 

  8. 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

    Chapter  Google Scholar 

  9. 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

    Chapter  Google Scholar 

  10. Iperf (2012) http://iperf.sourceforge.net/

  11. 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

    Google Scholar 

  12. 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

    Google Scholar 

  13. 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

    Google Scholar 

  14. 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

    Google Scholar 

  15. 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

    Google Scholar 

  16. 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

    Google Scholar 

  17. Lookbusy (2012) http://www.devin.com/lookbusy/

  18. 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

    Google Scholar 

  19. 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

    Google Scholar 

  20. 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

    Google Scholar 

  21. 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

    Google Scholar 

  22. STREAM (2012) http://www.cs.virginia.edu/stream/

  23. sysBench (2012) http://sysbench.sourceforge.net/

  24. 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

    Google Scholar 

  25. 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

    Google Scholar 

  26. 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

    Chapter  Google Scholar 

  27. 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

    Google Scholar 

  28. 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

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Leihua Qin.

Rights and permissions

Reprints 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

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-013-0998-4

Keywords

Navigation