skip to main content
research-article

Comparison of the three CPU schedulers in Xen

Published:01 September 2007Publication History
Skip Abstract Section

Abstract

The primary motivation for enterprises to adopt virtualization technologies is to create a more agile and dynamic IT infrastructure -- with server consolidation, high resource utilization, the ability to quickly add and adjust capacity on demand -- while lowering total cost of ownership and responding more effectively to changing business conditions. However, effective management of virtualized IT environments introduces new and unique requirements, such as dynamically resizing and migrating virtual machines (VMs) in response to changing application demands. Such capacity management methods should work in conjunction with the underlying resource management mechanisms. In general, resource multiplexing and scheduling among virtual machines is poorly understood. CPU scheduling for virtual machines, for instance, has largely been borrowed from the process scheduling research in operating systems. However, it is not clear whether a straight-forward port of process schedulers to VM schedulers would perform just as well. We use the open source Xen virtual machine monitor to perform a comparative evaluation of three different CPU schedulers for virtual machines. We analyze the impact of the choice of scheduler and its parameters on application performance, and discuss challenges in estimating the application resource requirements in virtualized environments.

References

  1. Credit Scheduler, http://wiki.xensource.com/xenwiki/CreditScheduler.Google ScholarGoogle Scholar
  2. HP-UX Workload Manager, http://www.hp.com/products1/unix/operating/wlm/.Google ScholarGoogle Scholar
  3. Httperf. http://www.hpl.hp.com/research/linux/httperf/. Last accessed 1/17/2006.Google ScholarGoogle Scholar
  4. IBM Enterprise Workload Manager, http://www.ibm.com/developerworks/autonomic/ewlm/.Google ScholarGoogle Scholar
  5. Iperf: The TCP/UDP Bandwidth Measurement Tool. http://dast.nlanr.net/Projects/Iperf.Google ScholarGoogle Scholar
  6. P. Barham, B. Dragovic, K. Fraser, S. Hand, T. Harris, A. Ho, R. Neugebauer, I. Pratt, and A. Warfield. Xen and the art of virtualization. In Proceedings of the 19th ACM SOSP, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. L. Cherkasova and R. Gardner Measuring CPU Overhead for I/O Processing in the Xen Virtual Machine Monitor. In Proceedings of the Annual Technical Usenix Conference, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. H. M. Deitel. Operating Systems. Addison-Wesley, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. K. J. Duda and D. R. Cheriton. Borrowed-virtual-time (BVT) scheduling: supporting latency-sensitive threads in a general-purpose scheduler. In Proceedings of the 17th ACM SOSP, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. B. Essick. An event based fair share scheduler. In Proceedings of the Winter USENIX Conference, 1990.Google ScholarGoogle Scholar
  11. K. Fraser, S. Hand, R. Neugebauer, I. Pratt, A. Warfield, and M. Williamson. Reconstructing I/O. Technical report, 2004.Google ScholarGoogle Scholar
  12. T. Garfinkel and M. Rosenblum. When virtual is harder than real: Security challenges in virtual machine based computing environments. In Proceedings of the 10th HotOS, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. P. Goyal, X. Guo, and H. M. Vin. A hierarchial cpu scheduler for multimedia operating systems. In OSDI '96: Proceedings of the second USENIX symposium on Operating systems design and implementation, pages 107--121, New York, NY, USA, 1996. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. D. Gupta, L. Cherkasova, R. Gardner, and A. Vahdat. Enforcing Performance Isolation Across Virtual Machines in Xen. In Proceedings of the 7th International Middleware Conference, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. D. Gupta, R. Gardner, and L. Cherkasova. XenMon: QoS Monitoring and Performance Profiling Tool. Technical report, HPL-2005-187, 2005.Google ScholarGoogle Scholar
  16. J. L. Hellerstein. Achieving Service Rate Objectives with Decay Usage Scheduling. In IEEE Transactions on Software Engineering, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. J. Henry. The fair share scheduler. AT&T Bell Labs Technical Journal, 63(8):1945--1957, 1984.Google ScholarGoogle Scholar
  18. J. Kay and P. Lauder. A fair share scheduler. Commun. ACM, 31(1):44--55, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. S. J. Leffler, M. K. McKusick, and M. J. Karels. The Design and Implementation of the 4.3 BSD Unix Operating System. Addison-Wesley, 1988.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. I. M. Leslie, D. Mcauley, R. Black, T. Roscoe, P. T. Barham, D. Evers, R. Fairbairns, and E. Hyden. The Design and Implementation of an Operating System to Support Distributed Multimedia Applications. IEEE Journal of Selected Areas in Communications, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. J. Nieh and M. S. Lam. A smart scheduler for multimedia applications. ACM Trans. Comput. Syst., 21(2):117--163, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. I. Pratt. Xen Roadmap. http://wiki.xensource.com/xenwiki/XenRoadMap.Google ScholarGoogle Scholar
  23. I. Stoica, H. Abdel-Wahab, K. Jeffay, S. K. Baruah, J. E. Gehrke, and C. G. Plaxton. A proportional share resource allocation algorithm for real-time, time-shared systems. In RTSS '96: Proceedings of the 17th IEEE Real-Time Systems Symposium (RTSS '96), page 288, Washington, DC, USA, 1996. IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. C. A. Waldspurger. Lottery and stride scheduling: Flexible proportional-share resource management. Technical report, Cambridge, MA, USA, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Comparison of the three CPU schedulers in Xen

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in

              Full Access

              • Published in

                cover image ACM SIGMETRICS Performance Evaluation Review
                ACM SIGMETRICS Performance Evaluation Review  Volume 35, Issue 2
                September 2007
                50 pages
                ISSN:0163-5999
                DOI:10.1145/1330555
                Issue’s Table of Contents

                Copyright © 2007 Authors

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 1 September 2007

                Check for updates

                Qualifiers

                • research-article

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader