2600hz Virtualization Expert Q and A
-
Upload
joshua-goldbard -
Category
Technology
-
view
4.620 -
download
0
description
Transcript of 2600hz Virtualization Expert Q and A
![Page 1: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/1.jpg)
Powerful, Distributed, API Communications
Call-in Number: 805-309-5900 Pin 705-705-141
Expert Q&A: Virtualization EditionApril 26th, 2013
![Page 2: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/2.jpg)
Welcome
![Page 3: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/3.jpg)
Adam Kalsey
Voxeo Labs, Tropo Product
Mgr
Chris Spearman
PSSC Labs, Big Data Systems
Architect
Darren Schreiber
Founder, 2600hz
Our Panelists
![Page 4: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/4.jpg)
Could it all be so simple?
![Page 5: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/5.jpg)
In VoIP, It’s all about Timing
![Page 6: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/6.jpg)
Because virtual machines work by time-sharing host
physical hardware, they cannot exactly duplicate the
timing activity of physical machines. VMware® virtual
machines use several techniques to minimize and
conceal differences in timing performance, but the
differences can still sometimes cause timekeeping
inaccuracies and other problems in software running
in a virtual machine.
Source: http://www.vmware.com/files/pdf/techpaper/Timekeeping-In-VirtualMachines.pdf
![Page 7: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/7.jpg)
Because virtual machines work by time-sharing host
physical hardware, they cannot exactly
duplicate the timing activity of physical
machines. VMware® virtual machines use several
techniques to minimize and conceal differences in
timing performance, but the differences can still
sometimes cause timekeeping inaccuracies and other
problems in software running in a virtual machine.
![Page 8: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/8.jpg)
Because virtual machines work by time-sharing host
physical hardware, they cannot exactly
duplicate the timing activity of physical
machines. VMware® virtual machines use several
techniques to minimize and conceal differences in
timing performance, but the differences can still
sometimes cause timekeeping inaccuracies
and other problems in software running in a virtual
machine.
![Page 9: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/9.jpg)
Some background…
![Page 10: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/10.jpg)
KVM is to VMWare As FreeSWITCH is to Asterisk
• KVM (Kernal Virtual Machine) is the open-source
equivalent of VMWare.
• Released in 2007 as part of Linux 2.6.20
• KVM is playing “catch-up” to VMWare
• Almost full feature parity
• KVM doesn’t hold your hand as much
• VMWare is more abstracted
• Less customization to get VMWare boxes up
• Better abstraction in VMWare
• KVM is leaner than VMWare
![Page 11: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/11.jpg)
• KVM > VMWare for timing• VMWare > KVM for ease of use• VMWare is the most abstracted virtualization software
• Easy to use• Lots of overhead (messes with timing)
• KVM is less abstracted• Devices are not plug and play• Can’t easily share devices/ports on the same box in
different VMs• Lean, mean and fast!
Platform Differences
![Page 12: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/12.jpg)
A few quick notes on Hardware Assisted Virtualization
• First Introduced by IBM in 1972 for use in the VM/370
• VMWare first got x86 chips for virtualization in 2006• Hardware assisted virtualization is closer to native• Lots of performance benefits (theoretically)
• Early Hardware virtualization was actually slower
• KVM got later access to virtualization hardware
![Page 13: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/13.jpg)
Timing: Whose Fault is it?• Is it the Host operating system?
• Or the Virtualization?
VMWare says it’s the host:
Many host operating systems do not provide a way for
the virtual machine to request a physical timer interrupt at
a precisely specified time.
![Page 14: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/14.jpg)
Lost ticks
•Timing is kept in ticks
• Ticks have a known rate and are used for measuring time
•Virtual Machines cannot call the tick command, and try to “catch up”
when they miss ticks
•This phenomenon is called “lost ticks”
•The solution?
• In current VMware products, if the backlog of interrupts grows beyond
60 seconds, the virtual machine gives up on catching up, simply setting
its record of the backlog to zero.
What causes this?
![Page 15: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/15.jpg)
In current VMware products, if the backlog of
interrupts grows beyond 60 seconds, the
virtual machine gives up on catching up,
simply setting its record of the
backlog to zero.
![Page 16: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/16.jpg)
When can you Virtualize?Sometimes.
![Page 17: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/17.jpg)
![Page 18: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/18.jpg)
Why Virtualize?
Manage lots of Blocks.
![Page 19: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/19.jpg)
• Virtualization introduces overhead
• Overhead effects timing
• Timing effects latency sensitive
applications
Example???
Recap
![Page 20: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/20.jpg)
Microsoft Campus
w/ Overhead
![Page 21: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/21.jpg)
NOPE
![Page 22: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/22.jpg)
• Because of overhead
• Microsoft Introduced Latency
• Which delayed Carbon Neutrality but
saved $140,000.
Moral: Know the impact of your
overhead, in application and
operations
Latency
![Page 23: 2600hz Virtualization Expert Q and A](https://reader035.fdocuments.us/reader035/viewer/2022081404/559472801a28abf1548b458a/html5/thumbnails/23.jpg)
QUESTIONS???