SlideShare uma empresa Scribd logo
1 de 18
HVX: Virtualizing The Cloud
Alex Fishman, Mike Rapoport, Evgeny Budilovsky, Izik Eidus
Ravello Systems
Virtual cloud on top of existing public clouds
➜ Nested hypervisor
➜ Overlay network on top of existing cloud provider’s
network
➜ Storage abstraction layer
➜ APIs for VM, network and storage provisioning
Virtual cloud
3
Public Cloud BPublic Cloud A
L2 guest VM
HW/net/stor
age
abstraction
L1 Cloud VM
public network
L2 overlay network
L2 guest VM
HW/net/stor
age
abstraction
L1 Cloud VM
L2 guest VM
HW/net/stor
age
abstraction
L1 Cloud VM
Motivation
➜ Migration of unmodified multi-VM applications
between different private and public clouds
â€ș Prevent single provider lock-in
➜ Easy to build hybrid clouds
â€ș Elasticity: using a public cloud provides infinite amount
of compute resources on-demand
â€ș High availability
â€ș Cost optimizations
4
Challenges of using public cloud
➜ Incompatible APIs
â€ș EC2, OpenStack flavors, Azure
➜ Different virtualization technologies
â€ș PV vs HVM
â€ș Virtual HW exposed to VM
➜ Network topology
â€ș Vary from provider to provider
â€ș Often rigid and inflexible
➜ Storage
â€ș Incompatible solutions
5
Solution: virtual private cloud on top of a public cloud
➜ Overlay private network on top of a cloud provider’s
network
➜ Virtualize cloud provider’s storage solutions
➜ Nested virtualization atop of cloud instances
6
Nested virtualization
➜ Nested virtualization is implemented by major
hypervisors
â€ș Requires newer CPU models
â€ș Intel VT-x/AMD-V extensions must be visible to L1 guest
VM
â€ș Depends on particular host system configuration
â€ș Experimental technology and not ready for the prime time
7
Public clouds do not support nested virtualization
➜ Huge existing install base
â€ș Not easy to make changes
➜ Heterogeneous hardware and hypervisors
â€ș Mix of older and newer hardware
â€ș Different hypervisor versions
8
But

HVX hypervisor
➜ HVX is a high performance
nested hypervisor
â€ș Can run on top of any hypervisor
â€ș Runs unmodified guest VMs
â€ș Supports PV and HVM for bottom
virtualization layer
â€ș Runs on top of Linux
HVX architecture
9
Unmodified guest
VM
Guest VM
hardware
HVX hypervisor
Linux
Cloud VM
hardware
Cloud VM
HVX highlights
➜ Implements its own set of virtual hardware
â€ș Compatible with KVM, ESX, XEN
➜ Resource overcommit
â€ș CPU and RAM overcommit can lower the costs of using
public cloud infrastructure for lite workloads
➜ Live migration
â€ș HVX allows live VM migration between different public
cloud operators
10
Dynamic binary translation
➜ Translates guest binary code
into platform compatible code
â€ș 32bit guest into 64 bit host
â€ș Replaces privileged instructions
â€ș CPU registers are shadowed
➜ HVX reads and compiles a
guest basic block and then
executes it
➜ At the end of each translated
code section there is a jump
back to HVX and the process
repeats
1111
Instruction
Instruction
Instruction

.
Jump to next
Tc Instruction
Tc Instruction
Tc Instruction

.
Jump to HVX
Original guest code Translated guest code
Next:
Instruction
Instruction
Instruction

.
Instruction
Next TC:
Tc Instruction
Tc Instruction
Tc Instruction

.
Jump to HVX
HVX compiles next
code section
➜ Performance optimizations
â€ș Translated code is cached and chained
â€ș Fast shadow MMU implementation
â€ș Direct execution or user space code (Ring 3)
â€ș PV device implementation for fast IO
â€ș Fast context switching between guest and host kernel
â€ș Uses Linux for guest CPU scheduling and memory management
➜ Memory protection and data isolation
â€ș Each guest runs in its own context and cannot access HVX or host
memory
â€ș Guest resource usage (CPU/IO) can be throttled if needed
12
HVX implementation cont.
Network Layer
➜ Secure L2 overlay
network over cloud
operator’s L3 network
â€ș UDP as a transport layer
â€ș Can span across multiple
clouds
➜ Provides additional
services: DHCP, DNS and
Routing
â€ș The services are fully
distributed: no single
point of failure
13
Image Store
➜ Supports multiple back-ends
â€ș Amazon S3
â€ș RackSpace CloudFiles
â€ș NFS attached volumes
➜ Contains read-only snapshot images
â€ș A VM image is a chain of snapshots
â€ș The top snapshot contains differences from the base
snapshot
â€ș Changes are written to the top snapshot stored locally on a
VM
â€ș The top snapshot can be written back to the store
14
Guest VM storage
➜ HVX adds an abstraction layer above the physical
storage in the cloud
➜ Logical volumes are attached to guest VMs as local
block devices
15
Performance evaluation of HVX hypervisor
➜ Phoronix Test Suite
â€ș apache, openssl, phpbench, pybench, pgbench
➜ timed kernel build
➜ iperf for network testing
Instance type CPUs Memory Virtualization
EC2: m1.large 2 7.5 GB Xen PV
EC2: m3.xlarge 4 15 GB Xen HVM
HP: standard.xlarge 4 16 GB KVM
HVX guest 2/4 4 GB HVX
16
Performance evaluation cont.
17
Conclusions and future work
➜ HVX is a versatile platform for the creation of a
virtual cloud spanning across public and private
clouds
➜ Future work
â€ș Integration with OpenStack
â€ș Run OpenStack compute nodes in a public cloud
â€ș Connecting hSwitch to OpenStack Quantum component
â€ș Create a hybrid OpenStack cloud by creating a bridge between
local data center and a public cloud
18

Mais conteĂșdo relacionado

Mais procurados

XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...The Linux Foundation
 
Advanced Docker Developer Workflows on MacOS X and Windows
Advanced Docker Developer Workflows on MacOS X and WindowsAdvanced Docker Developer Workflows on MacOS X and Windows
Advanced Docker Developer Workflows on MacOS X and WindowsAnil Madhavapeddy
 
Kubernetes on CloudStack with coreOS
Kubernetes on CloudStack with coreOSKubernetes on CloudStack with coreOS
Kubernetes on CloudStack with coreOSSebastien Goasguen
 
Xen Project CI for OpenStack Overview
Xen Project CI for OpenStack OverviewXen Project CI for OpenStack Overview
Xen Project CI for OpenStack OverviewThe Linux Foundation
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageejlp12
 
Deep Dive into Openstack Storage, Sean Cohen, Red Hat
Deep Dive into Openstack Storage, Sean Cohen, Red HatDeep Dive into Openstack Storage, Sean Cohen, Red Hat
Deep Dive into Openstack Storage, Sean Cohen, Red HatCloud Native Day Tel Aviv
 
Unikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSUnikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSDocker, Inc.
 
Docker Orchestration at Production Scale
Docker Orchestration at Production Scale Docker Orchestration at Production Scale
Docker Orchestration at Production Scale Docker, Inc.
 
IITCC15: Xen Project 4.6 Update
IITCC15: Xen Project 4.6 UpdateIITCC15: Xen Project 4.6 Update
IITCC15: Xen Project 4.6 UpdateThe Linux Foundation
 
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarryCeph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarryThe Linux Foundation
 
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5Tim Mackey
 

Mais procurados (20)

XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
 
Advanced Docker Developer Workflows on MacOS X and Windows
Advanced Docker Developer Workflows on MacOS X and WindowsAdvanced Docker Developer Workflows on MacOS X and Windows
Advanced Docker Developer Workflows on MacOS X and Windows
 
Openstack Xen and XCP
Openstack Xen and XCPOpenstack Xen and XCP
Openstack Xen and XCP
 
Policy-based Resource Placement
Policy-based Resource PlacementPolicy-based Resource Placement
Policy-based Resource Placement
 
Kubernetes on CloudStack with coreOS
Kubernetes on CloudStack with coreOSKubernetes on CloudStack with coreOS
Kubernetes on CloudStack with coreOS
 
Xen Project CI for OpenStack Overview
Xen Project CI for OpenStack OverviewXen Project CI for OpenStack Overview
Xen Project CI for OpenStack Overview
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 
Deep Dive into Openstack Storage, Sean Cohen, Red Hat
Deep Dive into Openstack Storage, Sean Cohen, Red HatDeep Dive into Openstack Storage, Sean Cohen, Red Hat
Deep Dive into Openstack Storage, Sean Cohen, Red Hat
 
OpenStack and Windows
OpenStack and WindowsOpenStack and Windows
OpenStack and Windows
 
Status of Embedded Linux
Status of Embedded LinuxStatus of Embedded Linux
Status of Embedded Linux
 
Unikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSUnikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOS
 
Secure Containers with EPT Isolation
Secure Containers with EPT IsolationSecure Containers with EPT Isolation
Secure Containers with EPT Isolation
 
Docker Orchestration at Production Scale
Docker Orchestration at Production Scale Docker Orchestration at Production Scale
Docker Orchestration at Production Scale
 
IITCC15: Xen Project 4.6 Update
IITCC15: Xen Project 4.6 UpdateIITCC15: Xen Project 4.6 Update
IITCC15: Xen Project 4.6 Update
 
Unikernelized Linux
Unikernelized LinuxUnikernelized Linux
Unikernelized Linux
 
OpenStack Cinder
OpenStack CinderOpenStack Cinder
OpenStack Cinder
 
Simplify Networking for Containers
Simplify Networking for ContainersSimplify Networking for Containers
Simplify Networking for Containers
 
Rethinking the OS
Rethinking the OSRethinking the OS
Rethinking the OS
 
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarryCeph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
 
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
CloudStack Day Japan 2015 - Hypervisor Selection in CloudStack 4.5
 

Semelhante a HVX: Virtualizing the Cloud

OSCON: Advanced Docker developer workflows on Mac OS and Windows
OSCON: Advanced Docker developer workflows on Mac OS and WindowsOSCON: Advanced Docker developer workflows on Mac OS and Windows
OSCON: Advanced Docker developer workflows on Mac OS and WindowsDocker, Inc.
 
Unikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library HypervisorUnikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library HypervisorAnil Madhavapeddy
 
Linux Virtualization
Linux VirtualizationLinux Virtualization
Linux VirtualizationOpenVZ
 
High availability virtualization with proxmox
High availability virtualization with proxmoxHigh availability virtualization with proxmox
High availability virtualization with proxmoxOriol Izquierdo Vibalda
 
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud
 
Windows server 8 and hyper v
Windows server 8 and hyper vWindows server 8 and hyper v
Windows server 8 and hyper vSusantha Silva
 
XenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsXenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsTim Mackey
 
Server Virtualization using Hyper-V
Server Virtualization using Hyper-VServer Virtualization using Hyper-V
Server Virtualization using Hyper-VMd Yousup Faruqu
 
Microsoft Server Virtualization and Private Cloud
Microsoft Server Virtualization and Private CloudMicrosoft Server Virtualization and Private Cloud
Microsoft Server Virtualization and Private CloudMd Yousup Faruqu
 
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and WindowsOpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and WindowseNovance
 
Develop with linux containers and docker
Develop with linux containers and dockerDevelop with linux containers and docker
Develop with linux containers and dockerFabio Fumarola
 
VMworld 2013: Deploying VMware NSX Network Virtualization
VMworld 2013: Deploying VMware NSX Network Virtualization VMworld 2013: Deploying VMware NSX Network Virtualization
VMworld 2013: Deploying VMware NSX Network Virtualization VMworld
 
Docker Meetup 08 03-2016
Docker Meetup 08 03-2016Docker Meetup 08 03-2016
Docker Meetup 08 03-2016Docker
 
OpenVZ Linux Containers
OpenVZ Linux ContainersOpenVZ Linux Containers
OpenVZ Linux ContainersKirill Kolyshkin
 
2 Linux Container and Docker
2 Linux Container and Docker2 Linux Container and Docker
2 Linux Container and DockerFabio Fumarola
 
Hyper-V vs. vSphere: Understanding the Differences
Hyper-V vs. vSphere: Understanding the DifferencesHyper-V vs. vSphere: Understanding the Differences
Hyper-V vs. vSphere: Understanding the DifferencesSolarWinds
 
How to Modernize Virtualized Workloads
How to Modernize Virtualized Workloads  How to Modernize Virtualized Workloads
How to Modernize Virtualized Workloads Konveyor Community
 
Sysctr Track: The Capable & Scalable Cloud OS
Sysctr Track: The Capable & Scalable Cloud OSSysctr Track: The Capable & Scalable Cloud OS
Sysctr Track: The Capable & Scalable Cloud OSITProceed
 

Semelhante a HVX: Virtualizing the Cloud (20)

Alex Fishman - Virtualizing the Cloud
Alex Fishman - Virtualizing the CloudAlex Fishman - Virtualizing the Cloud
Alex Fishman - Virtualizing the Cloud
 
OSCON: Advanced Docker developer workflows on Mac OS and Windows
OSCON: Advanced Docker developer workflows on Mac OS and WindowsOSCON: Advanced Docker developer workflows on Mac OS and Windows
OSCON: Advanced Docker developer workflows on Mac OS and Windows
 
Unikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library HypervisorUnikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library Hypervisor
 
Linux Virtualization
Linux VirtualizationLinux Virtualization
Linux Virtualization
 
High availability virtualization with proxmox
High availability virtualization with proxmoxHigh availability virtualization with proxmox
High availability virtualization with proxmox
 
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
 
Windows server 8 and hyper v
Windows server 8 and hyper vWindows server 8 and hyper v
Windows server 8 and hyper v
 
XenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud EnvironmentsXenServer Virtualization In Cloud Environments
XenServer Virtualization In Cloud Environments
 
Server Virtualization using Hyper-V
Server Virtualization using Hyper-VServer Virtualization using Hyper-V
Server Virtualization using Hyper-V
 
Microsoft Server Virtualization and Private Cloud
Microsoft Server Virtualization and Private CloudMicrosoft Server Virtualization and Private Cloud
Microsoft Server Virtualization and Private Cloud
 
Server virtualization 2
Server virtualization   2Server virtualization   2
Server virtualization 2
 
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and WindowsOpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
OpenStack in action 4! Alessandro Pilotti - OpenStack, Hyper-V and Windows
 
Develop with linux containers and docker
Develop with linux containers and dockerDevelop with linux containers and docker
Develop with linux containers and docker
 
VMworld 2013: Deploying VMware NSX Network Virtualization
VMworld 2013: Deploying VMware NSX Network Virtualization VMworld 2013: Deploying VMware NSX Network Virtualization
VMworld 2013: Deploying VMware NSX Network Virtualization
 
Docker Meetup 08 03-2016
Docker Meetup 08 03-2016Docker Meetup 08 03-2016
Docker Meetup 08 03-2016
 
OpenVZ Linux Containers
OpenVZ Linux ContainersOpenVZ Linux Containers
OpenVZ Linux Containers
 
2 Linux Container and Docker
2 Linux Container and Docker2 Linux Container and Docker
2 Linux Container and Docker
 
Hyper-V vs. vSphere: Understanding the Differences
Hyper-V vs. vSphere: Understanding the DifferencesHyper-V vs. vSphere: Understanding the Differences
Hyper-V vs. vSphere: Understanding the Differences
 
How to Modernize Virtualized Workloads
How to Modernize Virtualized Workloads  How to Modernize Virtualized Workloads
How to Modernize Virtualized Workloads
 
Sysctr Track: The Capable & Scalable Cloud OS
Sysctr Track: The Capable & Scalable Cloud OSSysctr Track: The Capable & Scalable Cloud OS
Sysctr Track: The Capable & Scalable Cloud OS
 

Último

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vĂĄzquez
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂșjo
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Último (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

HVX: Virtualizing the Cloud

  • 1. HVX: Virtualizing The Cloud Alex Fishman, Mike Rapoport, Evgeny Budilovsky, Izik Eidus Ravello Systems
  • 2. Virtual cloud on top of existing public clouds ➜ Nested hypervisor ➜ Overlay network on top of existing cloud provider’s network ➜ Storage abstraction layer ➜ APIs for VM, network and storage provisioning
  • 3. Virtual cloud 3 Public Cloud BPublic Cloud A L2 guest VM HW/net/stor age abstraction L1 Cloud VM public network L2 overlay network L2 guest VM HW/net/stor age abstraction L1 Cloud VM L2 guest VM HW/net/stor age abstraction L1 Cloud VM
  • 4. Motivation ➜ Migration of unmodified multi-VM applications between different private and public clouds â€ș Prevent single provider lock-in ➜ Easy to build hybrid clouds â€ș Elasticity: using a public cloud provides infinite amount of compute resources on-demand â€ș High availability â€ș Cost optimizations 4
  • 5. Challenges of using public cloud ➜ Incompatible APIs â€ș EC2, OpenStack flavors, Azure ➜ Different virtualization technologies â€ș PV vs HVM â€ș Virtual HW exposed to VM ➜ Network topology â€ș Vary from provider to provider â€ș Often rigid and inflexible ➜ Storage â€ș Incompatible solutions 5
  • 6. Solution: virtual private cloud on top of a public cloud ➜ Overlay private network on top of a cloud provider’s network ➜ Virtualize cloud provider’s storage solutions ➜ Nested virtualization atop of cloud instances 6
  • 7. Nested virtualization ➜ Nested virtualization is implemented by major hypervisors â€ș Requires newer CPU models â€ș Intel VT-x/AMD-V extensions must be visible to L1 guest VM â€ș Depends on particular host system configuration â€ș Experimental technology and not ready for the prime time 7
  • 8. Public clouds do not support nested virtualization ➜ Huge existing install base â€ș Not easy to make changes ➜ Heterogeneous hardware and hypervisors â€ș Mix of older and newer hardware â€ș Different hypervisor versions 8 But

  • 9. HVX hypervisor ➜ HVX is a high performance nested hypervisor â€ș Can run on top of any hypervisor â€ș Runs unmodified guest VMs â€ș Supports PV and HVM for bottom virtualization layer â€ș Runs on top of Linux HVX architecture 9 Unmodified guest VM Guest VM hardware HVX hypervisor Linux Cloud VM hardware Cloud VM
  • 10. HVX highlights ➜ Implements its own set of virtual hardware â€ș Compatible with KVM, ESX, XEN ➜ Resource overcommit â€ș CPU and RAM overcommit can lower the costs of using public cloud infrastructure for lite workloads ➜ Live migration â€ș HVX allows live VM migration between different public cloud operators 10
  • 11. Dynamic binary translation ➜ Translates guest binary code into platform compatible code â€ș 32bit guest into 64 bit host â€ș Replaces privileged instructions â€ș CPU registers are shadowed ➜ HVX reads and compiles a guest basic block and then executes it ➜ At the end of each translated code section there is a jump back to HVX and the process repeats 1111 Instruction Instruction Instruction 
. Jump to next Tc Instruction Tc Instruction Tc Instruction 
. Jump to HVX Original guest code Translated guest code Next: Instruction Instruction Instruction 
. Instruction Next TC: Tc Instruction Tc Instruction Tc Instruction 
. Jump to HVX HVX compiles next code section
  • 12. ➜ Performance optimizations â€ș Translated code is cached and chained â€ș Fast shadow MMU implementation â€ș Direct execution or user space code (Ring 3) â€ș PV device implementation for fast IO â€ș Fast context switching between guest and host kernel â€ș Uses Linux for guest CPU scheduling and memory management ➜ Memory protection and data isolation â€ș Each guest runs in its own context and cannot access HVX or host memory â€ș Guest resource usage (CPU/IO) can be throttled if needed 12 HVX implementation cont.
  • 13. Network Layer ➜ Secure L2 overlay network over cloud operator’s L3 network â€ș UDP as a transport layer â€ș Can span across multiple clouds ➜ Provides additional services: DHCP, DNS and Routing â€ș The services are fully distributed: no single point of failure 13
  • 14. Image Store ➜ Supports multiple back-ends â€ș Amazon S3 â€ș RackSpace CloudFiles â€ș NFS attached volumes ➜ Contains read-only snapshot images â€ș A VM image is a chain of snapshots â€ș The top snapshot contains differences from the base snapshot â€ș Changes are written to the top snapshot stored locally on a VM â€ș The top snapshot can be written back to the store 14
  • 15. Guest VM storage ➜ HVX adds an abstraction layer above the physical storage in the cloud ➜ Logical volumes are attached to guest VMs as local block devices 15
  • 16. Performance evaluation of HVX hypervisor ➜ Phoronix Test Suite â€ș apache, openssl, phpbench, pybench, pgbench ➜ timed kernel build ➜ iperf for network testing Instance type CPUs Memory Virtualization EC2: m1.large 2 7.5 GB Xen PV EC2: m3.xlarge 4 15 GB Xen HVM HP: standard.xlarge 4 16 GB KVM HVX guest 2/4 4 GB HVX 16
  • 18. Conclusions and future work ➜ HVX is a versatile platform for the creation of a virtual cloud spanning across public and private clouds ➜ Future work â€ș Integration with OpenStack â€ș Run OpenStack compute nodes in a public cloud â€ș Connecting hSwitch to OpenStack Quantum component â€ș Create a hybrid OpenStack cloud by creating a bridge between local data center and a public cloud 18