2600hz virtualization expert q and a

23
Powerful, Distributed, API Communications Call-in Number: 805-309-5900 Pin 705-705- 141 Expert Q&A: Virtualization Edition April 26 th , 2013

Upload: joshua-goldbard

Post on 02-Jul-2015

4.620 views

Category:

Technology


0 download

DESCRIPTION

2600hz Expert Q&A covering Virtualization.

TRANSCRIPT

Page 1: 2600hz Virtualization Expert Q and A

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

Welcome

Page 3: 2600hz Virtualization Expert Q and A

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

Could it all be so simple?

Page 5: 2600hz Virtualization Expert Q and A

In VoIP, It’s all about Timing

Page 6: 2600hz Virtualization Expert Q and A

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

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

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

Some background…

Page 10: 2600hz Virtualization Expert Q and A

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

• 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

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

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

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

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

When can you Virtualize?Sometimes.

Page 17: 2600hz Virtualization Expert Q and A
Page 18: 2600hz Virtualization Expert Q and A

Why Virtualize?

Manage lots of Blocks.

Page 19: 2600hz Virtualization Expert Q and A

• Virtualization introduces overhead

• Overhead effects timing

• Timing effects latency sensitive

applications

Example???

Recap

Page 20: 2600hz Virtualization Expert Q and A

Microsoft Campus

w/ Overhead

Page 21: 2600hz Virtualization Expert Q and A

NOPE

Page 22: 2600hz Virtualization Expert Q and A

• 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

QUESTIONS???