Increasing Application Performance In Virtual Environments Through Run-time Inference and Adaptation Ananth I. Sundararaj Ashish Gupta Peter A. Dinda Prescience.

Slides:



Advertisements
Similar presentations
All Rights Reserved © Alcatel-Lucent 2009 Enhancing Dynamic Cloud-based Services using Network Virtualization F. Hao, T.V. Lakshman, Sarit Mukherjee, H.
Advertisements

1 Scoped and Approximate Queries in a Relational Grid Information Service Dong Lu, Peter A. Dinda, Jason A. Skicewicz Prescience Lab, Dept. of Computer.
Nondeterministic Queries in a Relational Grid Information Service Peter A. Dinda Dong Lu Prescience Lab Department of Computer Science Northwestern University.
Cloud Computing Resource provisioning Keke Chen. Outline  For Web applications statistical Learning and automatic control for datacenters  For data.
Towards High-Availability for IP Telephony using Virtual Machines Devdutt Patnaik, Ashish Bijlani and Vishal K Singh.
1 Virtual Machine Resource Monitoring and Networking of Virtual Machines Ananth I. Sundararaj Department of Computer Science Northwestern University July.
Towards Virtual Networks for Virtual Machine Grid Computing Ananth I. Sundararaj Peter A. Dinda Prescience Lab Department of Computer Science Northwestern.
Automatic Run-time Adaptation in Virtual Execution Environments Ananth I. Sundararaj Advisor: Peter A. Dinda Prescience Lab Department of Computer Science.
Increasing Application Performance In Virtual Environments Through Run-time Inference and Adaptation Ananth I. Sundararaj Ashish Gupta Peter A. Dinda Prescience.
MobiDesk: Mobile Virtual Desktop Computing Ricardo A. Baratto, Shaya Potter, Gong Su, Jason Nieh Network Computing Laboratory Columbia University September.
Ashish Gupta, Marcia Zangrilli, Ananth I. Sundararaj, Peter A. Dinda, Bruce B. Lowekamp EECS, Northwestern University Computer Science, College of William.
Virtuoso: Distributed Computing Using Virtual Machines Peter A. Dinda Prescience Lab Department of Computer Science Northwestern University
Virtuoso: Distributed Computing Using Virtual Machines Peter A. Dinda Prescience Lab Department of Computer Science Northwestern University
MobiDesk: Mobile Virtual Desktop Computing Ricardo A. Baratto, Shaya Potter, Gong Su, Jason Nieh Network Computing Laboratory Columbia University.
Dynamic Topology Adaptation of Virtual Networks of Virtual Machines Ananth I. Sundararaj Ashish Gupta Peter A. Dinda Prescience Lab Department of Computer.
Hardness of Approximation and Greedy Algorithms for the Adaptation Problem in Virtual Environments Ananth I. Sundararaj, Manan Sanghi, John R. Lange and.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Virtualization in Data Centers Prashant Shenoy
Virtuoso: Distributed Computing Using Virtual Machines Peter A. Dinda Prescience Lab Department of Computer Science Northwestern University
Advanced Computing and Information Systems laboratory A Case for Grid Computing on Virtual Machines Renato Figueiredo Assistant Professor ACIS Laboratory,
An Optimization Problem in Adaptive Virtual Environments Ananth I. Sundararaj Manan Sanghi Jack R. Lange Peter A. Dinda Prescience Lab Department of Computer.
Inferring the Topology and Traffic Load of Parallel Programs in a VM environment Ashish Gupta Resource Virtualization Winter Quarter Project.
1 Dong Lu, Peter A. Dinda Prescience Laboratory Computer Science Department Northwestern University Virtualized.
1 Automatic Dynamic Run-time Optical Network Reservations John R. Lange Ananth I. Sundararaj and Peter A. Dinda Prescience Lab Department of Computer Science.
Towards Virtual Networks for Virtual Machine Grid Computing Ananth I. Sundararaj Peter A. Dinda Prescience Lab Department of Computer Science Northwestern.
Hosted VMM Architecture Advantages: –Installs and runs like an application –Portable – host OS does I/O access –Coexists with applications running on.
The Whats and Whys of Whole System Virtualization Peter A. Dinda Prescience Lab Department of Computer Science Northwestern University
Adaptive Virtual Networking For Virtual Machine-based Distributed Computing Peter A. Dinda Prescience Lab Department of Computer Science Northwestern University.
Free Network Measurement for Adaptive Virtualized Distributed Computing Ashish Gupta, Marcia Zangrilli, Ananth Sundararaj, Anne Huang, Peter A. Dinda,
Dynamic Topology Adaptation of Virtual Networks of Virtual Machines Ananth I. Sundararaj Ashish Gupta Peter A. Dinda Prescience Lab Department of Computer.
Inferring the Topology and Traffic Load of Parallel Programs in a VM environment Ashish Gupta Peter Dinda Department of Computer Science Northwestern University.
Operating System Support for Virtual Machines Samuel King, George Dunlap, Peter Chen Univ of Michigan Ashish Gupta.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
Connecting LANs, Backbone Networks, and Virtual LANs
CSE598C Virtual Machines and Their Applications Operating System Support for Virtual Machines Coauthored by Samuel T. King, George W. Dunlap and Peter.
Measuring zSeries System Performance Dr. Chu J. Jong School of Information Technology Illinois State University 06/11/2012 Sponsored in part by Deer &
Distributed Systems Early Examples. Projects NOW – a Network Of Workstations University of California, Berkely Terminated about 1997 after demonstrating.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
Wave Relay System and General Project Details. Wave Relay System Provides seamless multi-hop connectivity Operates at layer 2 of networking stack Seamless.
Hands-On Virtual Computing
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
David G. Andersen CMU Guohui Wang, T. S. Eugene Ng Rice Michael Kaminsky, Dina Papagiannaki, Michael A. Kozuch, Michael Ryan Intel Labs Pittsburgh 1 c-Through:
Improving Network I/O Virtualization for Cloud Computing.
EmNet: Satisfying The Individual User Through Empathic Home Networks J. Scott Miller, John R. Lange & Peter A. Dinda Department of Electrical Engineering.
Politecnico di Torino Dipartimento di Automatica ed Informatica TORSEC Group Performance of Xen’s Secured Virtual Networks Emanuele Cesena Paolo Carlo.
Introduction to OSPF Nishal Goburdhan. Routing and Forwarding Routing is not the same as Forwarding Routing is the building of maps Each routing protocol.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
Latency Reduction Techniques for Remote Memory Access in ANEMONE Mark Lewandowski Department of Computer Science Florida State University.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Virtual Machines Created within the Virtualization layer, such as a hypervisor Shares the physical computer's CPU, hard disk, memory, and network interfaces.
NETWORKING FUNDAMENTALS. Network+ Guide to Networks, 4e2.
Supporting Load Balancing for Distributed Data-Intensive Applications Leonid Glimcher, Vignesh Ravi, and Gagan Agrawal Department of ComputerScience and.
VSched: Mixing Batch And Interactive Virtual Machines Using Periodic Real-time Scheduling Bin Lin Peter A. Dinda Prescience Lab Department of Electrical.
Hands-On Virtual Computing
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
MicroGrid Update & A Synthetic Grid Resource Generator Xin Liu, Yang-suk Kee, Andrew Chien Department of Computer Science and Engineering Center for Networked.
Network Virtualization Ben Pfaff Nicira Networks, Inc.
Bentley Systems, Incorporated
Packet Switching Outline Store-and-Forward Switches
VIRTUAL SERVERS Presented By: Ravi Joshi IV Year (IT)
GGF15 – Grids and Network Virtualization
湖南大学-信息科学与工程学院-计算机与科学系
Department of Computer Science Northwestern University
Firewalls Routers, Switches, Hubs VPNs
Ananth I. Sundararaj Ashish Gupta Peter A. Dinda Prescience Lab
An Optimization Problem in Adaptive Virtual Environments
Cluster Computers.
Presentation transcript:

Increasing Application Performance In Virtual Environments Through Run-time Inference and Adaptation Ananth I. Sundararaj Ashish Gupta Peter A. Dinda Prescience Lab Department of Computer Science Northwestern University

2 Summary Dynamically adapt existing, unmodified applications running on unmodified operating systems in virtual environments to available resources Adaptation mechanisms are application independent and controlled automatically without user or developer help Demonstrate feasibility of adaptation at the level of collection of VMs connected by Virtual Networks Show that its benefits can be significant for two classes of applications

3 Outline Virtual machine grid computing Virtuoso system Networking challenges in Virtuoso Enter VNET VNET, VTTIFAdaptive virtual network Evaluation Summary

4 Aim Grid Computing New Paradigm Traditional Paradigm Deliver arbitrary amounts of computational power to perform distributed and parallel computations Problem1: Grid Computing using virtual machines Problem2: Solution How to leverage them? Virtual Machines What are they? 6b 6a 5 4 3b 3a 2 1 Resource multiplexing using OS level mechanism Complexity from resource user’s perspective Complexity from resource owner’s perspective Virtual Machine Grid Computing

5 Virtual Machines Virtual machine monitors (VMMs) Raw machine is the abstraction VM represented by a single image VMware GSX Server

6 The Simplified Virtuoso Model Orders a raw machine User Specific hardware and performance Basic software installation available User’s LAN VM Virtual networking ties the machine back to user’s home network Virtuoso continuously monitors and adapts

7 User’s View in Virtuoso Model User User’s LAN VM

8 Outline Virtual machine grid computing Virtuoso system Networking challenges in Virtuoso Enter VNET VNET, VTTIFAdaptive virtual network Evaluation Summary

9 User’s friendly LAN Foreign hostile LAN Virtual Machine VNET: A bridge with long wires Host Proxy X Virtual Networks VM traffic going out on foreign LAN IP network A machine is suddenly plugged into a foreign network. What happens? Does it get an IP address? Is it a routeable address? Does firewall let its traffic through? To any port?

10 Host vmnet0 Ethernet Packet Tunneled over TCP/SSL Connection Ethernet Packet Captured by Interface in Promiscuous mode “Host Only” Network Ethernet Packet is Matched against the Forwarding Table on that VNET First linkSecond link (to proxy) Local traffic matrix inferred by VTTIF Periodically sent to the VNET on the Proxy VNET ethz VM 2 “eth0” VNET ethy IP Network VM 1 “eth0” vmnet0 A VNET Link

11 Virtual Topology and Traffic Inference Framework (VTTIF) Operation Application topology is recovered using normalization and pruning algorithms Ethernet-level traffic monitoring VNET daemons collectively aggregate a global traffic matrix for all VMs

12 Dynamic Topology Inference by VTTIF 1. Fast updates Smoothed Traffic Matrix 2. Low Pass Filter Aggregation 3. Threshold change detection Topology change output VNET Daemons on Hosts VNET Daemon at Proxy Aggregated Traffic Matrix

13 Outline Virtual machine grid computing Virtuoso system Networking challenges in Virtuoso Enter VNET VNET, VTTIFAdaptive virtual network Evaluation Summary

14 Monitoring and inference Application performance measure Adaptation algorithm Adaptation mechanisms Adaptation Applications Optimization metric 1.Overlay topology 2.Forwarding rules 3.VM migration 1.Single hop 2.Worst fit 1.BSP 2.Transactional ecommerce 1.Application throughput 1.VTTIF 2.Network monitoring 1.Single metric 2.Combined metric

15 Optimization Problem (1/2) Topology Only Informally stated: Input –Network traffic load matrix of application Output –Overlay topology connecting hosts –Forwarding rules on the topology  Such that the application throughput is maximized The algorithm is described in detail in the paper

16 Foreign host LAN 1 User’s LAN Host 2 + VNET Proxy + VNET IP network Host 3 + VNET Host 4 + VNET Host 1 + VNET Foreign host LAN 3 Foreign host LAN 4 Foreign host LAN 2 VM 1 VM 4 VM 3 VM 2 Resilient Star Backbone Merged matrix as inferred by VTTIF Illustration of Topology Adaptation in Virtuoso Fast-path links amongst the VNETs hosting VMs

17 Evaluation Reaction time of VNET Patterns: A synthetic BSP benchmark Benefits of adaptation (performance speedup) –Eight VMs on a single cluster, all-all topology –Eight VMs spread over WAN, all-all topology CMU VM 7 University of Chicago VM 8 Northwestern VM 1 DOT Network VM 6 VM 5 … Wide-Area testbed Proxy

18 Reaction Time

19 Benefits of Adaptation Benefits accrued as a function of the number of fast-path links added Patterns has an all-all topology Eight VMs are used All VMs are hosted on the same cluster

20 Patterns has an all-all topology Eight VMs are used VMs are spread over WAN Benefits of Adaptation Benefits accrued as a function of the number of fast-path links added

21 Informally stated: Input –Network traffic load matrix of application –Topology of the network Output –Mapping of VMs to hosts –Overlay topology connecting hosts –Forwarding rules on the topology  Such that the application throughput is maximized Optimization Problem (2/2) Topology + Migration The algorithm is described in detail in the paper

22 Evaluation Applications –Patterns: A synthetic BSP benchmark –TPC-W: Transactional web ecommerce benchmark Benefits of adaptation (performance speedup) –Adapting to compute/communicate ratio –Adapting to external load imbalance

23 Effect on BSP Application Throughput of Adapting to Compute/Communicate Ratio

24 Effect on BSP Application Throughput of Adapting to External Load Imbalance

25 TPCW Throughput (WIPS) With Image Server Facing External Load No TopologyTopology No Migration Migration

26 Outline Virtual machine grid computing Virtuoso system Networking challenges in Virtuoso Enter VNET VNET, VTTIFAdaptive virtual network Evaluation Summary

27 Summary Dynamically adapt existing, unmodified applications running on unmodified operating systems in virtual environments to available resources Adaptation mechanisms are application independent and controlled automatically without user or developer help Demonstrate feasibility of adaptation at the level of collection of VMs connected by Virtual Networks Show that its benefits can be significant for two classes of applications

28 Future Work –Free network measurement (Wren) – Collaboration with CS, W&M –Applicability of a single optimization scheme Related Talk at HPDC 2005 –J. Lange, A. Sundararaj, P. Dinda, “Automatic Dynamic Run-time Optical Network Reservations” –Wednesday, July 27, 2:00 P.M. Please visit –Prescience Lab (Northwestern University) –Virtuoso: Resource Management and Prediction for Distributed Computing using Virtual Machines VNET is publicly available from above URL For More Information

29 Backup slides start from here…

30 Isn’t It Going to Be Too Slow? ApplicationResourceExecTime (10^3 s) Overhead SpecHPC Seismic (serial, medium) Physical16.4N/A VM, local % VM, Grid virtual FS % SpecHPC Climate (serial, medium) Physical9.31N/A VM, local % VM, Grid virtual FS % Experimental setup: physical: dual Pentium III 933MHz, 512MB memory, RedHat 7.1, 30GB disk; virtual: Vmware Workstation 3.0a, 128MB memory, 2GB virtual disk, RedHat 2.0 NFS-based grid virtual file system between UFL (client) and NWU (server) Small relative virtualization overhead; compute-intensive Relative overheads < 5%

31 Isn’t It Going To Be Too Slow? Synthetic benchmark: exponentially arrivals of compute bound tasks, background load provided by playback of traces from PSC Relative overheads < 10%

32 Isn’t It Going To Be Too Slow? Virtualized NICs have very similar bandwidth, slightly higher latencies –J. Sugerman, G. Venkitachalam, B-H Lim, “Virtualizing I/O Devices on VMware Workstation’s Hosted Virtual Machine Monitor”, USENIX 2001 Disk-intensive workloads (kernel build, web service): 30% slowdown –S. King, G. Dunlap, P. Chen, “OS support for Virtual Machines”, USENIX 2003 However: May not scale with faster NIC or disk

33 User’s friendly LAN Foreign hostile LAN Virtual Machine Why VNET? A Scenario IP network User has just bought

34 User’s friendly LAN Foreign hostile LAN Virtual Machine VNET: A bridge with long wires Host Proxy X Why VNET? A Scenario VM traffic going out on foreign LAN IP network A machine is suddenly plugged into a foreign network. What happens? Does it get an IP address? Is it a routeable address? Does firewall let its traffic through? To any port?

35 Host vmnet0 Ethernet Packet Tunneled over TCP/SSL Connection Ethernet Packet Captured by Interface in Promiscuous mode “Host Only” Network Ethernet Packet is Matched against the Forwarding Table on that VNET First linkSecond link (to proxy) Local traffic matrix inferred by VTTIF Periodically sent to the VNET on the Proxy VNET ethz VM “eth0” VNET ethy IP Network VM “eth0” vmnet0 A VNET Link

36 Host vmnet0 Ethernet Packet Tunneled over TCP/SSL Connection Ethernet Packet Captured by Interface in Promiscuous mode “Host Only” Network Ethernet Packet is Matched against the Forwarding Table on that VNET First linkSecond link (to proxy) Local traffic matrix inferred by VTTIF Periodically sent to the VNET on the Proxy VNET ethz VM 2 “eth0” VNET ethy IP Network VM 1 “eth0” vmnet0 A VNET Link

37 User’s LAN Foreign LAN 1 Host 2 + VNET Proxy + VNET VNET startup topology IP network Host 3 + VNET Host 4 + VNET Host 1 + VNET Foreign LAN 3 Foreign LAN 4 Foreign LAN 2 VM 1 VM 4 VM 3 VM 2 TCP Connections

38 VTTIF Traffic characterization and topology inference for applications Ethernet-level traffic monitoring VNET daemons collectively aggregate a global traffic matrix for all VMs Application topology is recovered using normalization and pruning algorithms

39 VTTIF Operation Synced Parallel Traffic Monitoring Traffic Filtering and Matrix Generation Matrix Analysis and Topology Characterization

40 Reaction time of VTTIF

41 Benefits of Adaptation Benefits accrued as a function of the number of fast-path links added Patterns has an all-all topology Eight VMs are used All VMs are hosted on the same cluster

42 Patterns has an all-all topology Eight VMs are used VMs are spread over WAN Benefits of Adaptation Benefits accrued as a function of the number of fast-path links added

43

44

45 Adaptation Algorithms Topology adaptation –Implied traffic intensity between VNET daemons –Links established in order of decreasing traffic intensity –Cost constraint “c” Migration –A worst-fit algorithm Combining algorithms –Migration algorithm is run first –The overlay topology is next determined –Finally the forwarding rules are computed

46 Present and Future Demonstrated the feasibility of adaptation at the level of collection of VMs connected by VNET Showed that its benefits can be significant for two classes of applications Studying the computational complexity of the generic incarnation of adaptation problem Exploring the applicability of a single optimization scheme for a wide-range of distributed applications

47 Summary Dynamically adapt applications in virtual environments to available resources Demonstrate the feasibility of adaptation at the level of collection of VMs connected by Virtual Networks Show that its benefits can be significant for two classes of applications Exploring the applicability of a single adaptation scheme for a wide-range of distributed applications