[Freeswitch-users] Delays on VirtualMachines vs baremetal

Anthony Minessale anthony.minessale at gmail.com
Wed Jun 25 18:06:41 MSD 2014


Make sure the vm host and the vm themselves are running an OS with 3.x
kernel or better and hardware timing source is enabled to be passed to the
guests.



On Wed, Jun 25, 2014 at 6:41 AM, Daniel Ivanov <sertys at gmail.com> wrote:

> Good posting Marcus. I will try to investigate further what our VMs are
> using , as we are only renting them and don't have host control.
>
>
> On Wed, Jun 25, 2014 at 11:37 AM, Markus Lindenberg <
> markus.lindenberg at gmail.com> wrote:
>
>> Hi Daniel,
>>
>> I'm running FreeSWITCH on KVM (Debian 7 Guest / Proxmox hosts and RHEL 6
>> hosts) without problems, even conferences and softfax (stuff where I assume
>> timing is more critical) works very well. I exercised some caution when
>> configuring the VM though, I don't know if all those things are necessary,
>> best practice or even useful, but they result from some experience with
>> strange timing in VMs:
>>
>> I have set up mod_timerfd, although I don't know if it's any different
>> from using enable-softtimer-timerfd in core:
>>
>> freeswitch at default> show timer
>> type,name,ikey
>> timer,soft,CORE_SOFTTIMER_MODULE
>> timer,timerfd,mod_timerfd
>>
>> My guest kernel supports linking the guest clock source to the host, so I
>> don't have any issues with clock drifting away and don't need NTP in the
>> guest. Maybe this also affects FreeSWITCH's ability to keep time?
>>
>> root at freeswitch:~# cat
>> /sys/devices/system/clocksource/clocksource0/current_clocksource
>> kvm-clock
>>
>> On systems that don't need the CPU power, I make sure only one virtual
>> CPU exists and/or pin the guest CPUs to host CPUs.
>>
>> Maybe the most useful thing to check is to switch the virtual NIC in KVM,
>> I usually try to use virtio where possible, but hat strange issues before
>> (like a DHCP Server VM not seeing DISCOVERs with virtio NIC while the same
>> VM with e1000 worked fine). So, maybe try to switch NIC type and see if it
>> helps. Currently I'm using FreeSWITCH on both e1000 and virtio without
>> issues.
>>
>> Regards, Markus
>>
>>
>>
>>
>> On Tue, Jun 24, 2014 at 3:45 PM, Daniel Ivanov <sertys at gmail.com> wrote:
>>
>>> KVM virtual machines, running centos5
>>>
>>>
>>> On Tue, Jun 24, 2014 at 2:55 PM, Brian West <brian at freeswitch.org>
>>> wrote:
>>>
>>>> What are you running on?
>>>>
>>>> Sent from my iPhone
>>>>
>>>> > On Jun 24, 2014, at 7:41 AM, Daniel Ivanov <sertys at gmail.com> wrote:
>>>> >
>>>> > I am running multiple FS nodes on virtualmachines and sometimes am
>>>> getting choppy audio and network delays when network conditions are
>>>> perfect. Do you think it's worth migrating the instances to bare metal and
>>>> will i notice improvement in call quality?
>>>> >
>>>> _________________________________________________________________________
>>>> > Professional FreeSWITCH Consulting Services:
>>>> > consulting at freeswitch.org
>>>> > http://www.freeswitchsolutions.com
>>>> >
>>>> > 
>>>> > 
>>>> >
>>>> > Official FreeSWITCH Sites
>>>> > http://www.freeswitch.org
>>>> > http://wiki.freeswitch.org
>>>> > http://www.cluecon.com
>>>> >
>>>> > FreeSWITCH-users mailing list
>>>> > FreeSWITCH-users at lists.freeswitch.org
>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> > UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> > http://www.freeswitch.org
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140625/74c7586b/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list