Brief introduction to virtualization and virtual networking. Summarize a paper, "Performance Measuring and Comparing of Virtual Machine Monitors", Embedded and Ubiquitous Computing, 2008. EUC '08. IEEE/IFIP International Conference.
2. Table of Contents
• About Virtual Networking
– Type of Virtual Environments
• Basic concept of networking between
VMs
• System architecture of networking in
VMs
• Measurements
• Entrepreneur Software
22013-06-07
4. Virtual Environment
• Full Virtualization
– a faithful emulation of
hardware interfaces to
guest OS
– Cannot realize
themselves living in
VM
– VMware, KVM, QEMU
4
http://www.iris.edu/media/newsletter/vol14/no2/leaner-greener-data-management-at-iris-dmc-the-journey-of-virtual-machine-consolidation/virtual_machine.png
2013-06-07
5. Virtual Environment
• Para Virtualization
– Abstract VM
– Need hence guest OS
for porting into VMs
– Xen, Denali, User
Mode Linux
5
http://lh4.ggpht.com/-jWWqyJvdmns/TsLt87haSbI/AAAAAAAAIB8/Q_kPFzH4Na0/image_thumb%25255B10%25255D.png?imgmax=800
2013-06-07
6. Virtual Environment
• Hardware-assisted
Virtualization
– Remedy limitation of
traditional x86
– Extending legacy
processor’s
architecture
– Intel’s Vander pool
Technology, AMD’s
Pacifica
6http://www.desktop-virtualization.com/images/x86-hardware-virtualization.jpg2013-06-07
7. Virtual Network
• virtual network
– a computer network
– at least in part, of virtual network links.
– Virtual network link
• Do not consist of a physical connection
• between two computing devices
• wired or wireless
72013-06-07
9. Networking
• Logically connected to port of the virtual
network
• Packet routing from the virtual network
adapter to the virtual port on the
external virtual network
Virtual Port Virtual PortVirtual Network
2013-06-07 9
11. Type of virtual Networks
• External virtual networks
– Available to connect external network
http://docs.oracle.com/cd/E19053-01/ldoms.mgr11/820-4913-10/figures/125990.jpg
2013-06-07 11
12. External virtual networks
• At least two network adapters
– Operating system to remote access
– Dedicated to VMs
– VMs and host OS binds to the virtual
network adapter
– Virtual network manager(ex. Virtual Network Service Protocol)
bind to the physical network adapter
2013-06-07 12
13. Type of virtual Networks
• Internal virtual networks
– between VMs
– hosted by the same host OS and machine
– Not bound to a physical network adapter
2013-06-07 13
http://docs.oracle.com/cd/E19053-01/ldoms.mgr11/820-4913-10/figures/125990.jpg
14. Type of virtual Networks
• Private virtual networks (Microsoft)
– Host-Only Networking (VMware, Virtual Box)
– Communicate between VMs ONLY
– Isolated networking environment
• Isolated test domain
2013-06-07 14
http://docs.oracle.com/cd/E19053-01/ldoms.mgr11/820-4913-10/figures/125990.jpg
15. Private virtual networks
• Host-Only Networking
• Build isolated virtual network
• Clustering VMs
– a Token ring or Non-Ethernet network
http://www.vmware.com/support/ws55/doc/img/host-only_1.png2013-06-07 15
18. Points of Qualification
• Difference characteristic between
physical and virtual
• Pros and Cons
• Inter-network between VMs
• Network between Host OS and Guest
OSs
• Performance measurement
2013-06-07 18
19. Test Environment
• Dell OPTIPLEX 755 business machine
• h 2.33GHz E6550 Intel Core2 DUO processor
• 2GB DDR II 667 RAM
• Seagate 160GB 7200 RPM SATA II disk
• Linux 2.6.24.4(Fedora8)
• Virtual machine monitor
– Xen3.1 and KVM-60
• Guests OS
– Fedora8 and Windows XP SP2
– 1.5G memory
192013-06-07
20. CPU performance
• Xen is better than KVM
overall
• Considerable performance
degradation
• fork, exec, sh, pipe
– Process creating and
executing
– Need to update HW
page table
– Trapped
• Validated by Xen
• Rebuild the shadow
table and map to guest
by KVM
2013-06-07 20
21. Storage performance
• VT-d
– Remapping hardware of DMA and IRQ
– Guest OS can directly control IO
– KVM
• Virtual IO processing with QEMU
• Simulate IO operation and ignore HW advantages
• Xen and Dual CPU is better
212013-06-07
22. Conclusion
• Virtual network is another SW layer
support network components
• It is influenced various points
– CPU performance
– File IO performance
– Network environment
• Performance improvement is
challengeable yet
222013-06-07