[Freeswitch-users] KVM vs. XEN virtualization

Giovanni Maruzzelli gmaruzz at gmail.com
Mon Apr 6 06:55:52 MSD 2015


On Mon, Apr 6, 2015 at 4:39 AM, George Assaad <gassaad at emassembly.com>
wrote:

> Nobody mentioned OpenVZ, what about it? If anybody has any feedback?
>

OpenVZ (and "containers", LXC, ertc) is the preferred method for
"virtualization" of FreeSWITCH.
It does not emulate an hardware layer, neither runs multiple kernels
sharing (multiplexing) an hardware clock.
It runs directly on the iron, and has one only kernel, with real IRQs and
timers.
As for timing, OpenVZ and LXC give you the same results as bare metal, eg
best possible results.

-giovanni


>
> On Sun, Apr 5, 2015 at 7:52 PM, Carlos Ruiz Díaz <
> carlos.ruizdiaz at gmail.com> wrote:
>
>> This makes me wonder whether to stick with DO or migrate to Amazon.
>>
>> Any advice on EC2 quality compared to DO?
>>
>> On Sun, Apr 5, 2015 at 5:33 PM, Stanislav Sinyagin <ssinyagin at gmail.com>
>> wrote:
>>
>>> I made additional tests by sending calls to sipgate.co.uk, and they
>>> confirm my results: when sending a call from my Xen server in Switzerland,
>>> the received audio is always perfect. But when sending from a Digitalocean
>>> host in Amsterdam, I get the slipping frames.
>>>
>>> I will re-test again during a business day, when the servers are likely
>>> to be more busy.
>>>
>>>
>>>
>>> On Sun, Apr 5, 2015 at 12:47 PM, Stanislav Sinyagin <ssinyagin at gmail.com
>>> > wrote:
>>>
>>>> Yrs, jitter buffer was enabled. Here I'm pretty sure that we deal with
>>>> the clock skew.
>>>> On Apr 5, 2015 12:07 PM, "Brian West" <brian at freeswitch.org> wrote:
>>>>
>>>>> Correct me if I'm wrong but is sounds like you've described jitter.
>>>>> Did you test with the jitter buffer enabled?
>>>>>
>>>>> On Sunday, April 5, 2015, Regis M <regis.freeswitch.org at tornad.net>
>>>>> wrote:
>>>>>
>>>>>> nice work !!!  Thanks for sharing.
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin at gmail.com>:
>>>>>>
>>>>>>> here we go:
>>>>>>>
>>>>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virtual-machine/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <
>>>>>>> ssinyagin at gmail.com> wrote:
>>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M <
>>>>>>> regis.freeswitch.org at tornad.net> wrote:
>>>>>>> >> How do you check wavs together in audacity ?
>>>>>>> >
>>>>>>> > you just open two WAV files, align their starting position, and
>>>>>>> > visually check the waves. If there's a problem, you would see that
>>>>>>> > after few seconds, the waves are not aligned any more.
>>>>>>> >
>>>>>>> >> Can you send me 2 samples wav (send... and recorded) so I could
>>>>>>> see the 20ms
>>>>>>> >> diff that you exposed...
>>>>>>> >>
>>>>>>> >> Is there a way to automate the result checking, so it could help
>>>>>>> to monitor
>>>>>>> >> itsp quality
>>>>>>> >
>>>>>>> > Here
>>>>>>> > https://github.com/openpreserve/scape-xcorrsound/issues/17
>>>>>>> > this is a link to a tool which compares two sound files at the wave
>>>>>>> > level. You can also see the sound samples in the ticket.
>>>>>>> > The problem is, that currently this tool does not detect such
>>>>>>> slipping frames.
>>>>>>> >
>>>>>>> > I will also write a detailed article with examples, during the
>>>>>>> weekend.
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >>
>>>>>>> >>
>>>>>>> >> 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin <
>>>>>>> ssinyagin at gmail.com>:
>>>>>>> >>>
>>>>>>> >>> Important is to send the media through two independent carriers
>>>>>>> - then you
>>>>>>> >>> can be sure that your clock is compared against a high quality
>>>>>>> one.
>>>>>>> >>>
>>>>>>> >>> On Apr 4, 2015 12:46 PM, "Regis M" <
>>>>>>> regis.freeswitch.org at tornad.net>
>>>>>>> >>> wrote:
>>>>>>> >>>>
>>>>>>> >>>> Hi,
>>>>>>> >>>>
>>>>>>> >>>> It's a very interresting test and conclusion.
>>>>>>> >>>>
>>>>>>> >>>> I will try to build a similar environnement on my freeswitch to
>>>>>>> check
>>>>>>> >>>> some system :)
>>>>>>> >>>>
>>>>>>> >>>> thanks
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>>
>>>>>>> >>>> 2015-04-04 2:16 GMT+02:00 Stanislav Sinyagin <
>>>>>>> ssinyagin at gmail.com>:
>>>>>>> >>>>>
>>>>>>> >>>>> hi,
>>>>>>> >>>>>
>>>>>>> >>>>> Here are some test results which might be interesting:
>>>>>>> >>>>>
>>>>>>> >>>>> I've set up a test FreeSWITCH server at digitalocean (they use
>>>>>>> KVM),
>>>>>>> >>>>> and originated test calls to some ITSP accounts. Each call
>>>>>>> played a
>>>>>>> >>>>> test sound file (voice samples from ITU:
>>>>>>> >>>>>
>>>>>>> http://www.itu.int/net/itu-t/sigdb/genaudio/AudioForm-g.aspx?val=1000050
>>>>>>> >>>>> ), and on the receiving end another FreeSWITCH server was
>>>>>>> recording
>>>>>>> >>>>> the received session. The receiving server was on a XEN VM.
>>>>>>> Both
>>>>>>> >>>>> servers talked G711 to their corresponding ITSP accounts.
>>>>>>> >>>>>
>>>>>>> >>>>> Then I compared the source audio and received audio in
>>>>>>> Audacity editor.
>>>>>>> >>>>>
>>>>>>> >>>>> The tests showed that the received voice wave shifts 20ms from
>>>>>>> the
>>>>>>> >>>>> original sound every few seconds, randomly back and forward.
>>>>>>> This
>>>>>>> >>>>> skewing was always present, regardless of ITSP and time of day.
>>>>>>> >>>>>
>>>>>>> >>>>> Then I moved the sending server to a XEN VM, and the waves
>>>>>>> appeared
>>>>>>> >>>>> almost perfectly synchronized (there was a 5ms skew in one
>>>>>>> test, and I
>>>>>>> >>>>> guess it's related to transcoding buffer, as the sound was
>>>>>>> obviously
>>>>>>> >>>>> transcoded).
>>>>>>> >>>>>
>>>>>>> >>>>> The effect was always visible with a 30-second sample, and I
>>>>>>> also made
>>>>>>> >>>>> additional tests with 2-minute samples.
>>>>>>> >>>>>
>>>>>>> >>>>> It would also be interesting to test this from a VmWare VM. If
>>>>>>> someone
>>>>>>> >>>>> wants to run such a test, feel free to contact me directly.
>>>>>>> >>>>>
>>>>>>> >>>>>
>>>>>>> >>>>> cheers,
>>>>>>> >>>>> stan
>>>>>>> >>>>>
>>>>>>> >>>>>
>>>>>>> >>>>>
>>>>>>> _________________________________________________________________________
>>>>>>> >>>>> Professional FreeSWITCH Consulting Services:
>>>>>>> >>>>> consulting at freeswitch.org
>>>>>>> >>>>> http://www.freeswitchsolutions.com
>>>>>>> >>>>>
>>>>>>> >>>>> Official FreeSWITCH Sites
>>>>>>> >>>>> http://www.freeswitch.org
>>>>>>> >>>>> http://confluence.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://confluence.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://confluence.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://confluence.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://confluence.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
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Brian West*
>>>>> brian at freeswitch.org
>>>>>
>>>>>
>>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>>> http://www.freeswitchbook.com
>>>>> http://www.freeswitchcookbook.com
>>>>>
>>>>> ClueCon 2015 Call for Speakers
>>>>> <https://www.cluecon.com/call-for-speakers/> | Register
>>>>> <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch
>>>>> <https://www.reddit.com/r/freeswitch>
>>>>>
>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.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://confluence.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
>>>
>>
>>
>>
>> --
>> Carlos
>> http://caruizdiaz.com
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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://confluence.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
>



-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150406/663aebd9/attachment-0001.html 


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