An Overview of Virtualization Techniques: Online Simulations and More
An Overview of Virtualization Techniques: Online Simulations and More
An Overview of Virtualization Techniques: Online Simulations and More
org
online simulations and more
Renato Figueiredo Advanced Computing and Information Systems (ACIS) Electrical and Computer Engineering University of Florida NCN/NMI Team
CyberInfrastructure
2/3/2006
nanoHUB.org
online simulations and more
Outline
CyberInfrastructure
2/3/2006
nanoHUB.org
online simulations and more
Physical computer
Processor runs instructions. Memory holds data for fast operation. Disk holds data in persistent state (files, directories). Network supports communication
CyberInfrastructure
2/3/2006
nanoHUB.org
online simulations and more
Virtual Computer
A virtual computer has the same look and feel as a physical computer
Virtual processor, virtual memory, virtual disk and virtual network card Can run exactly the same software (e.g. Windows, Linux) But multiple virtual computers can time-share a single physical computer!
Linux
WinXP
NetBSD
Virtual machines
Physical machine
CyberInfrastructure
2/3/2006 4
Work supported by SCI-0438246
nanoHUB.org
online simulations and more
Virtual Machines
VM Guests
CyberInfrastructure
2/3/2006 5
VM Host
nanoHUB.org
online simulations and more
Ease of management
Virtual (software) vs. physical (hardware) Copying, migration, archival, versioning
nanoHUB.org
online simulations and more
Classic VMs
Technology traces back to the early 70s Legacy O/Ss which would share expensive mainframes IBM 370 - zSeries
Virtual machine defined: A systemwhichis a hardware-software duplicate of a real existing machine, in which a non-trivial subset of the virtual machines instructions execute directly on the host machine
[Goldberg, 1971]
CyberInfrastructure
2/3/2006
nanoHUB.org
online simulations and more
Architecture of VMs
How are VMs implemented? Core: virtual machine monitor (VMM) software
Presents illusion of machine duplicate to other software running on top of it
CyberInfrastructure
2/3/2006
nanoHUB.org
online simulations and more
Example - performance
Example quantifying virtualization overhead for typical CPU-intensive scientific applications SpecHPC benchmarks Experimental setup:
Physical: dual Pentium-III, 933MHz, 512MB mem, RedHat 7.1, SMP kernel Virtual: VMware workstation, 128MB mem, RedHat 7.1 uniprocessor kernel
SPECseis SPECclimate
VM 14946s 9693s
CyberInfrastructure
2/3/2006
nanoHUB.org
online simulations and more
Performance
Overheads can be larger with disk I/O, network activity Xen VMM achieves near-native performance
nanoHUB.org
online simulations and more
Several mature virtualization products now available for typical desktops and servers; here is a brief overview VMware
Pioneer of products bringing VMs to Intel-based desktops and servers
Products
Workstation
Easy to install and use; good performance and several features
Player
Free! Can play VMs created by Workstation and ESX
GSX
Group server; more management tools
ESX
Enterprise server; higher performance, several management features, advanced scheduling
CyberInfrastructure
2/3/2006
11
nanoHUB.org
online simulations and more
Microsoft Acquired start-up (Connectix) and added VMs to its line of products Plans to have VM support as part of future releases of Windows VirtualPC
Akin to VMwares workstation. Can run VMware VMs (and vice-versa) Unlike workstation, does not run on top of Linux Can run Intel-based VMs (e.g. Windows) on PowerPC-based Macs
Virtual Server
Akin to VMwares GSX server
CyberInfrastructure
nanoHUB.org
online simulations and more
With new Intel/AMD processors, Xen is beginning to support unmodified operating systems For more information and downloads: http://www.xensource.com
CyberInfrastructure
2/3/2006
13
nanoHUB.org
online simulations and more
Parallels Workstation
Low-cost VM Comparable to VMware workstation, Windows VirtualPC Runs on both Windows and Linux
Server, Enterprise server: due 2006 For more information and downloads: http://www.parallels.com
CyberInfrastructure
2/3/2006
14
nanoHUB.org
online simulations and more
Hardware support
Much of the virtualization overhead today are due to processors not being designed with virtualization in mind Seminal paper by Popek, Goldberg (1974) provides basic guidelines
Efficient VMM can be designed if:
1. Processor has protection mechanisms, and 2. Privileged instructions that read/write system status must cause exceptions if run at non-privileged level
Today, VMs must use several software tricks to circumvent problematic instructions in processors such as Intel/AMD Tomorrow: processors have been/are being redesigned to support more efficient VMs Intel VT in dual-core Yonah; AMD Pacifica
CyberInfrastructure
2/3/2006 15
Work supported by SCI-0438246
nanoHUB.org
online simulations and more
Interconnected VMs
Emerging applications not considered in early VM days How to virtualize networking and remote storage access? How to schedule, manage VMs beyond local area network (LAN) domain boundaries?
CyberInfrastructure
2/3/2006
16
nanoHUB.org
online simulations and more
Goal: harness computing power of distributed desktops, servers, clusters Computing as utility Analogy to power grid Computing grid:
Outlet is the network jack; pay per processor cycles, storage, bandwidth, application time used
Applications:
Nanoelectronics online simulation - nanoHUB Many others: high-energy physics, hurricane path prediction, seismic modeling, protein sequencing, CAD design/simulation, rendering farms, financial analysis,
nanoHUB.org
online simulations and more
VMs:
Isolation improved security Multiple concurrent O/Ss time-sharing Independent configuration flexibility
Approach: apply virtualization machines, disk storage and network The nanoHUB and the underlying In-VIGO middleware
Application of these techniques result in a unique, flexible cyberinfrastructure
CyberInfrastructure
2/3/2006
18
nanoHUB.org
online simulations and more
Summary
Virtual machines are becoming more and more pervasive in enterprise and desktop environments Hardware and software vendors are increasingly supporting virtualization
Competition better products, lower prices
Virtualization is key to a flexible computational cyberinfrastructure nanoHUB and In-VIGO: apply virtualization to bring online simulations to the nano-* community
CyberInfrastructure
2/3/2006
19