[Freeswitch-users] Virtualized FreeSWITCH

Rob Forman rob4manhere at gmail.com
Tue Mar 2 21:04:46 PST 2010


Hi all,

Is anyone running FreeSWITCH virtualized (xen or vmware) in  
production?  I saw ec2 and xen mentioned a few places.  If so, are  
there tips or tricks for handle timer issues which affect virtual  
machines in general, such as recommended divider or clocksource  
settings?  I'm seeing funny timing issues while testing with audio  
recording and playback that speed up or slow down.

I have tried both paravirt and hvm.  The default xen kernel has a  
timer of 250, so I tried to hvm instead using the stock 5.3 kernel  
with the 1khz timer but didn't see much improvement.

All of this was tested on 64-bit CentOS 5.3.
- Physical host: Linux localhost.localdomain 2.6.18-164.11.1.el5xen #1  
SMP Wed Jan 20 08:06:04 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
   CONFIG_HZ=250
- Paravirt host: Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP  
Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
   CONFIG_HZ=250
- Hvm host: Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Jan  
21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
   CONFIG_HZ=1000


I'm sure physical hosts are the de-facto best practice, but are  
virtual machines not worth it at all?

Cheers,
Rob




More information about the FreeSWITCH-users mailing list