Re: [Freeswitch-users] VMWare voice quality
I think the problem with changing the CPU's is off your going from a single to multi, or multi to single CPU and not adjusting the kernel from SMP to normal or vise versa? I've got a nice ESXi farm at the moment (32 cores, 48 gigs of ram) thats running at under 5% usage. Haven't noticed any timing issues yet with FS, but haven't put it under any type of load yet. Thanks for the release, I'll see if i can get you some feedback. On Thu, Jan 15, 2009 at 2:23 PM, Chav Paskov wrote: > Michael Collins wrote: > > If anyone figures this out please post it to this thread. I am working > > on a wiki page for the VMWare appliance and I would like to be able to > > inform people on how to handle this situation. > > > > Also, IIUC, those running VMWare Fusion on Macs are not experiencing > > this, correct? What about those using a hypervisor like ESXi? Any > > known issues? > > > > Thanks, > > MC > > > > On Thu, Jan 15, 2009 at 9:15 AM, Ken Rice wrote: > > > >> On 1/15/09 11:01 AM, "Remko Kloosterman" wrote: > >> > >> > >>> Hello Ken, hello all, > >>> > >>> I just read about the FreeSWITCH VMware applicance. I'm curious about > >>> your experiences with the audio quality on VMWare, so here's a new > >>> thread. > >>> > >>> I've installed freeswitch on VMware Server for Windows. The IVR audio > >>> always plays choppy, while the server itself has no performance issues. > >>> The same poor voice quality also goes for Asterisk or Yate, even on a > >>> very fast VMware ESX system. > >>> > >>> Did you experience the same and/or do you have pointers on how to > >>> troubleshoot and fix this? > >>> > >> There is a high resolution timer you need to enable on vmware... I'm not > >> familiar enuff with all the versions of vmware to advise there that > switch > >> is, but they have a couple of articles on it in their knowledge base > >> > >> > >> > >> ___ > >> Freeswitch-users mailing list > >> Freeswitch-users@lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> http://www.freeswitch.org > >> > >> > > > > ___ > > Freeswitch-users mailing list > > Freeswitch-users@lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > Hi All, > I'm using freeswitch in production environment running on ESXi . I have > no issues with voice /probably because simply i leave the media to flow > between endpoints/ . Performance is amazing and i'd recommend this setup > to everybody. > it is important though when you set your VM on ESXi to set in advance > the number of CPUs. Changing # of CPUs later might affect your > performance. My recommendation is NOT to use VMWARE server on top of > other OS. ESXi as hipervisor is linux in its core that provides you > with enough access to the HW and nothing more so the overhead is as > minimal as possible /while this is not the case fro VMware server - it > needs underlaying OS and so on/. > I hope this info helps. > If anybody is interested i'd be glad to share me experience on his > matter. > Best Regards > Chav > > ___ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] VMWare voice quality
Michael Collins wrote: > If anyone figures this out please post it to this thread. I am working > on a wiki page for the VMWare appliance and I would like to be able to > inform people on how to handle this situation. I had some issues under vmware fusion. They were resolved by adding clock=pit [1] to the kernel boot params and switching to host-only networking, and running natd + ipfw on the host system. The vmware natd would probably also work. haven't tried myself. The clock=pit is the big kicker. Also, recompiling the kernel with HZ=100 might help to reduce the load on the host system. [2] Though, with a small number of vms/vcpus on decent hw the number of context switches probably won't have much of an effect. [1] www.vmware.com/pdf/vmware_timekeeping.pdf [2] http://communities.vmware.com/docs/DOC-3580 > > Also, IIUC, those running VMWare Fusion on Macs are not experiencing > this, correct? What about those using a hypervisor like ESXi? Any > known issues? > > Thanks, > MC > > On Thu, Jan 15, 2009 at 9:15 AM, Ken Rice wrote: >> On 1/15/09 11:01 AM, "Remko Kloosterman" wrote: >> >>> Hello Ken, hello all, >>> >>> I just read about the FreeSWITCH VMware applicance. I'm curious about >>> your experiences with the audio quality on VMWare, so here's a new >>> thread. >>> >>> I've installed freeswitch on VMware Server for Windows. The IVR audio >>> always plays choppy, while the server itself has no performance issues. >>> The same poor voice quality also goes for Asterisk or Yate, even on a >>> very fast VMware ESX system. >>> >>> Did you experience the same and/or do you have pointers on how to >>> troubleshoot and fix this? >> >> There is a high resolution timer you need to enable on vmware... I'm not >> familiar enuff with all the versions of vmware to advise there that switch >> is, but they have a couple of articles on it in their knowledge base >> >> >> ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] Vmware voice quality
This is a known issue with all virtualization solutions. The realtime clocks inside the Virtual Machine jitter quite a bit which causes havoc with the udp media streams. I have never heard of someone using any VoIP product inside a VM and being happy with the result. To the best of my knowledge, all the current VM products suffer from this - Hyper-V, Xen and VMware, VMWare being the worst. Xen shares access to the system clock with paravirtualized guests directly, so you might find that to be somewhat better than VMWare. More here - http://www.vmware.com/pdf/vmware_timekeeping.pdf The performance of the server is irrelevant. Google for UDP jitter in combination with VMWare. On Thu, Jan 15, 2009 at 12:08 PM, Remko Kloosterman wrote: > Hello Ken, hello all, > > I just read about the FreeSWITCH VMware applicance. I'm curious about your > experiences with the audio quality on VMWare, so here's a new thread. > > I've installed freeswitch on VMware Server for Windows. The IVR audio always > plays choppy, while the server itself has no performance issues. The same > poor voice quality also goes for Asterisk or Yate, even on a very fast > VMware ESX system. > > Did you experience the same and/or do you have pointers on how to > troubleshoot and fix this? > > Thanks, > > Remko > > ___ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] VMWare voice quality
Hello all, let me also give some experience from the VirtualBox side (Community Version). Host machine == AMD X2 64 3800 with 8GB of RAM OS is a generic Debian 4.0R5 with Kernel 2.6.18-6-amd64 No special parameters in the Kernel. Started with VirtualBox 1.5 and now on 2.0.x Client machine (freeswitch) === Ubuntu 8.041 Generic Kernel 2.6.24-18-generic #1 SMP, 1 CPU Experience: === A single call produces about 20% CPU load. So this is not usefull for any production environment. I did not discover any dropouts in a normal call between internal and external UAs/gateways since 6 months. So for testing purposes its fine. Voice between User Agents is always fine. Seldomly I hear choppy voice when announcements are played. After some minutes these problems go away. Resume === For testing/development purposes, FS on VirtualBox is fine. For any productive environment it's not really usable in our environment. Comparison with Asterisk = Asterisk never worked in this environment: Choppe voice between UAs and when playing sound. 100% CPU load on a single call. == Best regards Peter Gregory Boehnlein schrieb: > You'll never fix this. Voice is a latency specific application unless you > figure out how to manipulate time. Any virtualization platform is going to > provide less timing granularity than raw hardware. > > >> Hello Ken, hello all, >> >> I just read about the FreeSWITCH VMware applicance. I'm curious about >> your experiences with the audio quality on VMWare, so here's a new >> thread. >> >> I've installed freeswitch on VMware Server for Windows. The IVR audio >> always plays choppy, while the server itself has no performance issues. >> The same poor voice quality also goes for Asterisk or Yate, even on a >> very fast VMware ESX system. >> >> Did you experience the same and/or do you have pointers on how to >> troubleshoot and fix this? >> > > > ___ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] VMWare voice quality
Michael Collins wrote: > If anyone figures this out please post it to this thread. I am working > on a wiki page for the VMWare appliance and I would like to be able to > inform people on how to handle this situation. > > Also, IIUC, those running VMWare Fusion on Macs are not experiencing > this, correct? What about those using a hypervisor like ESXi? Any > known issues? > > Thanks, > MC > > On Thu, Jan 15, 2009 at 9:15 AM, Ken Rice wrote: > >> On 1/15/09 11:01 AM, "Remko Kloosterman" wrote: >> >> >>> Hello Ken, hello all, >>> >>> I just read about the FreeSWITCH VMware applicance. I'm curious about >>> your experiences with the audio quality on VMWare, so here's a new >>> thread. >>> >>> I've installed freeswitch on VMware Server for Windows. The IVR audio >>> always plays choppy, while the server itself has no performance issues. >>> The same poor voice quality also goes for Asterisk or Yate, even on a >>> very fast VMware ESX system. >>> >>> Did you experience the same and/or do you have pointers on how to >>> troubleshoot and fix this? >>> >> There is a high resolution timer you need to enable on vmware... I'm not >> familiar enuff with all the versions of vmware to advise there that switch >> is, but they have a couple of articles on it in their knowledge base >> >> >> >> ___ >> Freeswitch-users mailing list >> Freeswitch-users@lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > > ___ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > Hi All, I'm using freeswitch in production environment running on ESXi . I have no issues with voice /probably because simply i leave the media to flow between endpoints/ . Performance is amazing and i'd recommend this setup to everybody. it is important though when you set your VM on ESXi to set in advance the number of CPUs. Changing # of CPUs later might affect your performance. My recommendation is NOT to use VMWARE server on top of other OS. ESXi as hipervisor is linux in its core that provides you with enough access to the HW and nothing more so the overhead is as minimal as possible /while this is not the case fro VMware server - it needs underlaying OS and so on/. I hope this info helps. If anybody is interested i'd be glad to share me experience on his matter. Best Regards Chav ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] VMWare voice quality
You'll never fix this. Voice is a latency specific application unless you figure out how to manipulate time. Any virtualization platform is going to provide less timing granularity than raw hardware. > Hello Ken, hello all, > > I just read about the FreeSWITCH VMware applicance. I'm curious about > your experiences with the audio quality on VMWare, so here's a new > thread. > > I've installed freeswitch on VMware Server for Windows. The IVR audio > always plays choppy, while the server itself has no performance issues. > The same poor voice quality also goes for Asterisk or Yate, even on a > very fast VMware ESX system. > > Did you experience the same and/or do you have pointers on how to > troubleshoot and fix this? ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] VMWare voice quality
I have been running FreeSWITCH on a VM ever since I got involved in the project. It's been almost a year now. I didn't do anything special - it works fine. I get audio problems if I go over 10 or 15 simultaneous calls. This is on the following setup: VMWare Server 1.0.6 and VMWare Server 2.0 (2.0 sucks, btw ) Dell Precision 360 (Desktop) Pentium 4 2.66Ghz 2.5GB RAM (512MB allocated to FS) Fedora Core 8, 2.6.23.1-42.fc8 stock kernel (a bit old) 7.2K 80GB hard drive Yes, fancy machine I have, huh? This is my normal day-to-day workstation as well as my VMWare Server. It works fine, I got occassional missed heartbeat alerts and timer sync notices, but they're rare. - Darren -Original Message- From: Michael Collins [mailto:m...@freeswitch.org] Sent: Thursday, January 15, 2009 9:32 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] VMWare voice quality If anyone figures this out please post it to this thread. I am working on a wiki page for the VMWare appliance and I would like to be able to inform people on how to handle this situation. Also, IIUC, those running VMWare Fusion on Macs are not experiencing this, correct? What about those using a hypervisor like ESXi? Any known issues? Thanks, MC On Thu, Jan 15, 2009 at 9:15 AM, Ken Rice wrote: > On 1/15/09 11:01 AM, "Remko Kloosterman" wrote: > >> Hello Ken, hello all, >> >> I just read about the FreeSWITCH VMware applicance. I'm curious about >> your experiences with the audio quality on VMWare, so here's a new >> thread. >> >> I've installed freeswitch on VMware Server for Windows. The IVR audio >> always plays choppy, while the server itself has no performance issues. >> The same poor voice quality also goes for Asterisk or Yate, even on a >> very fast VMware ESX system. >> >> Did you experience the same and/or do you have pointers on how to >> troubleshoot and fix this? > > > There is a high resolution timer you need to enable on vmware... I'm > not familiar enuff with all the versions of vmware to advise there > that switch is, but they have a couple of articles on it in their > knowledge base > > > > ___ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org > ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] VMWare voice quality
If anyone figures this out please post it to this thread. I am working on a wiki page for the VMWare appliance and I would like to be able to inform people on how to handle this situation. Also, IIUC, those running VMWare Fusion on Macs are not experiencing this, correct? What about those using a hypervisor like ESXi? Any known issues? Thanks, MC On Thu, Jan 15, 2009 at 9:15 AM, Ken Rice wrote: > On 1/15/09 11:01 AM, "Remko Kloosterman" wrote: > >> Hello Ken, hello all, >> >> I just read about the FreeSWITCH VMware applicance. I'm curious about >> your experiences with the audio quality on VMWare, so here's a new >> thread. >> >> I've installed freeswitch on VMware Server for Windows. The IVR audio >> always plays choppy, while the server itself has no performance issues. >> The same poor voice quality also goes for Asterisk or Yate, even on a >> very fast VMware ESX system. >> >> Did you experience the same and/or do you have pointers on how to >> troubleshoot and fix this? > > > There is a high resolution timer you need to enable on vmware... I'm not > familiar enuff with all the versions of vmware to advise there that switch > is, but they have a couple of articles on it in their knowledge base > > > > ___ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] VMWare voice quality
On 1/15/09 11:01 AM, "Remko Kloosterman" wrote: > Hello Ken, hello all, > > I just read about the FreeSWITCH VMware applicance. I'm curious about > your experiences with the audio quality on VMWare, so here's a new > thread. > > I've installed freeswitch on VMware Server for Windows. The IVR audio > always plays choppy, while the server itself has no performance issues. > The same poor voice quality also goes for Asterisk or Yate, even on a > very fast VMware ESX system. > > Did you experience the same and/or do you have pointers on how to > troubleshoot and fix this? There is a high resolution timer you need to enable on vmware... I'm not familiar enuff with all the versions of vmware to advise there that switch is, but they have a couple of articles on it in their knowledge base ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org