Abstract
The use of virtualization as a means to consolidate multiple applications on the same server platform continues to grow in the datacenter. However, the performance implications in a virtualized environment are not yet thoroughly understood for key commercial server workloads. In this paper, our goal is to provide architectural insights into the performance of server application scaling in a virtualization environment. We do so by studying the scaling behavior of a compute intensive application, namely SPECjbb2005 which is a commercial Java server benchmark. When comparing to native execution, the performance of a single virtual machine running SPECjbb2005 appears to be comparable. However, as the number of virtual machines is increased, the performance degradation was found to be significant. A detailed investigation into overheads of virtual machine scheduling and context switching overhead was conducted. Based on this investigation, we show how the number of instructions executed per operation, the cycles per instruction, and the cache misses and the TLB misses all are affected when scaling virtual machines. We also compare the performance of the simultaneously running virtual machines and discuss fairness and prioritization implications of scheduling decisions.
Chapter PDF
Similar content being viewed by others
References
Advanced Micro Devices. AMD64 Virtualization Codenamed Pacifica Technology, Secure Virtual Machine Architecture Reference Manual (May 2005)
Menon, A., Santos, J.R.: (accessed June 2006), http://xenoprof.sourceforge.net/xenoprof_2.0.txt
Menon, A., Cox, A., Zwaenepoel, W.: Optimizing Network Virtualization in Xen. In: USENIX Annual Technical Conference (2006)
Menon, A., et al.: Diagnosing Performance: Overheads in the Xen Virtual Machine Environment. In: First ACM/USENIX Conference on Virtual Execution Environments (VEE 2005) (June 2005)
Singh, A.: An Introduction to Virtualization (accessed June 2006), http://www.kernelthread.com/publications/virtualization
Azul Virtual Machine Software, Azul Systems, http://www.azulsystems.com/products/cpools_avm.ht
Azul Compute Pools, Azul Systems, http://www.azulsystems.com/products/cpools.html
Clark, B., et al.: Xen and the Art of Repeated Research. In: Proceedings of USENIX 2004 Annual Technical Conference, Boston, MA (2004)
Gupta, D., et al.: Enforcing Performance Isolation Across Virtual Machines in Xen.HP Labs, Technical Report HPL-2006-77
Reed, D., Pratt, I., Menage, P., Early, S., Stratford, N.: Xenoservers: Accountable Execution of Untrusted Programs. In: Workshop on Hot Topics in Operating systems (1999)
Popek, G.J., Goldberg, R.P.: Formal Requirements for Virtualizable Third Generation Architectures. Comm. of the ACM 17(7), 412–421 (1974)
Bjerke, H.K.F.: HPC Virtualization with Xen on Itanium. MSc Thesis(July 2005)
Intel Virtualization Technology Specification for the IA-32 Intel Architecture (April 2005)
Smith, J.E., Nair, R.: Virtual Machines: versatile platforms for systems and processes. Morgan Kaufmann publishers, San Francisco (2005)
Kloster, J.F., Kristensen, J., Mejlholm, A.: Efficient Memory Sharing in the Xen Virtual Machine Monitor. Technical Report. Department of Computer Science, Aalborg University (January 2006)
Duda, K., Cheriton, D.: Borrowed Virtual Time (BVT) Scheduling: Supporting Lantency-sensitive Threads in a GeneralPurpose Scheduler. In: Proceedings of the Seventeenth ACM Symposium on Operating Systems Principles (SOSP 1999), Kiawah Island Resort, SC, December 1999, pp. 261–276 (1999)
Lawton, K.: Bochs (Accessed June 2006), http://en.wikipedia.org/wiki/Bochs
Cherkasova, L., Gardner, R.: Measuring CPU Overhead for I/O Processing in the Xen Virtual Machine Monitor. In: Proceedings of the USENIX Annual Technical Conference (April 2005)
Rosemblum, M., Garfinkel, T.: Virtual Machine Monitors: Current Technology and Future trends. IEEE Computer 38(5), 39–47 (2005)
Oprofile (accessed June 2006), http://oprofile.sourceforge.net
Barham, P., Dragovic, B., Fraser, K., et al.: Xen and the Art of Virtualization. In: SOSP 2003 (2003)
Barham, P., et al.: Xen and the Art of Virtualization. In: Proceedings of the ACM symposium on operating systems principles (October 2003)
Sailer, R., et al.: Building a MAC-Based Security Architecture for the Xen Open-Source hypervisor, In: ACSAC 2005 -21st Annual Computer Security Applications Conference, ASCA (September 2005)
SpecJbb2005 Java Server Benchmark. SPEC, http://www.spec.org/jbb2005/
TPC-C Online Transaction Processing BenchmarkTPC, http://www.tpc.org/tpcc/default.asp
SWsoft Virtuozzo, Top Ten Considerations for Choosing a Server Virtualization Technology
SWsoft Virtuozzo. An Introduction to OS Server Virtualization and a New Approach to Server Consolidation
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Apparao, P., Iyer, R., Newell, D. (2006). Architectural Characterization of VM Scaling on an SMP Machine. In: Min, G., Di Martino, B., Yang, L.T., Guo, M., Rünger, G. (eds) Frontiers of High Performance Computing and Networking – ISPA 2006 Workshops. ISPA 2006. Lecture Notes in Computer Science, vol 4331. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11942634_48
Download citation
DOI: https://doi.org/10.1007/11942634_48
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-49860-5
Online ISBN: 978-3-540-49862-9
eBook Packages: Computer ScienceComputer Science (R0)