KVM vs. XEN virtualization
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
Stanislav, I use vmware esxi. I am not have problems like you has described. On Sat, Apr 4, 2015, 03:18 Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
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@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@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, 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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
How do you check wavs together in audacity ? 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 2015-04-04 12:53 GMT+02:00 Stanislav Sinyagin <ssinyagin@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
here we go: https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
nice work !!! Thanks for sharing. 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@tornad.net> wrote:
nice work !!! Thanks for sharing.
2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com <javascript:_e(%7B%7D,'cvml','ssinyagin@gmail.com');>>:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com <javascript:_e(%7B%7D,'cvml','ssinyagin@gmail.com');>> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@tornad.net <javascript:_e(%7B%7D,'cvml','regis.freeswitch.org@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@gmail.com
<javascript:_e(%7B%7D,'cvml','ssinyagin@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@tornad.net <javascript:_e(%7B%7D,'cvml','regis.freeswitch.org@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@gmail.com
<javascript:_e(%7B%7D,'cvml','ssinyagin@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@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','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
-- *Brian West* brian@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
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@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@tornad.net> wrote:
nice work !!! Thanks for sharing.
2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@tornad.net> wrote:
nice work !!! Thanks for sharing.
2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@tornad.net> wrote:
nice work !!! Thanks for sharing.
2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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
Nobody mentioned OpenVZ, what about it? If anybody has any feedback? On Sun, Apr 5, 2015 at 7:52 PM, Carlos Ruiz Díaz <carlos.ruizdiaz@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@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@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@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@tornad.net> wrote:
nice work !!! Thanks for sharing.
2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote: > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Mon, Apr 6, 2015 at 4:39 AM, George Assaad <gassaad@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@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@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@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@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@tornad.net> wrote:
nice work !!! Thanks for sharing.
2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
> here we go: > > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... > > > > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < > ssinyagin@gmail.com> wrote: > > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < > regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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
On (06/04/15 04:55), Giovanni Maruzzelli wrote:
OpenVZ (and "containers", LXC, ertc) is the preferred method for "virtualization" of FreeSWITCH.
BTW: anyone who can share experience running FreeSWITCH inside a Docker container on a virtual (KVM) cloud server running debian stable/wheezy [a] or Jessie (which will be soon to new stable)? I believe Docker is using LXC, but I'm curious about Docker specific. I've seen several public Docker repositories on the Docker Hub (not to mention the possible private repositories): https://registry.hub.docker.com/search?q=freeswitch [a] Docker on Stable/Wheezy with wheezy-backports Kernel: https://docs.docker.com/installation/debian/#debian-wheezystable-7x-64-bit -- EL
This makes me wonder whether to stick with DO or migrate to Amazon.
Any advice on EC2 quality compared to DO?
Well if you want better price *and* quality then EC2, take a look at profitbricks.com They use InfiniBand (Mellanox), KVM, real dedicated CPU and RAM. It's a German company with DC in Germany and USA. You can also look/try cloudvps.com (price is also hourly). -- EL
Price aside... we have no issues so far with Amazon. Carlos. 2015-04-05 19:22 GMT-04:30 Carlos Ruiz Díaz <carlos.ruizdiaz@gmail.com>:
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@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@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@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@tornad.net> wrote:
nice work !!! Thanks for sharing.
2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote: > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
Do you happen to do faxing on EC2? Also what distro do you run on your instances? On Tue, Apr 7, 2015 at 2:22 PM, Victor Medina <victor.medina@cibersys.com> wrote:
Price aside... we have no issues so far with Amazon. Carlos.
2015-04-05 19:22 GMT-04:30 Carlos Ruiz Díaz <carlos.ruizdiaz@gmail.com>:
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@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@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@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@tornad.net> wrote:
nice work !!! Thanks for sharing.
2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>:
> here we go: > > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... > > > > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < > ssinyagin@gmail.com> wrote: > > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < > regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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
No fax so far. Planned. Ubuntu. Lts. El 07/04/2015 15:26, "Brian West" <brian@freeswitch.org> escribió:
Do you happen to do faxing on EC2? Also what distro do you run on your instances?
On Tue, Apr 7, 2015 at 2:22 PM, Victor Medina <victor.medina@cibersys.com> wrote:
Price aside... we have no issues so far with Amazon. Carlos.
2015-04-05 19:22 GMT-04:30 Carlos Ruiz Díaz <carlos.ruizdiaz@gmail.com>:
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@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@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@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@tornad.net> wrote:
> nice work !!! Thanks for sharing. > > > > 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>: > >> here we go: >> >> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >> >> >> >> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >> ssinyagin@gmail.com> wrote: >> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >> regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Tue, Apr 7, 2015 at 10:01 PM, Victor Medina <victor.medina@cibersys.com> wrote:
No fax so far. Planned. Ubuntu. Lts.
if you can use T38, probably no problems (T38 was made for overcoming this kind of problems). If you must try with g711 alone, probably lot of frustrations (faxes are so much more sensitive to this kind of problems you probably end up with a low success rate). -giovanni
El 07/04/2015 15:26, "Brian West" <brian@freeswitch.org> escribió:
Do you happen to do faxing on EC2? Also what distro do you run on your instances?
On Tue, Apr 7, 2015 at 2:22 PM, Victor Medina <victor.medina@cibersys.com
wrote:
Price aside... we have no issues so far with Amazon. Carlos.
2015-04-05 19:22 GMT-04:30 Carlos Ruiz Díaz <carlos.ruizdiaz@gmail.com>:
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@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@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@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@tornad.net> > wrote: > >> nice work !!! Thanks for sharing. >> >> >> >> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com>: >> >>> here we go: >>> >>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >>> >>> >>> >>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>> ssinyagin@gmail.com> wrote: >>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>> regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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
Thanks for the advice On Apr 7, 2015 3:45 PM, "Giovanni Maruzzelli" <gmaruzz@gmail.com> wrote:
On Tue, Apr 7, 2015 at 10:01 PM, Victor Medina <victor.medina@cibersys.com
wrote:
No fax so far. Planned. Ubuntu. Lts.
if you can use T38, probably no problems (T38 was made for overcoming this kind of problems).
If you must try with g711 alone, probably lot of frustrations (faxes are so much more sensitive to this kind of problems you probably end up with a low success rate).
-giovanni
El 07/04/2015 15:26, "Brian West" <brian@freeswitch.org> escribió:
Do you happen to do faxing on EC2? Also what distro do you run on your instances?
On Tue, Apr 7, 2015 at 2:22 PM, Victor Medina < victor.medina@cibersys.com> wrote:
Price aside... we have no issues so far with Amazon. Carlos.
2015-04-05 19:22 GMT-04:30 Carlos Ruiz Díaz <carlos.ruizdiaz@gmail.com> :
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@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@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@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@tornad.net> >> wrote: >> >>> nice work !!! Thanks for sharing. >>> >>> >>> >>> 2015-04-05 2:37 GMT+02:00 Stanislav Sinyagin <ssinyagin@gmail.com> >>> : >>> >>>> here we go: >>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >>>> >>>> >>>> >>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>> ssinyagin@gmail.com> wrote: >>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>> regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Good job and Thanks for sharing! KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding. Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time. With regards to Xen was this at Linode or inhouse? Thanks Errol On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I'm using the smallest $5 machines at DO in Amsterdam and London, and Xen is on my colocated physical machine in Zurich. I'm still collecting the statistics. It's all started when I had my call generator at DO, and I noticed regular slipping frames on the receiving side. The calls were definitely going through TDM links, because I know the receiving side. I'm still testing it. Sometimes I get slipping frames from the Xen calls, but never such regular slips as I got with DO. Sometimes on a DO host, the calls run quite fine, but those were on a weekend in the middle of the night. I'll continue testing during the week. What would be good, is to have a KVM machine where the physical host is controlled, so that we can see its overall CPU load during the tests. On Mon, Apr 6, 2015 at 10:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Stanislav, If you have a spare box around you could install Proxmox on it since that uses KVM and works great too. regards, Errol On Mon, Apr 6, 2015 at 9:40 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I'm using the smallest $5 machines at DO in Amsterdam and London, and Xen is on my colocated physical machine in Zurich.
I'm still collecting the statistics. It's all started when I had my call generator at DO, and I noticed regular slipping frames on the receiving side. The calls were definitely going through TDM links, because I know the receiving side.
I'm still testing it. Sometimes I get slipping frames from the Xen calls, but never such regular slips as I got with DO. Sometimes on a DO host, the calls run quite fine, but those were on a weekend in the middle of the night. I'll continue testing during the week.
What would be good, is to have a KVM machine where the physical host is controlled, so that we can see its overall CPU load during the tests.
On Mon, Apr 6, 2015 at 10:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com
wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
"SS" == Stanislav Sinyagin <ssinyagin@gmail.com> writes:
SS> I'm using the smallest $5 machines at DO in Amsterdam and London, and SS> Xen is on my colocated physical machine in Zurich. What does /proc/cpuinfo say? The ones with QEMU Virtual CPU version 1.0 are likely to be worse for this kind of application than the newer ones, with native cpuinfo. -JimC -- James Cloos <cloos@jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
Good point Jim! My DO $20 VM with 2 Cores and 2 GB Ram has Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz -- reasonable but I don't know what percentage cpu is allocated. You have just made me aware that I need to upgrade some Proxmox Nodes this coming weekend :-) On Mon, Apr 6, 2015 at 6:37 PM, James Cloos <freeswitch@jhcloos.com> wrote:
"SS" == Stanislav Sinyagin <ssinyagin@gmail.com> writes:
SS> I'm using the smallest $5 machines at DO in Amsterdam and London, and SS> Xen is on my colocated physical machine in Zurich.
What does /proc/cpuinfo say?
The ones with QEMU Virtual CPU version 1.0 are likely to be worse for this kind of application than the newer ones, with native cpuinfo.
-JimC -- James Cloos <cloos@jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest My VM currently have folowing results [root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Ok Sergey, Here it goes: Test 1 ==== *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868 Test 2 ==== *VM: *Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram *OS:* Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061 This is with system defaults. regards, Errol On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I didn't yet have time to learn this utility - how do we interpret the results? On Apr 6, 2015 4:39 PM, "Errol Samuels" <ewsamuels@gmail.com> wrote:
Ok Sergey,
Here it goes:
Test 1 ==== *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64
policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868
Test 2 ==== *VM: *Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram *OS:* Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64
policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061
This is with system defaults.
regards,
Errol
On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad
precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Depending on the host and guest OS the timing will be a product of several thing. If some of the features FS tries to detect are emulated, it can be a problem. The primary thing FS looks for is a kernel with timerfd support. This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should. So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware. If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. You can also manually configure a combo of one timerfd timer and shared broadcast. This param in switch.conf.xml helps to tune a few behavior you might want to compare results on. enable-softtimer-timerfd true|fd-per-timer --- Use one fd for each timer instance (default) false --- Don't use timerfd at all broadcast --- Use one timerfd and share it with conditional broadcasts This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time. On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I didn't yet have time to learn this utility - how do we interpret the results? On Apr 6, 2015 4:39 PM, "Errol Samuels" <ewsamuels@gmail.com> wrote:
Ok Sergey,
Here it goes:
Test 1 ==== *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64
policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868
Test 2 ==== *VM: *Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram *OS:* Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64
policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061
This is with system defaults.
regards,
Errol
On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad
precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com
wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s
yes, and we're trying to find the one that works with minimal impact on quality :) I'm thinking to move my test server (the one on receiving side) from Xen VM to a physical ARM machine at https://www.scaleway.com/ in France. It would record audio and raw UDP packets and provide them for downloading to everyone. Do we know about any timing issues on ARM platform? if someone sponsors some additional DID numbers, that will be appreciated. On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Depending on the host and guest OS the timing will be a product of several thing. If some of the features FS tries to detect are emulated, it can be a problem.
The primary thing FS looks for is a kernel with timerfd support. This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should.
So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware.
If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. You can also manually configure a combo of one timerfd timer and shared broadcast.
This param in switch.conf.xml helps to tune a few behavior you might want to compare results on.
enable-softtimer-timerfd
true|fd-per-timer --- Use one fd for each timer instance (default)
false --- Don't use timerfd at all
broadcast --- Use one timerfd and share it with conditional broadcasts
This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time.
On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I didn't yet have time to learn this utility - how do we interpret the results?
On Apr 6, 2015 4:39 PM, "Errol Samuels" <ewsamuels@gmail.com> wrote:
Ok Sergey,
Here it goes:
Test 1 ==== VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64
policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868
Test 2 ==== VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64
policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061
This is with system defaults.
regards,
Errol
On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote: > On Sat, Apr 4, 2015 at 1:03 PM, Regis M > <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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+
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I've never had issues running under KVM on Proxmox, Looking back at this thread was there a specific issue that you're trying to solve that put you on to this path of testing? On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
yes, and we're trying to find the one that works with minimal impact on quality :)
I'm thinking to move my test server (the one on receiving side) from Xen VM to a physical ARM machine at https://www.scaleway.com/ in France. It would record audio and raw UDP packets and provide them for downloading to everyone.
Do we know about any timing issues on ARM platform?
if someone sponsors some additional DID numbers, that will be appreciated.
Depending on the host and guest OS the timing will be a product of several thing. If some of the features FS tries to detect are emulated, it can be a problem.
The primary thing FS looks for is a kernel with timerfd support. This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should.
So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware.
If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. You can also manually configure a combo of one timerfd timer and shared broadcast.
This param in switch.conf.xml helps to tune a few behavior you might want to compare results on.
enable-softtimer-timerfd
true|fd-per-timer --- Use one fd for each timer instance (default)
false --- Don't use timerfd at all
broadcast --- Use one timerfd and share it with conditional broadcasts
This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time.
On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin <ssinyagin@gmail.com
wrote:
I didn't yet have time to learn this utility - how do we interpret the results?
On Apr 6, 2015 4:39 PM, "Errol Samuels" <ewsamuels@gmail.com> wrote:
Ok Sergey,
Here it goes:
Test 1 ==== VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64
policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868
Test 2 ==== VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64
policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061
This is with system defaults.
regards,
Errol
On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad > precision
As someone who has been using KVM for a few years and has just
migrated
about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote: > > here we go: > > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... > > > > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin > <ssinyagin@gmail.com> wrote: > > On Sat, Apr 4, 2015 at 1:03 PM, Regis M > > <regis.freeswitch.org@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@gmail.com>: > >>> > >>> Important is to send the media through two independent carriers
On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote: -
> >>> 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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+
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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
A customer is setting up a new telephony switch, and I'm helping them to organize the testing. I noticed the slipping frames in received audio, and then at first I though it's the failure at the receiving side, but then figured out it's my host at DO that is generating unaligned RTP flow. So, now I'm trying to figure out what would be the best virtualized environment to run FreeSWITCH :) On Mon, Apr 6, 2015 at 6:05 PM, Brian West <brian@freeswitch.org> wrote:
I've never had issues running under KVM on Proxmox, Looking back at this thread was there a specific issue that you're trying to solve that put you on to this path of testing?
On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
yes, and we're trying to find the one that works with minimal impact on quality :)
I'm thinking to move my test server (the one on receiving side) from Xen VM to a physical ARM machine at https://www.scaleway.com/ in France. It would record audio and raw UDP packets and provide them for downloading to everyone.
Do we know about any timing issues on ARM platform?
if someone sponsors some additional DID numbers, that will be appreciated.
On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Depending on the host and guest OS the timing will be a product of several thing. If some of the features FS tries to detect are emulated, it can be a problem.
The primary thing FS looks for is a kernel with timerfd support. This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should.
So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware.
If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. You can also manually configure a combo of one timerfd timer and shared broadcast.
This param in switch.conf.xml helps to tune a few behavior you might want to compare results on.
enable-softtimer-timerfd
true|fd-per-timer --- Use one fd for each timer instance (default)
false --- Don't use timerfd at all
broadcast --- Use one timerfd and share it with conditional broadcasts
This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time.
On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote:
I didn't yet have time to learn this utility - how do we interpret the results?
On Apr 6, 2015 4:39 PM, "Errol Samuels" <ewsamuels@gmail.com> wrote:
Ok Sergey,
Here it goes:
Test 1 ==== VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64
policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868
Test 2 ==== VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64
policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061
This is with system defaults.
regards,
Errol
On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n
-i
125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote: > > Good job and Thanks for sharing! > >> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >> precision > > > As someone who has been using KVM for a few years and has just migrated > about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little > concerned about this finding. > > Just out of curiosity can you tell me the specs of the VM that you > tested with and which DO Datacenter? I am using NYC3 so perhaps and I will > do some tests as soon as I have some time. > > With regards to Xen was this at Linode or inhouse? > > Thanks > > Errol > > > > On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin > <ssinyagin@gmail.com> wrote: >> >> here we go: >> >> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >> >> >> >> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >> <ssinyagin@gmail.com> wrote: >> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >> > <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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+
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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 Stanislav, Just to let you know I have a customer using all 3 virtualization technologies mentioned (KVM, Xen and VMWare) and they all seem to be happy. However for the larger setups with 2500+ users my preference is KVM without a doubt. I have for example an install with 4 FusionPBX / Freeswitch VMs with Kamailio in Front for residential phone service all sharing same Postgres DB and serving 5000 users, 4000 DIDs running for more than a year with no voice quality issues. We using Proxmox for this setup and it works great. Test 3 ====== This one is using Proxmox and -t20 with some strange results!? *VM: * KVM with 4 Cores / 8GB Ram and *Virtio Drivers* for Network and HD) *OS:* Ubuntu 12.04.5 LTS / Linux 3.13.0-40-generic x86_64 root@voip-admin:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && date Mon Apr 6 13:03:00 EDT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 1.16 0.61 0.32 1/227 9038 T: 0 ( 9000) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 2957 Max: 3835266 T: 1 ( 9001) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3018 Max: 3888022 T: 2 ( 9002) P:80 I:125 C: 240000 Min: 2 Act: 28 Avg: 2978 Max: 3835499 T: 3 ( 9003) P:80 I:125 C: 240000 Min: 2 Act: 31 Avg: 2975 Max: 3857444 T: 4 ( 9004) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 3029 Max: 3859799 T: 5 ( 9005) P:80 I:125 C: 240000 Min: 2 Act: 22 Avg: 2985 Max: 3838433 T: 6 ( 9006) P:80 I:125 C: 240000 Min: 2 Act: 14 Avg: 3044 Max: 3872244 T: 7 ( 9007) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 3007 Max: 3867133 T: 8 ( 9008) P:80 I:125 C: 240000 Min: 3 Act: 20 Avg: 3071 Max: 3905688 T: 9 ( 9009) P:80 I:125 C: 240000 Min: 4 Act: 13 Avg: 3022 Max: 3856911 T:10 ( 9010) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3016 Max: 3885199 T:11 ( 9011) P:80 I:125 C: 240000 Min: 3 Act: 32 Avg: 3011 Max: 3862044 T:12 ( 9012) P:80 I:125 C: 240000 Min: 3 Act: 16 Avg: 3012 Max: 3888333 T:13 ( 9013) P:80 I:125 C: 240000 Min: 2 Act: 23 Avg: 2949 Max: 3844433 T:14 ( 9014) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 3009 Max: 3878488 T:15 ( 9015) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 3019 Max: 3870499 T:16 ( 9016) P:80 I:125 C: 240000 Min: 3 Act: 24 Avg: 2972 Max: 3856044 T:17 ( 9017) P:80 I:125 C: 240000 Min: 3 Act: 34 Avg: 3023 Max: 3872944 T:18 ( 9018) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 2988 Max: 3869488 T:19 ( 9019) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 2949 Max: 3847277 Mon Apr 6 13:03:30 EDT 2015 This is interesting if not alarming..lol I re-ran the test on DO again below but with -t20 this time now the latency seems to be ~9ms. Test 4 ===== *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 root@demo:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && date Mon Apr 6 16:57:30 UTC 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 1.31 0.59 0.34 1/122 31201 T: 0 (31181) P:80 I:125 C: 240000 Min: 4 Act: 20 Avg: 34 Max: 8447 T: 1 (31182) P:80 I:125 C: 240000 Min: 2 Act: 13 Avg: 29 Max: 5022 T: 2 (31183) P:80 I:125 C: 240000 Min: 2 Act: 6 Avg: 27 Max: 4998 T: 3 (31184) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 27 Max: 6140 T: 4 (31185) P:80 I:125 C: 240000 Min: 3 Act: 19 Avg: 31 Max: 7474 T: 5 (31186) P:80 I:125 C: 240000 Min: 3 Act: 8 Avg: 32 Max: 7454 T: 6 (31187) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 32 Max: 7507 T: 7 (31188) P:80 I:125 C: 240000 Min: 4 Act: 11 Avg: 32 Max: 9008 T: 8 (31189) P:80 I:125 C: 240000 Min: 2 Act: 18 Avg: 28 Max: 5737 T: 9 (31190) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 28 Max: 7462 T:10 (31191) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 29 Max: 7432 T:11 (31192) P:80 I:125 C: 240000 Min: 4 Act: 25 Avg: 27 Max: 7404 T:12 (31193) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 30 Max: 8496 T:13 (31194) P:80 I:125 C: 240000 Min: 4 Act: 18 Avg: 32 Max: 5962 T:14 (31195) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 30 Max: 8573 T:15 (31196) P:80 I:125 C: 240000 Min: 4 Act: 17 Avg: 32 Max: 5963 T:16 (31197) P:80 I:125 C: 240000 Min: 3 Act: 15 Avg: 31 Max: 7477 T:17 (31198) P:80 I:125 C: 240000 Min: 4 Act: 16 Avg: 31 Max: 9010 T:18 (31199) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 35 Max: 7447 T:19 (31200) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 34 Max: 7471 Mon Apr 6 16:58:00 UTC 2015 BR Errol On Mon, Apr 6, 2015 at 5:13 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
A customer is setting up a new telephony switch, and I'm helping them to organize the testing. I noticed the slipping frames in received audio, and then at first I though it's the failure at the receiving side, but then figured out it's my host at DO that is generating unaligned RTP flow.
So, now I'm trying to figure out what would be the best virtualized environment to run FreeSWITCH :)
On Mon, Apr 6, 2015 at 6:05 PM, Brian West <brian@freeswitch.org> wrote:
I've never had issues running under KVM on Proxmox, Looking back at this thread was there a specific issue that you're trying to solve that put you on to this path of testing?
On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
yes, and we're trying to find the one that works with minimal impact on quality :)
I'm thinking to move my test server (the one on receiving side) from Xen VM to a physical ARM machine at https://www.scaleway.com/ in France. It would record audio and raw UDP packets and provide them for downloading to everyone.
Do we know about any timing issues on ARM platform?
if someone sponsors some additional DID numbers, that will be appreciated.
On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Depending on the host and guest OS the timing will be a product of several thing. If some of the features FS tries to detect are emulated, it can be a problem.
The primary thing FS looks for is a kernel with timerfd support. This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should.
So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware.
If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. You can also manually configure a combo of one timerfd timer and shared broadcast.
This param in switch.conf.xml helps to tune a few behavior you might want to compare results on.
enable-softtimer-timerfd
true|fd-per-timer --- Use one fd for each timer instance (default)
false --- Don't use timerfd at all
broadcast --- Use one timerfd and share it with conditional broadcasts
This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time.
On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote:
I didn't yet have time to learn this utility - how do we interpret the results?
On Apr 6, 2015 4:39 PM, "Errol Samuels" <ewsamuels@gmail.com> wrote:
Ok Sergey,
Here it goes:
Test 1 ==== VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64
policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195
Max:
42869 T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868
Test 2 ==== VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64
policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061
This is with system defaults.
regards,
Errol
On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com> wrote: > > Errol can you test VM timer with utility > https://rt.wiki.kernel.org/index.php/Cyclictest > > My VM currently have folowing results > > [root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i > 125 -l 240000 && date > Sun Apr 5 07:01:31 GMT 2015 > # /dev/cpu_dma_latency set to 0us > policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 > > T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: > 1302 > T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: > 2895 > T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: > 2888 > T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: > 1333 > T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: > 2962 > T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: > 2946 > T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: > 1363 > T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: > 1344 > T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: > 1408 > T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: > 2882 > T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: > 2908 > > > On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com
> wrote: >> >> Good job and Thanks for sharing! >> >>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>> precision >> >> >> As someone who has been using KVM for a few years and has just migrated >> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little >> concerned about this finding. >> >> Just out of curiosity can you tell me the specs of the VM that you >> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >> do some tests as soon as I have some time. >> >> With regards to Xen was this at Linode or inhouse? >> >> Thanks >> >> Errol >> >> >> >> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >> <ssinyagin@gmail.com> wrote: >>> >>> here we go: >>> >>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >>> >>> >>> >>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>> <ssinyagin@gmail.com> wrote: >>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >>> > <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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+
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Errol are is "test3" host proxying RTP audio stream? You can check is by command tcpdump -ni ens192 udp and port not 5060 If stream exist you will see one output string per one RTP packet On Mon, Apr 6, 2015 at 8:22 PM, Errol Samuels <ewsamuels@gmail.com> wrote:
Hi Stanislav,
Just to let you know I have a customer using all 3 virtualization technologies mentioned (KVM, Xen and VMWare) and they all seem to be happy. However for the larger setups with 2500+ users my preference is KVM without a doubt. I have for example an install with 4 FusionPBX / Freeswitch VMs with Kamailio in Front for residential phone service all sharing same Postgres DB and serving 5000 users, 4000 DIDs running for more than a year with no voice quality issues. We using Proxmox for this setup and it works great.
Test 3 ====== This one is using Proxmox and -t20 with some strange results!?
*VM: * KVM with 4 Cores / 8GB Ram and *Virtio Drivers* for Network and HD) *OS:* Ubuntu 12.04.5 LTS / Linux 3.13.0-40-generic x86_64
root@voip-admin:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && date Mon Apr 6 13:03:00 EDT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 1.16 0.61 0.32 1/227 9038
T: 0 ( 9000) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 2957 Max: 3835266 T: 1 ( 9001) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3018 Max: 3888022 T: 2 ( 9002) P:80 I:125 C: 240000 Min: 2 Act: 28 Avg: 2978 Max: 3835499 T: 3 ( 9003) P:80 I:125 C: 240000 Min: 2 Act: 31 Avg: 2975 Max: 3857444 T: 4 ( 9004) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 3029 Max: 3859799 T: 5 ( 9005) P:80 I:125 C: 240000 Min: 2 Act: 22 Avg: 2985 Max: 3838433 T: 6 ( 9006) P:80 I:125 C: 240000 Min: 2 Act: 14 Avg: 3044 Max: 3872244 T: 7 ( 9007) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 3007 Max: 3867133 T: 8 ( 9008) P:80 I:125 C: 240000 Min: 3 Act: 20 Avg: 3071 Max: 3905688 T: 9 ( 9009) P:80 I:125 C: 240000 Min: 4 Act: 13 Avg: 3022 Max: 3856911 T:10 ( 9010) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3016 Max: 3885199 T:11 ( 9011) P:80 I:125 C: 240000 Min: 3 Act: 32 Avg: 3011 Max: 3862044 T:12 ( 9012) P:80 I:125 C: 240000 Min: 3 Act: 16 Avg: 3012 Max: 3888333 T:13 ( 9013) P:80 I:125 C: 240000 Min: 2 Act: 23 Avg: 2949 Max: 3844433 T:14 ( 9014) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 3009 Max: 3878488 T:15 ( 9015) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 3019 Max: 3870499 T:16 ( 9016) P:80 I:125 C: 240000 Min: 3 Act: 24 Avg: 2972 Max: 3856044 T:17 ( 9017) P:80 I:125 C: 240000 Min: 3 Act: 34 Avg: 3023 Max: 3872944 T:18 ( 9018) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 2988 Max: 3869488 T:19 ( 9019) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 2949 Max: 3847277 Mon Apr 6 13:03:30 EDT 2015
This is interesting if not alarming..lol
I re-ran the test on DO again below but with -t20 this time now the latency seems to be ~9ms.
Test 4 ===== *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64
root@demo:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && date Mon Apr 6 16:57:30 UTC 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 1.31 0.59 0.34 1/122 31201
T: 0 (31181) P:80 I:125 C: 240000 Min: 4 Act: 20 Avg: 34 Max: 8447 T: 1 (31182) P:80 I:125 C: 240000 Min: 2 Act: 13 Avg: 29 Max: 5022 T: 2 (31183) P:80 I:125 C: 240000 Min: 2 Act: 6 Avg: 27 Max: 4998 T: 3 (31184) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 27 Max: 6140 T: 4 (31185) P:80 I:125 C: 240000 Min: 3 Act: 19 Avg: 31 Max: 7474 T: 5 (31186) P:80 I:125 C: 240000 Min: 3 Act: 8 Avg: 32 Max: 7454 T: 6 (31187) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 32 Max: 7507 T: 7 (31188) P:80 I:125 C: 240000 Min: 4 Act: 11 Avg: 32 Max: 9008 T: 8 (31189) P:80 I:125 C: 240000 Min: 2 Act: 18 Avg: 28 Max: 5737 T: 9 (31190) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 28 Max: 7462 T:10 (31191) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 29 Max: 7432 T:11 (31192) P:80 I:125 C: 240000 Min: 4 Act: 25 Avg: 27 Max: 7404 T:12 (31193) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 30 Max: 8496 T:13 (31194) P:80 I:125 C: 240000 Min: 4 Act: 18 Avg: 32 Max: 5962 T:14 (31195) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 30 Max: 8573 T:15 (31196) P:80 I:125 C: 240000 Min: 4 Act: 17 Avg: 32 Max: 5963 T:16 (31197) P:80 I:125 C: 240000 Min: 3 Act: 15 Avg: 31 Max: 7477 T:17 (31198) P:80 I:125 C: 240000 Min: 4 Act: 16 Avg: 31 Max: 9010 T:18 (31199) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 35 Max: 7447 T:19 (31200) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 34 Max: 7471 Mon Apr 6 16:58:00 UTC 2015
BR
Errol
On Mon, Apr 6, 2015 at 5:13 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
A customer is setting up a new telephony switch, and I'm helping them to organize the testing. I noticed the slipping frames in received audio, and then at first I though it's the failure at the receiving side, but then figured out it's my host at DO that is generating unaligned RTP flow.
So, now I'm trying to figure out what would be the best virtualized environment to run FreeSWITCH :)
On Mon, Apr 6, 2015 at 6:05 PM, Brian West <brian@freeswitch.org> wrote:
I've never had issues running under KVM on Proxmox, Looking back at this thread was there a specific issue that you're trying to solve that put you on to this path of testing?
On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin <ssinyagin@gmail.com
wrote:
yes, and we're trying to find the one that works with minimal impact on quality :)
I'm thinking to move my test server (the one on receiving side) from Xen VM to a physical ARM machine at https://www.scaleway.com/ in France. It would record audio and raw UDP packets and provide them for downloading to everyone.
Do we know about any timing issues on ARM platform?
if someone sponsors some additional DID numbers, that will be appreciated.
On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Depending on the host and guest OS the timing will be a product of several thing. If some of the features FS tries to detect are emulated, it can be a problem.
The primary thing FS looks for is a kernel with timerfd support. This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should.
So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware.
If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. You can also manually configure a combo of one timerfd timer and shared broadcast.
This param in switch.conf.xml helps to tune a few behavior you might want to compare results on.
enable-softtimer-timerfd
true|fd-per-timer --- Use one fd for each timer instance (default)
false --- Don't use timerfd at all
broadcast --- Use one timerfd and share it with conditional broadcasts
This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time.
On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote:
I didn't yet have time to learn this utility - how do we interpret
the
results?
On Apr 6, 2015 4:39 PM, "Errol Samuels" <ewsamuels@gmail.com> wrote: > > Ok Sergey, > > Here it goes: > > Test 1 > ==== > VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD > OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 > > policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: > 42869 > T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: > 42846 > T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: > 42845 > T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: > 42866 > T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: > 42890 > T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: > 42876 > T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: > 42846 > T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: > 42872 > T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: > 42843 > T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: > 42848 > T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: > 42856 > T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: > 42865 > T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: > 42868 > > > Test 2 > ==== > VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram > OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 > > policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: > 1030 > T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: > 1066 > T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: > 1245 > T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: > 1091 > T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: > 1351 > T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: > 932 > T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > 1413 > T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > 1407 > T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: > 1173 > T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: > 1144 > T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: > 916 > T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: > 916 > T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: > 1024 > T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: > 2082 > T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: > 2142 > T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: > 1986 > T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: > 2061 > > This is with system defaults. > > regards, > > Errol > > > > > On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com
> wrote: >> >> Errol can you test VM timer with utility >> https://rt.wiki.kernel.org/index.php/Cyclictest >> >> My VM currently have folowing results >> >> [root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i >> 125 -l 240000 && date >> Sun Apr 5 07:01:31 GMT 2015 >> # /dev/cpu_dma_latency set to 0us >> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >> >> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: >> 1302 >> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: >> 2895 >> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: >> 2888 >> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: >> 1333 >> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: >> 2962 >> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: >> 2946 >> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: >> 1363 >> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: >> 1344 >> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: >> 1408 >> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: >> 2882 >> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: >> 2908 >> >> >> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels < ewsamuels@gmail.com> >> wrote: >>> >>> Good job and Thanks for sharing! >>> >>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>> precision >>> >>> >>> As someone who has been using KVM for a few years and has just migrated >>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little >>> concerned about this finding. >>> >>> Just out of curiosity can you tell me the specs of the VM that you >>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>> do some tests as soon as I have some time. >>> >>> With regards to Xen was this at Linode or inhouse? >>> >>> Thanks >>> >>> Errol >>> >>> >>> >>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>> <ssinyagin@gmail.com> wrote: >>>> >>>> here we go: >>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >>>> >>>> >>>> >>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>>> <ssinyagin@gmail.com> wrote: >>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >>>> > <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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+
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Errol, I guess most of the calls on your servers are bridged, and for bridged calls FreeSWITCH does not refer to the system timer, and sends out the RTP packets as soon as they are ready. The timer is important if the server originates the media stream, such as playing back audio files, and also in conferences. Also the stream errors that I found were almost unnoticeable for a human listener: 3-4 frames lost within a 30 second sample are not too much of a big deal. So, KVM still looks fine for many applications, and I'm trying to find out the source of the problem that I encountered. I will do more tests. @James, cpuinfo shows... different things! Thanks for pointing to that. VM in ams1: QEMU Virtual CPU version 1.0 VM in ams3, where I found the original problem: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz VM in lon1: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz On Mon, Apr 6, 2015 at 7:22 PM, Errol Samuels <ewsamuels@gmail.com> wrote:
Hi Stanislav,
Just to let you know I have a customer using all 3 virtualization technologies mentioned (KVM, Xen and VMWare) and they all seem to be happy. However for the larger setups with 2500+ users my preference is KVM without a doubt. I have for example an install with 4 FusionPBX / Freeswitch VMs with Kamailio in Front for residential phone service all sharing same Postgres DB and serving 5000 users, 4000 DIDs running for more than a year with no voice quality issues. We using Proxmox for this setup and it works great.
Test 3 ====== This one is using Proxmox and -t20 with some strange results!?
*VM: * KVM with 4 Cores / 8GB Ram and *Virtio Drivers* for Network and HD) *OS:* Ubuntu 12.04.5 LTS / Linux 3.13.0-40-generic x86_64
root@voip-admin:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && date Mon Apr 6 13:03:00 EDT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 1.16 0.61 0.32 1/227 9038
T: 0 ( 9000) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 2957 Max: 3835266 T: 1 ( 9001) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3018 Max: 3888022 T: 2 ( 9002) P:80 I:125 C: 240000 Min: 2 Act: 28 Avg: 2978 Max: 3835499 T: 3 ( 9003) P:80 I:125 C: 240000 Min: 2 Act: 31 Avg: 2975 Max: 3857444 T: 4 ( 9004) P:80 I:125 C: 240000 Min: 2 Act: 29 Avg: 3029 Max: 3859799 T: 5 ( 9005) P:80 I:125 C: 240000 Min: 2 Act: 22 Avg: 2985 Max: 3838433 T: 6 ( 9006) P:80 I:125 C: 240000 Min: 2 Act: 14 Avg: 3044 Max: 3872244 T: 7 ( 9007) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 3007 Max: 3867133 T: 8 ( 9008) P:80 I:125 C: 240000 Min: 3 Act: 20 Avg: 3071 Max: 3905688 T: 9 ( 9009) P:80 I:125 C: 240000 Min: 4 Act: 13 Avg: 3022 Max: 3856911 T:10 ( 9010) P:80 I:125 C: 240000 Min: 2 Act: 9 Avg: 3016 Max: 3885199 T:11 ( 9011) P:80 I:125 C: 240000 Min: 3 Act: 32 Avg: 3011 Max: 3862044 T:12 ( 9012) P:80 I:125 C: 240000 Min: 3 Act: 16 Avg: 3012 Max: 3888333 T:13 ( 9013) P:80 I:125 C: 240000 Min: 2 Act: 23 Avg: 2949 Max: 3844433 T:14 ( 9014) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 3009 Max: 3878488 T:15 ( 9015) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 3019 Max: 3870499 T:16 ( 9016) P:80 I:125 C: 240000 Min: 3 Act: 24 Avg: 2972 Max: 3856044 T:17 ( 9017) P:80 I:125 C: 240000 Min: 3 Act: 34 Avg: 3023 Max: 3872944 T:18 ( 9018) P:80 I:125 C: 240000 Min: 2 Act: 25 Avg: 2988 Max: 3869488 T:19 ( 9019) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 2949 Max: 3847277 Mon Apr 6 13:03:30 EDT 2015
This is interesting if not alarming..lol
I re-ran the test on DO again below but with -t20 this time now the latency seems to be ~9ms.
Test 4 ===== *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64
root@demo:~# date && cyclictest -t20 -p 80 -d 0 -n -i 125 -l 240000 && date Mon Apr 6 16:57:30 UTC 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 1.31 0.59 0.34 1/122 31201
T: 0 (31181) P:80 I:125 C: 240000 Min: 4 Act: 20 Avg: 34 Max: 8447 T: 1 (31182) P:80 I:125 C: 240000 Min: 2 Act: 13 Avg: 29 Max: 5022 T: 2 (31183) P:80 I:125 C: 240000 Min: 2 Act: 6 Avg: 27 Max: 4998 T: 3 (31184) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 27 Max: 6140 T: 4 (31185) P:80 I:125 C: 240000 Min: 3 Act: 19 Avg: 31 Max: 7474 T: 5 (31186) P:80 I:125 C: 240000 Min: 3 Act: 8 Avg: 32 Max: 7454 T: 6 (31187) P:80 I:125 C: 240000 Min: 4 Act: 10 Avg: 32 Max: 7507 T: 7 (31188) P:80 I:125 C: 240000 Min: 4 Act: 11 Avg: 32 Max: 9008 T: 8 (31189) P:80 I:125 C: 240000 Min: 2 Act: 18 Avg: 28 Max: 5737 T: 9 (31190) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 28 Max: 7462 T:10 (31191) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 29 Max: 7432 T:11 (31192) P:80 I:125 C: 240000 Min: 4 Act: 25 Avg: 27 Max: 7404 T:12 (31193) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 30 Max: 8496 T:13 (31194) P:80 I:125 C: 240000 Min: 4 Act: 18 Avg: 32 Max: 5962 T:14 (31195) P:80 I:125 C: 240000 Min: 2 Act: 8 Avg: 30 Max: 8573 T:15 (31196) P:80 I:125 C: 240000 Min: 4 Act: 17 Avg: 32 Max: 5963 T:16 (31197) P:80 I:125 C: 240000 Min: 3 Act: 15 Avg: 31 Max: 7477 T:17 (31198) P:80 I:125 C: 240000 Min: 4 Act: 16 Avg: 31 Max: 9010 T:18 (31199) P:80 I:125 C: 240000 Min: 3 Act: 18 Avg: 35 Max: 7447 T:19 (31200) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 34 Max: 7471 Mon Apr 6 16:58:00 UTC 2015
BR
Errol
On Mon, Apr 6, 2015 at 5:13 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
A customer is setting up a new telephony switch, and I'm helping them to organize the testing. I noticed the slipping frames in received audio, and then at first I though it's the failure at the receiving side, but then figured out it's my host at DO that is generating unaligned RTP flow.
So, now I'm trying to figure out what would be the best virtualized environment to run FreeSWITCH :)
On Mon, Apr 6, 2015 at 6:05 PM, Brian West <brian@freeswitch.org> wrote:
I've never had issues running under KVM on Proxmox, Looking back at this thread was there a specific issue that you're trying to solve that put you on to this path of testing?
On Mon, Apr 6, 2015 at 10:51 AM, Stanislav Sinyagin <ssinyagin@gmail.com
wrote:
yes, and we're trying to find the one that works with minimal impact on quality :)
I'm thinking to move my test server (the one on receiving side) from Xen VM to a physical ARM machine at https://www.scaleway.com/ in France. It would record audio and raw UDP packets and provide them for downloading to everyone.
Do we know about any timing issues on ARM platform?
if someone sponsors some additional DID numbers, that will be appreciated.
On Mon, Apr 6, 2015 at 5:30 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Depending on the host and guest OS the timing will be a product of several thing. If some of the features FS tries to detect are emulated, it can be a problem.
The primary thing FS looks for is a kernel with timerfd support. This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should.
So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware.
If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. You can also manually configure a combo of one timerfd timer and shared broadcast.
This param in switch.conf.xml helps to tune a few behavior you might want to compare results on.
enable-softtimer-timerfd
true|fd-per-timer --- Use one fd for each timer instance (default)
false --- Don't use timerfd at all
broadcast --- Use one timerfd and share it with conditional broadcasts
This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time.
On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote:
I didn't yet have time to learn this utility - how do we interpret
the
results?
On Apr 6, 2015 4:39 PM, "Errol Samuels" <ewsamuels@gmail.com> wrote: > > Ok Sergey, > > Here it goes: > > Test 1 > ==== > VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD > OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 > > policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: > 42869 > T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: > 42846 > T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: > 42845 > T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: > 42866 > T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: > 42890 > T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: > 42876 > T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: > 42846 > T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: > 42872 > T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: > 42843 > T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: > 42848 > T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: > 42856 > T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: > 42865 > T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: > 42868 > > > Test 2 > ==== > VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram > OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 > > policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: > 1030 > T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: > 1066 > T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: > 1245 > T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: > 1091 > T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: > 1351 > T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: > 932 > T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > 1413 > T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: > 1407 > T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: > 1173 > T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: > 1144 > T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: > 916 > T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: > 916 > T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: > 1024 > T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: > 2082 > T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: > 2142 > T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: > 1986 > T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: > 2061 > > This is with system defaults. > > regards, > > Errol > > > > > On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com
> wrote: >> >> Errol can you test VM timer with utility >> https://rt.wiki.kernel.org/index.php/Cyclictest >> >> My VM currently have folowing results >> >> [root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i >> 125 -l 240000 && date >> Sun Apr 5 07:01:31 GMT 2015 >> # /dev/cpu_dma_latency set to 0us >> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >> >> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: >> 1302 >> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: >> 2895 >> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: >> 2888 >> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: >> 1333 >> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: >> 2962 >> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: >> 2946 >> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: >> 1363 >> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: >> 1344 >> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: >> 1408 >> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: >> 2882 >> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: >> 2908 >> >> >> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels < ewsamuels@gmail.com> >> wrote: >>> >>> Good job and Thanks for sharing! >>> >>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>> precision >>> >>> >>> As someone who has been using KVM for a few years and has just migrated >>> about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little >>> concerned about this finding. >>> >>> Just out of curiosity can you tell me the specs of the VM that you >>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>> do some tests as soon as I have some time. >>> >>> With regards to Xen was this at Linode or inhouse? >>> >>> Thanks >>> >>> Errol >>> >>> >>> >>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin >>> <ssinyagin@gmail.com> wrote: >>>> >>>> here we go: >>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >>>> >>>> >>>> >>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin >>>> <ssinyagin@gmail.com> wrote: >>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M >>>> > <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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+
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 6, 2015 5:31 PM, "Anthony Minessale" <anthony.minessale@gmail.com> wrote: > > Depending on the host and guest OS the timing will be a product of several thing. > If some of the features FS tries to detect are emulated, it can be a problem. > > The primary thing FS looks for is a kernel with timerfd support. > This should be the most accurate. If the guest OS supports timerfd but its using emulated hardware, it might not work as well as it should. > > So on something like openvz, you might have support for timerfd in your debian 7/8 instance but the host kernel has no support at all. Tony, in my understanding in OpenVZ you have one only kernel, and true timerfd. Each OpenVZ "container" is just a glorified jail, no emulation at all. A kernel namespace. But processes run directly on real kernel, real IRQs, real timerfd. Seems to me I never heard of FreeSWITCH problems with OpenVZ. Please correct me if I'm wrong. -giovanni > So in theory kvm would be preferred since it actually boots the guest kernel and you have a chance for it to hit the real timer hardware. > > If no timerfd is present, it reverts to the single thread ms precision thread with conditional broadcast for timing. > You can also manually configure a combo of one timerfd timer and shared broadcast. > > This param in switch.conf.xml helps to tune a few behavior you might want to compare results on. > > enable-softtimer-timerfd > > true|fd-per-timer --- Use one fd for each timer instance (default) > > false --- Don't use timerfd at all > > broadcast --- Use one timerfd and share it with conditional broadcasts > > This is one reason we do not support virtualization as its too variable to provide definitive policies to make things work every time. > > > > > > > > > > > > > > > > > On Mon, Apr 6, 2015 at 10:17 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote: >> >> I didn't yet have time to learn this utility - how do we interpret the results? >> >> On Apr 6, 2015 4:39 PM, "Errol Samuels" <ewsamuels@gmail.com> wrote: >>> >>> Ok Sergey, >>> >>> Here it goes: >>> >>> Test 1 >>> ==== >>> VM: Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD >>> OS: Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64 >>> >>> policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 >>> T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 >>> T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 >>> T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 >>> T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 >>> T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 >>> T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 >>> T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 >>> T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 >>> T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 >>> T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 >>> T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 >>> T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868 >>> >>> >>> Test 2 >>> ==== >>> VM: Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram >>> OS: Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64 >>> >>> policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 >>> T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 >>> T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 >>> T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 >>> T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 >>> T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 >>> T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 >>> T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 >>> T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 >>> T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 >>> T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 >>> T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 >>> T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 >>> T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 >>> T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 >>> T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 >>> T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061 >>> >>> This is with system defaults. >>> >>> regards, >>> >>> Errol >>> >>> >>> >>> >>> On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com> wrote: >>>> >>>> Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest >>>> >>>> My VM currently have folowing results >>>> >>>> [root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>> Sun Apr 5 07:01:31 GMT 2015 >>>> # /dev/cpu_dma_latency set to 0us >>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>> >>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>> >>>> >>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote: >>>>> >>>>> Good job and Thanks for sharing! >>>>> >>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision >>>>> >>>>> >>>>> As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding. >>>>> >>>>> Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time. >>>>> >>>>> With regards to Xen was this at Linode or inhouse? >>>>> >>>>> Thanks >>>>> >>>>> Errol >>>>> >>>>> >>>>> >>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote: >>>>>> >>>>>> 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@gmail.com> wrote: >>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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+ > > ClueCon Weekly Development Call > ☎ sip:888@conference.freeswitch.org ☎ +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@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@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org
Errol We can seen in the test results that the digitalocean virtual machine has maximum timer interrupt latency is about 40 ms (42890 us). This means that FS will not receives (or will not sends) at time some voip packets for 30 seconds (test time). How mach you can see if you add key "-v" date && /tmp/rt-tests/cyclictest -t1 -p 80 -d 0 -n -i 125 -l 240000 -v && date On Mon, Apr 6, 2015 at 5:38 PM, Errol Samuels <ewsamuels@gmail.com> wrote:
Ok Sergey,
Here it goes:
Test 1 ==== *VM: *Digital Ocean KVM at AMS3 / 2 Cores / 2GB Ram / 40GB SSD *OS:* Debian Wheezy 7.8 64 bit / Linux 3.2.0-4-amd64 x86_64
policy: fifo: loadavg: 6.22 1.53 0.58 1/164 31050 : 195 Max: 42869 T:12 (31021) P:80 I:125 C: 238830 Min: 2 Act: 18 Avg: 196 Max: 42846 T: 0 (31009) P:80 I:125 C: 239000 Min: 2 Act: 12 Avg: 190 Max: 42845 T: 1 (31010) P:80 I:125 C: 239002 Min: 2 Act: 18 Avg: 196 Max: 42866 T: 2 (31011) P:80 I:125 C: 239004 Min: 3 Act: 10 Avg: 191 Max: 42890 T: 3 (31012) P:80 I:125 C: 239004 Min: 3 Act: 8 Avg: 197 Max: 42876 T: 4 (31013) P:80 I:125 C: 239005 Min: 2 Act: 27 Avg: 194 Max: 42846 T: 5 (31014) P:80 I:125 C: 239008 Min: 2 Act: 26 Avg: 196 Max: 42872 T: 6 (31015) P:80 I:125 C: 239013 Min: 2 Act: 12 Avg: 196 Max: 42843 T: 7 (31016) P:80 I:125 C: 239013 Min: 2 Act: 19 Avg: 194 Max: 42848 T: 8 (31017) P:80 I:125 C: 239013 Min: 2 Act: 14 Avg: 190 Max: 42856 T: 9 (31018) P:80 I:125 C: 239014 Min: 2 Act: 14 Avg: 197 Max: 42865 T:10 (31019) P:80 I:125 C: 239016 Min: 2 Act: 9 Avg: 197 Max: 42868
Test 2 ==== *VM: *Linode (Xen) London / 8 Cores (E5-2670 0 @ 2.60GHz) / 4GB Ram *OS:* Ubuntu 12.04.4 LTS / Linux 3.18.5-x86_64-linode52 x86_64
policy: fifo: loadavg: 6.50 1.56 0.55 15/246 30752 97 Max: 1030 T:16 (30726) P:80 I:125 C: 239853 Min: 5 Act: 77 Avg: 97 Max: 1066 T: 0 (30710) P:80 I:125 C: 239946 Min: 5 Act: 63 Avg: 98 Max: 1245 T: 1 (30711) P:80 I:125 C: 239946 Min: 5 Act: 67 Avg: 98 Max: 1091 T: 2 (30712) P:80 I:125 C: 239945 Min: 5 Act: 119 Avg: 97 Max: 1351 T: 3 (30713) P:80 I:125 C: 239945 Min: 5 Act: 99 Avg: 98 Max: 932 T: 4 (30714) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1413 T: 5 (30715) P:80 I:125 C: 239945 Min: 5 Act: 35 Avg: 98 Max: 1407 T: 6 (30716) P:80 I:125 C: 239944 Min: 5 Act: 110 Avg: 97 Max: 1173 T: 7 (30717) P:80 I:125 C: 239947 Min: 5 Act: 85 Avg: 99 Max: 1144 T: 8 (30718) P:80 I:125 C: 239948 Min: 4 Act: 69 Avg: 99 Max: 916 T: 9 (30719) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 97 Max: 916 T:10 (30720) P:80 I:125 C: 239948 Min: 5 Act: 61 Avg: 97 Max: 1024 T:11 (30721) P:80 I:125 C: 239946 Min: 6 Act: 84 Avg: 98 Max: 2082 T:12 (30722) P:80 I:125 C: 239947 Min: 4 Act: 40 Avg: 98 Max: 2142 T:13 (30723) P:80 I:125 C: 239946 Min: 5 Act: 49 Avg: 98 Max: 1986 T:14 (30724) P:80 I:125 C: 239946 Min: 4 Act: 113 Avg: 99 Max: 2061
This is with system defaults.
regards,
Errol
On Mon, Apr 6, 2015 at 1:27 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad
precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Sergey, Why you suggest to use exactly this numbers in cyclictest's switches? And how in your opinion this numbers are related to Freeswitch in VM environment? P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-... 2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Why you suggest to use exactly this numbers in cyclictest's switches? Switches description 1) t42 - how many create threads. I use 42 because FS on my VM create t42 threads. [root@fs1 dialplan]# ps auxww |grep freeswit freeswi+ 20425 1.7 3.5 1300368 66432 ? SNsl Apr06 11:13 /usr/bin/freeswitch -ncwait root 24474 0.0 0.0 112640 964 pts/2 S+ 07:05 0:00 grep --color=auto freeswit [root@fs1 dialplan]# ps huH p 20425 freeswi+ 20425 0.0 3.6 1300368 67864 ? SNsl Apr06 0:02 /usr/bin/freeswitch -ncwait freeswi+ 20425 0.0 3.6 1300368 67864 ? SNsl Apr06 0:01 /usr/bin/freeswitch -ncwait freeswi+ 20425 0.1 3.6 1300368 67864 ? SNsl Apr06 1:03 /usr/bin/freeswitch -ncwait freeswi+ 20425 0.0 3.6 1300368 67864 ? SNsl Apr06 0:04 /usr/bin/freeswitch -ncwait 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more than enough time to transmit the eight bits of information. Multiple samples can then be sent consecutively, each belonging to a different stream. This is called *Time Division Multiplexing (TDM)*. Twenty-four such samples can be smashed together to give the next building block of digital telephony, called the *DS1*, otherwise known as a *T1*. Each DS1 frame consists of a single framing bit followed by 24 DS0 samples, for a total of 193 bits per frame. At 8,000 frames per second, we get the familiar 1.544Mbit/S for a T1. In Europe they use 32 DS0s and call it an *E1*. http://archive.oreilly.com/etel/2006/02/07/telecom-terms-and-concepts.html 3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread 4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM 6) p 80 - it is copied from example on Cyclictest page And how in your opinion this numbers are related to Freeswitch in VM environment? Relation between Cyclictest switches and FS described above. Relation betwen Cyclictest results and FS simple Artifacts during a call is probably when Cyclictest max value is more half of ptime in SDP (my opinion). Used FS ptime you can see if execute grep -o "ptime:.*$" /var/log/freeswitch/freeswitch.log| sort | uniq -c P.S. Helpfull URLs - typical ptime values for different codecs http://www.bandcalc.com/ (select codec and ptime value will displayed in next field) - tool to analize RTP stream https://wiki.wireshark.org/RTP_statistics - where is located ptime value in SDP https://ask.wireshark.org/questions/36950/finding-the-packetization-interval... On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com> wrote:
Sergey, Why you suggest to use exactly this numbers in cyclictest's switches? And how in your opinion this numbers are related to Freeswitch in VM environment?
P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-...
2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad
precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2015-04-07 10:48 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
... 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more
...
125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread
Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM 6) p 80 - it is copied from example on Cyclictest page
-q switch is missing.
And how in your opinion this numbers are related to Freeswitch in VM environment? Relation between Cyclictest switches and FS described above. Relation betwen Cyclictest results and FS simple
Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything. On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com>
wrote:
Sergey, Why you suggest to use exactly this numbers in cyclictest's switches? And how in your opinion this numbers are related to Freeswitch in VM environment?
P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-...
2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad
precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com
wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS. Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type? I am wondering about this question. I know that the frame 125ms is enough. 2) Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware. Can you say how many FS create threads for 40-50 active calls? 3) -q switch is missing I am thinking it is optional. Result is same 4) Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything. Can you learn me how to correctly measure timer source quality in VM? Sergey On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com> wrote:
2015-04-07 10:48 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
... 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more
...
125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread
Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM 6) p 80 - it is copied from example on Cyclictest page
-q switch is missing.
And how in your opinion this numbers are related to Freeswitch in VM environment? Relation between Cyclictest switches and FS described above. Relation betwen Cyclictest results and FS simple
Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com>
wrote:
Sergey, Why you suggest to use exactly this numbers in cyclictest's switches? And how in your opinion this numbers are related to Freeswitch in VM environment?
P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-...
2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad
precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote: > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 8, 2015 2:26 PM, "Sergey Safarov" <s.safarov@gmail.com> wrote: > > 1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, > But here we are talking about packet telephony where commonly used frame length is 20000 uS. > So, intervals for testing should be 5000-10000-20000uS, not 125uS. > > Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type? Usb dongles goes to 20ms, and skype too (I wrote it :) ). I would be pretty sure TDM too. > I am wondering about this question. I know that the frame 125ms is enough. > > 2) Why you decided that all of 42 threads should wake up simultaneously? > That totally impossible in real world applications. > Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware. > > Can you say how many FS create threads for 40-50 active calls? Not all of those threads will wake up at same time... You probably have very little threads active with 50 calls, lets say less than 5 if you dont transcode > > 3) -q switch is missing > I am thinking it is optional. Result is same > > 4) Precise time measurement and realtime processing in VM environment is a challenge. > To obtain acceptable results fine tuning of host's and guest's required. > WIthout that this numbers ... does not mean anything. > > Can you learn me how to correctly measure timer source quality in VM? I would say its by definition variable and impredictable, and depends on what else other VMs are doing millisecond by millisecond, and their interaction. I would test the application, and if percwived quality is not satisfying, just throw more resources at it. > > Sergey > > > On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com> wrote: >> >> 2015-04-07 10:48 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>: >>> >>> ... >>> 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks >>> In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more >>> >>> ... >> >> >> 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, >> But here we are talking about packet telephony where commonly used frame length is 20000 uS. >> So, intervals for testing should be 5000-10000-20000uS, not 125uS. >> >>> >>> 3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread >> >> >> Why you decided that all of 42 threads should wake up simultaneously? >> That totally impossible in real world applications. >> Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware. >> >>> >>> 4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test >>> 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM >>> 6) p 80 - it is copied from example on Cyclictest page >> >> >> -q switch is missing. >> >>> >>> And how in your opinion this numbers are related to Freeswitch in VM environment? >>> Relation between Cyclictest switches and FS described above. >>> Relation betwen Cyclictest results and FS simple >> >> >> Precise time measurement and realtime processing in VM environment is a challenge. >> To obtain acceptable results fine tuning of host's and guest's required. >> WIthout that this numbers ... does not mean anything. >> >> >>> On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko < dvl36.ripe.nick@gmail.com> wrote: >>>> >>>> Sergey, >>>> Why you suggest to use exactly this numbers in cyclictest's switches? >>>> And how in your opinion this numbers are related to Freeswitch in VM environment? >>>> >>>> P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-time-cyclictest-benchmark-frank-rowand-sony/ >>>> >>>> 2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>: >>>>> >>>>> Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest >>>>> >>>>> My VM currently have folowing results >>>>> >>>>> [root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>>>> Sun Apr 5 07:01:31 GMT 2015 >>>>> # /dev/cpu_dma_latency set to 0us >>>>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>>>> >>>>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>>>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>>>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>>>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>>>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>>>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>>>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>>>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>>>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>>>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>>>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>>>> >>>>> >>>>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote: >>>>>> >>>>>> Good job and Thanks for sharing! >>>>>> >>>>>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision >>>>>> >>>>>> >>>>>> As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding. >>>>>> >>>>>> Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time. >>>>>> >>>>>> With regards to Xen was this at Linode or inhouse? >>>>>> >>>>>> Thanks >>>>>> >>>>>> Errol >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote: >>>>>>> >>>>>>> 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@gmail.com> wrote: >>>>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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 Giovanni 1) Usb dongles goes to 20ms, and skype too (I wrote it :) ). I would be pretty sure TDM too. I has virtualized Digium card and has flowing result [root@localhost tools]# lspci -k | tail -n 11 03:00.0 Serial Attached SCSI controller: VMware PVSCSI SCSI Controller (rev 02) Subsystem: VMware PVSCSI SCSI Controller Kernel driver in use: vmw_pvscsi 0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01) Subsystem: VMware VMXNET3 Ethernet Controller Kernel driver in use: vmxnet3 13:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01) Subsystem: VMware VMXNET3 Ethernet Controller Kernel driver in use: vmxnet3 1b:00.0 Network controller: Digium, Inc. Wildcard TE133 single-span T1/E1/J1 card (PCI Express) (rev 02) Kernel driver in use: wcte13xp [root@localhost tools]# [root@localhost ~]# /usr/sbin/dahdi_scan [1] active=yes alarms=OK description=Wildcard TE131/TE133 Card 0 name=WCT13x/0 manufacturer=Digium devicetype=Wildcard TE131/TE133 (VPMOCT032) location=PCI Bus 27 Slot 01 basechan=1 totchans=31 irq=0 type=digital-E1 syncsrc=1 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=AMI,HDB3 framing_opts=CCS,CRC4 coding=HDB3 framing=CCS/CRC4 [root@localhost tools]# /tmp/dahdi-linux-complete-2.10.1+2.10.1/tools/timertest Opened timer... Set timer duration to 8000 samples (1000 ms) Waiting... Timer Expired (1000 ms)! Timer Expired (2000 ms)! Timer Expired (3000 ms)! Timer Expired (4000 ms)! Timer Expired (5000 ms)! [root@localhost rt-tests]# ./cyclictest -t1 -p 80 -d 0 -n -i 125 -l 240000 -q # /dev/cpu_dma_latency set to 0us T: 0 ( 1469) P:80 I:125 C: 240000 Min: 3 Act: 22 Avg: 22 Max: 965 2) Not all of those threads will wake up at same time... You probably have very little threads active with 50 calls, lets say less than 5 if you dont transcode My test VM has two cores and only two cyclictest threads may run simultaneously. Other treads is seeping like FS treads. ;o) On Wed, Apr 8, 2015 at 7:43 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 8, 2015 2:26 PM, "Sergey Safarov" <s.safarov@gmail.com> wrote:
1) 125uS is the interval between FrameSync of ONE(!) PCM sample at
8000hz,
But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type?
Usb dongles goes to 20ms, and skype too (I wrote it :) ).
I would be pretty sure TDM too.
I am wondering about this question. I know that the frame 125ms is enough.
2) Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
Can you say how many FS create threads for 40-50 active calls?
Not all of those threads will wake up at same time... You probably have very little threads active with 50 calls, lets say less than 5 if you dont transcode
3) -q switch is missing I am thinking it is optional. Result is same
4) Precise time measurement and realtime processing in VM environment
is a challenge.
To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
Can you learn me how to correctly measure timer source quality in VM?
I would say its by definition variable and impredictable, and depends on what else other VMs are doing millisecond by millisecond, and their interaction. I would test the application, and if percwived quality is not satisfying, just throw more resources at it.
Sergey
On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko <
dvl36.ripe.nick@gmail.com> wrote:
2015-04-07 10:48 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
... 2) i 125 - time us between software timer interrupts for first thread.
It time is equal time between samples rate in PSTN networks
In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more
...
125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
3) d 0 - this switch will make time between software timer interrupts
for second and following threads is equal timer value for first thread
Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
4) l 240000 - how many timer test must be made. It is adjusted for 30
s overall test
5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM 6) p 80 - it is copied from example on Cyclictest page
-q switch is missing.
And how in your opinion this numbers are related to Freeswitch in VM
environment?
Relation between Cyclictest switches and FS described above. Relation betwen Cyclictest results and FS simple
Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko < dvl36.ripe.nick@gmail.com> wrote:
Sergey, Why you suggest to use exactly this numbers in cyclictest's switches? And how in your opinion this numbers are related to Freeswitch in VM
environment?
P.S.
https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-...
2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
Errol can you test VM timer with utility
https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n
-i 125 -l 240000 && date
Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote: > > Good job and Thanks for sharing! > >> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad precision > > > As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding. > > Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time. > > With regards to Xen was this at Linode or inhouse? > > Thanks > > Errol > > > > On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote: >> >> here we go: >> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >> >> >> >> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote: >> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2015-04-08 15:25 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type? I am wondering about this question. I know that the frame 125ms is enough.
Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed. If you want massive sync audio processing (w/o buffering) you can use hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel.
2) Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
Can you say how many FS create threads for 40-50 active calls?
AFAIR, 1 thread per call leg, but depends of endpoints. Most of time threads in I/O waiting/sleeping and encoding/decoding state.
3) -q switch is missing I am thinking it is optional. Result is same
Dynamic output to screen consumes resources. How much, depends on method.(VGA, Serial console, SSH). In my case difference is significiant. So, fair testing should exclude such things, IMO.
4) Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
Can you learn me how to correctly measure timer source quality in VM?
Serious players, as Wind River, use external timer. In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution. Dmitry.
On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com> wrote:
2015-04-07 10:48 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
... 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more
...
125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread
Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM 6) p 80 - it is copied from example on Cyclictest page
-q switch is missing.
And how in your opinion this numbers are related to Freeswitch in VM environment? Relation between Cyclictest switches and FS described above. Relation betwen Cyclictest results and FS simple
Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com
wrote:
Sergey, Why you suggest to use exactly this numbers in cyclictest's switches? And how in your opinion this numbers are related to Freeswitch in VM environment?
P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-...
2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
Good job and Thanks for sharing!
KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad > precision
As someone who has been using KVM for a few years and has just migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I am a little concerned about this finding.
Just out of curiosity can you tell me the specs of the VM that you tested with and which DO Datacenter? I am using NYC3 so perhaps and I will do some tests as soon as I have some time.
With regards to Xen was this at Linode or inhouse?
Thanks
Errol
On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < ssinyagin@gmail.com> wrote:
> here we go: > > https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... > > > > On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < > ssinyagin@gmail.com> wrote: > > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < > regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
1) Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed. The problem is whether there is or not the buffer. Is exist in all the equipment. The problem is the amount of buffer, and through any time it overflows. I thing you cannot say buffer size has TDM card and USB modems. :o) The above i write results of testing Digium E1 card in virtual environment. Test that is successful on real host, will fail in virtual environment. I you see source of timertest utility you will see that Digium test timer for 8000 samples for 1000 ms (1s). (Primary utility author Mark Spencer < markster@digium.com>) It is same value I recommend early. 2) If you want massive sync audio processing (w/o buffering) you can use hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel. I am not understanding about you speaking. E1 card can be used on real host without problems. 3) AFAIR, 1 thread per call leg, but depends of endpoints. Most of time threads in I/O waiting/sleeping and encoding/decoding state. One thread per FS call, equal one thread cyclictest. In cyclictest most time threads sleep also. This threads measure time interval and sleep again. 4) Dynamic output to screen consumes resources. How much, depends on method.(VGA, Serial console, SSH). In my case difference is significiant. So, fair testing should exclude such things, IMO. You rightly pointed out it 5) Serious players, as Wind River, use external timer. Wind River solutions for highly specialized market. Not for simple user. 6) In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution. May be. According this publication ( http://www.linux-kvm.org/wiki/images/0/03/KVM-Forum-2011-RT-KVM.pdf) guest threads can be interrupted not more 112 uS. Simple solution - for TDM card enough ordinary processor without virtualization. :o) On Thu, Apr 9, 2015 at 8:09 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com> wrote:
2015-04-08 15:25 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type? I am wondering about this question. I know that the frame 125ms is enough.
Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed. If you want massive sync audio processing (w/o buffering) you can use hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel.
2) Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
Can you say how many FS create threads for 40-50 active calls?
AFAIR, 1 thread per call leg, but depends of endpoints. Most of time threads in I/O waiting/sleeping and encoding/decoding state.
3) -q switch is missing I am thinking it is optional. Result is same
Dynamic output to screen consumes resources. How much, depends on method.(VGA, Serial console, SSH). In my case difference is significiant. So, fair testing should exclude such things, IMO.
4) Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
Can you learn me how to correctly measure timer source quality in VM?
Serious players, as Wind River, use external timer.
In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution.
Dmitry.
On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com
wrote:
2015-04-07 10:48 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
... 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more
...
125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread
Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM 6) p 80 - it is copied from example on Cyclictest page
-q switch is missing.
And how in your opinion this numbers are related to Freeswitch in VM environment? Relation between Cyclictest switches and FS described above. Relation betwen Cyclictest results and FS simple
Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko <
dvl36.ripe.nick@gmail.com> wrote:
Sergey, Why you suggest to use exactly this numbers in cyclictest's switches? And how in your opinion this numbers are related to Freeswitch in VM environment?
P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-...
2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
Errol can you test VM timer with utility https://rt.wiki.kernel.org/index.php/Cyclictest
My VM currently have folowing results
[root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date Sun Apr 5 07:01:31 GMT 2015 # /dev/cpu_dma_latency set to 0us policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574
T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908
On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> wrote:
> Good job and Thanks for sharing! > > KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >> precision > > > As someone who has been using KVM for a few years and has just > migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I > am a little concerned about this finding. > > Just out of curiosity can you tell me the specs of the VM that you > tested with and which DO Datacenter? I am using NYC3 so perhaps and I will > do some tests as soon as I have some time. > > With regards to Xen was this at Linode or inhouse? > > Thanks > > Errol > > > > On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < > ssinyagin@gmail.com> wrote: > >> here we go: >> >> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >> >> >> >> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >> ssinyagin@gmail.com> wrote: >> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >> regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2015-04-10 0:33 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed.
The problem is whether there is or not the buffer. Is exist in all the equipment. The problem is the amount of buffer, and through any time it overflows. I thing you cannot say buffer size has TDM card and USB modems. :o)
According to Digium sources your TDM card have 20ms max buffer size(3ms default) USB dongles have at least 20 ms.
The above i write results of testing Digium E1 card in virtual environment. Test that is successful on real host, will fail in virtual environment. I you see source of timertest utility you will see that Digium test timer for 8000 samples for 1000 ms (1s). (Primary utility author Mark Spencer < markster@digium.com>) It is same value I recommend early.
But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card's. Look: root@debian:~# vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 2348 85428 21156 0 0 134 0 1856 3409 1 2 92 5 0 0 0 2320 85428 21156 0 0 0 0 106 224 1 0 99 0 [similar, skipped] 0 0 0 2312 85436 21156 0 0 0 0 110 231 0 0 100 0 0 0 0 2312 85436 21156 0 0 0 0 109 225 0 2 98 0 45 0 0 1924 84908 21156 0 0 0 0 102909 146412 0 60 39 0 Starting of cyclictest with your parameters ^^^^^. 102909 interrupts and 146412 context switches per second. For one TDM card there should be slightly more then 8000 of interrupts. Results: root@debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 0* -n -i 125 -l 240000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 4028) P:80 I:125 C: 239821 Min: 0 Act:100534 Avg:38764 Max: 229794 T: 1 ( 4029) P:80 I:125 C: 239820 Min: 0 Act:100536 Avg:39646 Max: 233558 T: 2 ( 4030) P:80 I:125 C: 240000 Min: 0 Act:100478 Avg:37947 Max: 229143 T: 3 ( 4031) P:80 I:125 C: 240000 Min: 0 Act:106202 Avg:38130 Max: 239031 [similar,skipped] T:38 ( 4066) P:80 I:125 C: 239821 Min: 1 Act:100292 Avg:41273 Max: 238424 T:39 ( 4067) P:80 I:125 C: 239822 Min: 0 Act:100174 Avg:40254 Max: 238881 T:40 ( 4068) P:80 I:125 C: 239816 Min: 0 Act:100650 Avg:39910 Max: 239104 T:41 ( 4069) P:80 I:125 C: 239817 Min: 0 Act:100526 Avg:38282 Max: 224452 root@debian:~/rt-tests# Increased intervals between threads: root@debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 40* -n -i 125 -l 240000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 4203) P:80 I:125 C: 240000 Min: 1 Act: 35 Avg: 28 Max: 159 T: 1 ( 4204) P:80 I:165 C: 181909 Min: 6 Act: 47 Avg: 29 Max: 170 T: 2 ( 4205) P:80 I:205 C: 146417 Min: 6 Act: 15 Avg: 29 Max: 157 T: 3 ( 4206) P:80 I:245 C: 122512 Min: 6 Act: 33 Avg: 30 Max: 166 [similar,skipped] T:38 ( 4241) P:80 I:1645 C: 18246 Min: 7 Act: 27 Avg: 34 Max: 167 T:39 ( 4242) P:80 I:1685 C: 17813 Min: 8 Act: 13 Avg: 34 Max: 164 T:40 ( 4243) P:80 I:1725 C: 17398 Min: 7 Act: 22 Avg: 33 Max: 156 T:41 ( 4244) P:80 I:1765 C: 17004 Min: 8 Act: 49 Avg: 34 Max: 141 root@debian:~/rt-tests# Huge difference, isn't it? 2) If you want massive sync audio processing (w/o buffering) you can use
hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel.
I am not understanding about you speaking. E1 card can be used on real host without problems.
They use buffering. Delays of 125uS is not uncommon in ordinary Linux kernel. BTW, google "system management interrupt". 3) AFAIR, 1 thread per call leg, but depends of endpoints. Most of time
threads in I/O waiting/sleeping and encoding/decoding state.
One thread per FS call, equal one thread cyclictest. In cyclictest most time threads sleep also. This threads measure time interval and sleep again.
In Freeswitch all of threads are not waking up every 125uS synchronously. .And TDM cards are not generating tens/hundreds of thousands interrupts per second as cyclictest can do. IMO, to simulate something like 1 TDM E1 card using cyclictest you should use parameters that give you additional ~8000 irqs. root@debian:~# vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 3496 84304 21156 0 0 45 0 999 562 1 1 97 2 0 0 0 3496 84304 21156 0 0 0 0 105 222 0 0 100 0 0 0 0 2784 84304 21156 0 0 0 0 4276 8482 2 15 83 0 0 0 0 2784 84304 21156 0 0 0 0 8705 17146 2 35 63 0 0 0 0 2784 84304 21156 0 0 0 0 8678 17099 3 33 64 0 0 0 0 2784 84304 21156 0 0 0 0 8707 17135 2 37 61 0 In my case additional 8000 irqs with these parameters: root@debian:~/rt-tests# ./cyclictest -t 30 -p 80 -d 30 -n -i 3000 -l 24000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 5862) P:80 I:3000 C: 24000 Min: 7 Act: 9 Avg: 9 Max: 33 T: 1 ( 5863) P:80 I:3030 C: 23767 Min: 6 Act: 17 Avg: 8 Max: 49 T: 2 ( 5864) P:80 I:3060 C: 23534 Min: 6 Act: 12 Avg: 8 Max: 45 [same,skipped] T:26 ( 5888) P:80 I:3780 C: 19051 Min: 7 Act: 8 Avg: 9 Max: 35 T:27 ( 5889) P:80 I:3810 C: 18901 Min: 7 Act: 11 Avg: 8 Max: 40 T:28 ( 5890) P:80 I:3840 C: 18754 Min: 7 Act: 14 Avg: 8 Max: 39 T:29 ( 5891) P:80 I:3870 C: 18608 Min: 7 Act: 14 Avg: 8 Max: 36
6) In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution.
May be. According this publication ( http://www.linux-kvm.org/wiki/images/0/03/KVM-Forum-2011-RT-KVM.pdf) guest threads can be interrupted not more 112 uS.
Simple solution - for TDM card enough ordinary processor without virtualization. :o)
This is a best solution.
On Thu, Apr 9, 2015 at 8:09 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com> wrote:
2015-04-08 15:25 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type? I am wondering about this question. I know that the frame 125ms is enough.
Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed. If you want massive sync audio processing (w/o buffering) you can use hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel.
2) Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
Can you say how many FS create threads for 40-50 active calls?
AFAIR, 1 thread per call leg, but depends of endpoints. Most of time threads in I/O waiting/sleeping and encoding/decoding state.
3) -q switch is missing I am thinking it is optional. Result is same
Dynamic output to screen consumes resources. How much, depends on method.(VGA, Serial console, SSH). In my case difference is significiant. So, fair testing should exclude such things, IMO.
4) Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
Can you learn me how to correctly measure timer source quality in VM?
Serious players, as Wind River, use external timer.
In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution.
Dmitry.
On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko < dvl36.ripe.nick@gmail.com> wrote:
2015-04-07 10:48 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
... 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more
...
125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread
Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM 6) p 80 - it is copied from example on Cyclictest page
-q switch is missing.
And how in your opinion this numbers are related to Freeswitch in VM environment? Relation between Cyclictest switches and FS described above. Relation betwen Cyclictest results and FS simple
Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko <
dvl36.ripe.nick@gmail.com> wrote:
Sergey, Why you suggest to use exactly this numbers in cyclictest's switches? And how in your opinion this numbers are related to Freeswitch in VM environment?
P.S. https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-...
2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
> Errol can you test VM timer with utility > https://rt.wiki.kernel.org/index.php/Cyclictest > > My VM currently have folowing results > > [root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date > Sun Apr 5 07:01:31 GMT 2015 > # /dev/cpu_dma_latency set to 0us > policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 > > T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 > T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 > T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 > T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 > T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 > T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 > T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 > T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 > T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 > T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 > T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 > > > On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com> > wrote: > >> Good job and Thanks for sharing! >> >> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>> precision >> >> >> As someone who has been using KVM for a few years and has just >> migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >> am a little concerned about this finding. >> >> Just out of curiosity can you tell me the specs of the VM that you >> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >> do some tests as soon as I have some time. >> >> With regards to Xen was this at Linode or inhouse? >> >> Thanks >> >> Errol >> >> >> >> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < >> ssinyagin@gmail.com> wrote: >> >>> here we go: >>> >>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >>> >>> >>> >>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>> ssinyagin@gmail.com> wrote: >>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>> regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
1) But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card's. Very interest results. My example creates a lot of unnecessary interruptions For VoIP only host more correctly measured so cyclictest -t42 -p -d 80 0 -n -i -l 5000 6000 or cyclictest -t42 -p -d 80 0 -n -i -l 10000 3000 If FS has one TDM cards then cyclictest -t1 -p -d 80 0 -n -i -l 125 240000 If two TDM cards cyclictest -t2 -p -d 80 0 -n -i -l 125 240000 Where "-t" key equal number of TDM cards 2) According to Digium sources your TDM card have 20ms max buffer size(3ms default) USB dongles have at least 20 ms. Can you describe how you have found this information. It is very interest. Sergey On Fri, Apr 10, 2015 at 5:06 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com> wrote:
2015-04-10 0:33 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed.
The problem is whether there is or not the buffer. Is exist in all the equipment. The problem is the amount of buffer, and through any time it overflows. I thing you cannot say buffer size has TDM card and USB modems. :o)
According to Digium sources your TDM card have 20ms max buffer size(3ms default) USB dongles have at least 20 ms.
The above i write results of testing Digium E1 card in virtual environment. Test that is successful on real host, will fail in virtual environment. I you see source of timertest utility you will see that Digium test timer for 8000 samples for 1000 ms (1s). (Primary utility author Mark Spencer < markster@digium.com>) It is same value I recommend early.
But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card's.
Look: root@debian:~# vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 2348 85428 21156 0 0 134 0 1856 3409 1 2 92 5 0 0 0 2320 85428 21156 0 0 0 0 106 224 1 0 99 0 [similar, skipped] 0 0 0 2312 85436 21156 0 0 0 0 110 231 0 0 100 0 0 0 0 2312 85436 21156 0 0 0 0 109 225 0 2 98 0 45 0 0 1924 84908 21156 0 0 0 0 102909 146412 0 60 39 0 Starting of cyclictest with your parameters ^^^^^.
102909 interrupts and 146412 context switches per second. For one TDM card there should be slightly more then 8000 of interrupts.
Results:
root@debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 0* -n -i 125 -l 240000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 4028) P:80 I:125 C: 239821 Min: 0 Act:100534 Avg:38764 Max: 229794 T: 1 ( 4029) P:80 I:125 C: 239820 Min: 0 Act:100536 Avg:39646 Max: 233558 T: 2 ( 4030) P:80 I:125 C: 240000 Min: 0 Act:100478 Avg:37947 Max: 229143 T: 3 ( 4031) P:80 I:125 C: 240000 Min: 0 Act:106202 Avg:38130 Max: 239031 [similar,skipped] T:38 ( 4066) P:80 I:125 C: 239821 Min: 1 Act:100292 Avg:41273 Max: 238424 T:39 ( 4067) P:80 I:125 C: 239822 Min: 0 Act:100174 Avg:40254 Max: 238881 T:40 ( 4068) P:80 I:125 C: 239816 Min: 0 Act:100650 Avg:39910 Max: 239104 T:41 ( 4069) P:80 I:125 C: 239817 Min: 0 Act:100526 Avg:38282 Max: 224452 root@debian:~/rt-tests#
Increased intervals between threads:
root@debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 40* -n -i 125 -l 240000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 4203) P:80 I:125 C: 240000 Min: 1 Act: 35 Avg: 28 Max: 159 T: 1 ( 4204) P:80 I:165 C: 181909 Min: 6 Act: 47 Avg: 29 Max: 170 T: 2 ( 4205) P:80 I:205 C: 146417 Min: 6 Act: 15 Avg: 29 Max: 157 T: 3 ( 4206) P:80 I:245 C: 122512 Min: 6 Act: 33 Avg: 30 Max: 166 [similar,skipped] T:38 ( 4241) P:80 I:1645 C: 18246 Min: 7 Act: 27 Avg: 34 Max: 167 T:39 ( 4242) P:80 I:1685 C: 17813 Min: 8 Act: 13 Avg: 34 Max: 164 T:40 ( 4243) P:80 I:1725 C: 17398 Min: 7 Act: 22 Avg: 33 Max: 156 T:41 ( 4244) P:80 I:1765 C: 17004 Min: 8 Act: 49 Avg: 34 Max: 141 root@debian:~/rt-tests#
Huge difference, isn't it?
2) If you want massive sync audio processing (w/o buffering) you can use
hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel.
I am not understanding about you speaking. E1 card can be used on real host without problems.
They use buffering. Delays of 125uS is not uncommon in ordinary Linux kernel. BTW, google "system management interrupt".
3) AFAIR, 1 thread per call leg, but depends of endpoints. Most of time
threads in I/O waiting/sleeping and encoding/decoding state.
One thread per FS call, equal one thread cyclictest. In cyclictest most time threads sleep also. This threads measure time interval and sleep again.
In Freeswitch all of threads are not waking up every 125uS synchronously. .And TDM cards are not generating tens/hundreds of thousands interrupts per second as cyclictest can do.
IMO, to simulate something like 1 TDM E1 card using cyclictest you should use parameters that give you additional ~8000 irqs.
root@debian:~# vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 3496 84304 21156 0 0 45 0 999 562 1 1 97 2 0 0 0 3496 84304 21156 0 0 0 0 105 222 0 0 100 0 0 0 0 2784 84304 21156 0 0 0 0 4276 8482 2 15 83 0 0 0 0 2784 84304 21156 0 0 0 0 8705 17146 2 35 63 0 0 0 0 2784 84304 21156 0 0 0 0 8678 17099 3 33 64 0 0 0 0 2784 84304 21156 0 0 0 0 8707 17135 2 37 61 0
In my case additional 8000 irqs with these parameters:
root@debian:~/rt-tests# ./cyclictest -t 30 -p 80 -d 30 -n -i 3000 -l 24000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 5862) P:80 I:3000 C: 24000 Min: 7 Act: 9 Avg: 9 Max: 33 T: 1 ( 5863) P:80 I:3030 C: 23767 Min: 6 Act: 17 Avg: 8 Max: 49 T: 2 ( 5864) P:80 I:3060 C: 23534 Min: 6 Act: 12 Avg: 8 Max: 45 [same,skipped] T:26 ( 5888) P:80 I:3780 C: 19051 Min: 7 Act: 8 Avg: 9 Max: 35 T:27 ( 5889) P:80 I:3810 C: 18901 Min: 7 Act: 11 Avg: 8 Max: 40 T:28 ( 5890) P:80 I:3840 C: 18754 Min: 7 Act: 14 Avg: 8 Max: 39 T:29 ( 5891) P:80 I:3870 C: 18608 Min: 7 Act: 14 Avg: 8 Max: 36
6) In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution.
May be. According this publication ( http://www.linux-kvm.org/wiki/images/0/03/KVM-Forum-2011-RT-KVM.pdf) guest threads can be interrupted not more 112 uS.
Simple solution - for TDM card enough ordinary processor without virtualization. :o)
This is a best solution.
On Thu, Apr 9, 2015 at 8:09 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com
wrote:
2015-04-08 15:25 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type? I am wondering about this question. I know that the frame 125ms is enough.
Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed. If you want massive sync audio processing (w/o buffering) you can use hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel.
2) Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
Can you say how many FS create threads for 40-50 active calls?
AFAIR, 1 thread per call leg, but depends of endpoints. Most of time threads in I/O waiting/sleeping and encoding/decoding state.
3) -q switch is missing I am thinking it is optional. Result is same
Dynamic output to screen consumes resources. How much, depends on method.(VGA, Serial console, SSH). In my case difference is significiant. So, fair testing should exclude such things, IMO.
4) Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
Can you learn me how to correctly measure timer source quality in VM?
Serious players, as Wind River, use external timer.
In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution.
Dmitry.
On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko < dvl36.ripe.nick@gmail.com> wrote:
2015-04-07 10:48 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
... 2) i 125 - time us between software timer interrupts for first thread. It time is equal time between samples rate in PSTN networks In order to maintain our sampling rate we have 125 microseconds (uS) between consecutive samples (1/8,000Hz), which is more
...
125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
3) d 0 - this switch will make time between software timer interrupts for second and following threads is equal timer value for first thread
Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
4) l 240000 - how many timer test must be made. It is adjusted for 30 s overall test 5) n - use clock_nanosleep. it is allow take more accurate timer test values on my VM 6) p 80 - it is copied from example on Cyclictest page
-q switch is missing.
And how in your opinion this numbers are related to Freeswitch in VM environment? Relation between Cyclictest switches and FS described above. Relation betwen Cyclictest results and FS simple
Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko <
dvl36.ripe.nick@gmail.com> wrote:
> Sergey, > Why you suggest to use exactly this numbers in cyclictest's switches? > And how in your opinion this numbers are related to Freeswitch in VM > environment? > > P.S. > https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-... > > 2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>: > >> Errol can you test VM timer with utility >> https://rt.wiki.kernel.org/index.php/Cyclictest >> >> My VM currently have folowing results >> >> [root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >> Sun Apr 5 07:01:31 GMT 2015 >> # /dev/cpu_dma_latency set to 0us >> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >> >> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >> >> >> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels <ewsamuels@gmail.com >> > wrote: >> >>> Good job and Thanks for sharing! >>> >>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>> precision >>> >>> >>> As someone who has been using KVM for a few years and has just >>> migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>> am a little concerned about this finding. >>> >>> Just out of curiosity can you tell me the specs of the VM that you >>> tested with and which DO Datacenter? I am using NYC3 so perhaps and I will >>> do some tests as soon as I have some time. >>> >>> With regards to Xen was this at Linode or inhouse? >>> >>> Thanks >>> >>> Errol >>> >>> >>> >>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < >>> ssinyagin@gmail.com> wrote: >>> >>>> here we go: >>>> >>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >>>> >>>> >>>> >>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>> ssinyagin@gmail.com> wrote: >>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>> regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Key "-q" is recommended also. ;o) On Sun, Apr 12, 2015 at 9:01 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
1) But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card's.
Very interest results. My example creates a lot of unnecessary interruptions For VoIP only host more correctly measured so cyclictest -t42 -p -d 80 0 -n -i -l 5000 6000 or cyclictest -t42 -p -d 80 0 -n -i -l 10000 3000
If FS has one TDM cards then cyclictest -t1 -p -d 80 0 -n -i -l 125 240000
If two TDM cards cyclictest -t2 -p -d 80 0 -n -i -l 125 240000
Where "-t" key equal number of TDM cards
2) According to Digium sources your TDM card have 20ms max buffer size(3ms default) USB dongles have at least 20 ms.
Can you describe how you have found this information. It is very interest.
Sergey
On Fri, Apr 10, 2015 at 5:06 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com
wrote:
2015-04-10 0:33 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed.
The problem is whether there is or not the buffer. Is exist in all the equipment. The problem is the amount of buffer, and through any time it overflows. I thing you cannot say buffer size has TDM card and USB modems. :o)
According to Digium sources your TDM card have 20ms max buffer size(3ms default) USB dongles have at least 20 ms.
The above i write results of testing Digium E1 card in virtual environment. Test that is successful on real host, will fail in virtual environment. I you see source of timertest utility you will see that Digium test timer for 8000 samples for 1000 ms (1s). (Primary utility author Mark Spencer <markster@digium.com>) It is same value I recommend early.
But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card's.
Look: root@debian:~# vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 2348 85428 21156 0 0 134 0 1856 3409 1 2 92 5 0 0 0 2320 85428 21156 0 0 0 0 106 224 1 0 99 0 [similar, skipped] 0 0 0 2312 85436 21156 0 0 0 0 110 231 0 0 100 0 0 0 0 2312 85436 21156 0 0 0 0 109 225 0 2 98 0 45 0 0 1924 84908 21156 0 0 0 0 102909 146412 0 60 39 0 Starting of cyclictest with your parameters ^^^^^.
102909 interrupts and 146412 context switches per second. For one TDM card there should be slightly more then 8000 of interrupts.
Results:
root@debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 0* -n -i 125 -l 240000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 4028) P:80 I:125 C: 239821 Min: 0 Act:100534 Avg:38764 Max: 229794 T: 1 ( 4029) P:80 I:125 C: 239820 Min: 0 Act:100536 Avg:39646 Max: 233558 T: 2 ( 4030) P:80 I:125 C: 240000 Min: 0 Act:100478 Avg:37947 Max: 229143 T: 3 ( 4031) P:80 I:125 C: 240000 Min: 0 Act:106202 Avg:38130 Max: 239031 [similar,skipped] T:38 ( 4066) P:80 I:125 C: 239821 Min: 1 Act:100292 Avg:41273 Max: 238424 T:39 ( 4067) P:80 I:125 C: 239822 Min: 0 Act:100174 Avg:40254 Max: 238881 T:40 ( 4068) P:80 I:125 C: 239816 Min: 0 Act:100650 Avg:39910 Max: 239104 T:41 ( 4069) P:80 I:125 C: 239817 Min: 0 Act:100526 Avg:38282 Max: 224452 root@debian:~/rt-tests#
Increased intervals between threads:
root@debian:~/rt-tests# ./cyclictest -t42 -p 80 *-d 40* -n -i 125 -l 240000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 4203) P:80 I:125 C: 240000 Min: 1 Act: 35 Avg: 28 Max: 159 T: 1 ( 4204) P:80 I:165 C: 181909 Min: 6 Act: 47 Avg: 29 Max: 170 T: 2 ( 4205) P:80 I:205 C: 146417 Min: 6 Act: 15 Avg: 29 Max: 157 T: 3 ( 4206) P:80 I:245 C: 122512 Min: 6 Act: 33 Avg: 30 Max: 166 [similar,skipped] T:38 ( 4241) P:80 I:1645 C: 18246 Min: 7 Act: 27 Avg: 34 Max: 167 T:39 ( 4242) P:80 I:1685 C: 17813 Min: 8 Act: 13 Avg: 34 Max: 164 T:40 ( 4243) P:80 I:1725 C: 17398 Min: 7 Act: 22 Avg: 33 Max: 156 T:41 ( 4244) P:80 I:1765 C: 17004 Min: 8 Act: 49 Avg: 34 Max: 141 root@debian:~/rt-tests#
Huge difference, isn't it?
2) If you want massive sync audio processing (w/o buffering) you can use
hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel.
I am not understanding about you speaking. E1 card can be used on real host without problems.
They use buffering. Delays of 125uS is not uncommon in ordinary Linux kernel. BTW, google "system management interrupt".
3) AFAIR, 1 thread per call leg, but depends of endpoints. Most of time
threads in I/O waiting/sleeping and encoding/decoding state.
One thread per FS call, equal one thread cyclictest. In cyclictest most time threads sleep also. This threads measure time interval and sleep again.
In Freeswitch all of threads are not waking up every 125uS synchronously. .And TDM cards are not generating tens/hundreds of thousands interrupts per second as cyclictest can do.
IMO, to simulate something like 1 TDM E1 card using cyclictest you should use parameters that give you additional ~8000 irqs.
root@debian:~# vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 0 3496 84304 21156 0 0 45 0 999 562 1 1 97 2 0 0 0 3496 84304 21156 0 0 0 0 105 222 0 0 100 0 0 0 0 2784 84304 21156 0 0 0 0 4276 8482 2 15 83 0 0 0 0 2784 84304 21156 0 0 0 0 8705 17146 2 35 63 0 0 0 0 2784 84304 21156 0 0 0 0 8678 17099 3 33 64 0 0 0 0 2784 84304 21156 0 0 0 0 8707 17135 2 37 61 0
In my case additional 8000 irqs with these parameters:
root@debian:~/rt-tests# ./cyclictest -t 30 -p 80 -d 30 -n -i 3000 -l 24000 -q WARN: stat /dev/cpu_dma_latency failed: No such file or directory T: 0 ( 5862) P:80 I:3000 C: 24000 Min: 7 Act: 9 Avg: 9 Max: 33 T: 1 ( 5863) P:80 I:3030 C: 23767 Min: 6 Act: 17 Avg: 8 Max: 49 T: 2 ( 5864) P:80 I:3060 C: 23534 Min: 6 Act: 12 Avg: 8 Max: 45 [same,skipped] T:26 ( 5888) P:80 I:3780 C: 19051 Min: 7 Act: 8 Avg: 9 Max: 35 T:27 ( 5889) P:80 I:3810 C: 18901 Min: 7 Act: 11 Avg: 8 Max: 40 T:28 ( 5890) P:80 I:3840 C: 18754 Min: 7 Act: 14 Avg: 8 Max: 39 T:29 ( 5891) P:80 I:3870 C: 18608 Min: 7 Act: 14 Avg: 8 Max: 36
6) In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution.
May be. According this publication ( http://www.linux-kvm.org/wiki/images/0/03/KVM-Forum-2011-RT-KVM.pdf) guest threads can be interrupted not more 112 uS.
Simple solution - for TDM card enough ordinary processor without virtualization. :o)
This is a best solution.
On Thu, Apr 9, 2015 at 8:09 PM, Dmitry Lysenko < dvl36.ripe.nick@gmail.com> wrote:
2015-04-08 15:25 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) 125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
Not all FS installation has SIP endpoint. Some can have TDM cards, USB dongle and other analog equipment. Can you say what is length of this frame type? I am wondering about this question. I know that the frame 125ms is enough.
Most(if not all) of modern equipment have buffers. TDM cards too. Even $0.25 microcontrollers have buffers. Firing interrupts at each PCM sample not needed. If you want massive sync audio processing (w/o buffering) you can use hard realtime OS. PC and Linux (even on bare metal) is not suitable for this, at least without RT patched kernel.
2) Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
Can you say how many FS create threads for 40-50 active calls?
AFAIR, 1 thread per call leg, but depends of endpoints. Most of time threads in I/O waiting/sleeping and encoding/decoding state.
3) -q switch is missing I am thinking it is optional. Result is same
Dynamic output to screen consumes resources. How much, depends on method.(VGA, Serial console, SSH). In my case difference is significiant. So, fair testing should exclude such things, IMO.
4) Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
Can you learn me how to correctly measure timer source quality in VM?
Serious players, as Wind River, use external timer.
In your case, most capable realtime hypervisor with RT_PREEMPT guest would be one of the best solution.
Dmitry.
On Wed, Apr 8, 2015 at 2:07 PM, Dmitry Lysenko < dvl36.ripe.nick@gmail.com> wrote:
2015-04-07 10:48 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
> ... > 2) i 125 - time us between software timer interrupts for first > thread. It time is equal time between samples rate in PSTN networks > In order to maintain our sampling rate we have 125 microseconds (uS) > between consecutive samples (1/8,000Hz), which is more > ... >
125uS is the interval between FrameSync of ONE(!) PCM sample at 8000hz, But here we are talking about packet telephony where commonly used frame length is 20000 uS. So, intervals for testing should be 5000-10000-20000uS, not 125uS.
> 3) d 0 - this switch will make time between software timer > interrupts for second and following threads is equal timer value for first > thread >
Why you decided that all of 42 threads should wake up simultaneously? That totally impossible in real world applications. Here should be tens of uS. Dependent of network card and, possibly, other I/O hardware.
> 4) l 240000 - how many timer test must be made. It is adjusted for > 30 s overall test > 5) n - use clock_nanosleep. it is allow take more accurate timer > test values on my VM > 6) p 80 - it is copied from example on Cyclictest page >
-q switch is missing.
> And how in your opinion this numbers are related to Freeswitch in VM > environment? > Relation between Cyclictest switches and FS described above. > Relation betwen Cyclictest results and FS simple >
Precise time measurement and realtime processing in VM environment is a challenge. To obtain acceptable results fine tuning of host's and guest's required. WIthout that this numbers ... does not mean anything.
On Tue, Apr 7, 2015 at 5:38 AM, Dmitry Lysenko < > dvl36.ripe.nick@gmail.com> wrote: > >> Sergey, >> Why you suggest to use exactly this numbers in cyclictest's >> switches? >> And how in your opinion this numbers are related to Freeswitch in >> VM environment? >> >> P.S. >> https://mindlinux.wordpress.com/2013/10/25/using-and-understanding-the-real-... >> >> 2015-04-06 15:27 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>: >> >>> Errol can you test VM timer with utility >>> https://rt.wiki.kernel.org/index.php/Cyclictest >>> >>> My VM currently have folowing results >>> >>> [root@fs1 ~]# date && /tmp/rt-tests/cyclictest -t42 -p 80 -d 0 -n -i 125 -l 240000 && date >>> Sun Apr 5 07:01:31 GMT 2015 >>> # /dev/cpu_dma_latency set to 0us >>> policy: fifo: loadavg: 2.38 0.93 0.50 1/194 1574 >>> >>> T: 0 ( 1531) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 16 Max: 1302 >>> T: 1 ( 1532) P:80 I:125 C: 240000 Min: 2 Act: 15 Avg: 14 Max: 2895 >>> T: 2 ( 1533) P:80 I:125 C: 240000 Min: 3 Act: 10 Avg: 12 Max: 2888 >>> T: 3 ( 1534) P:80 I:125 C: 240000 Min: 1 Act: 16 Avg: 13 Max: 1333 >>> T: 4 ( 1535) P:80 I:125 C: 240000 Min: 2 Act: 20 Avg: 14 Max: 2962 >>> T: 5 ( 1536) P:80 I:125 C: 240000 Min: 1 Act: 12 Avg: 14 Max: 2946 >>> T: 6 ( 1537) P:80 I:125 C: 240000 Min: 2 Act: 10 Avg: 13 Max: 1363 >>> T: 7 ( 1538) P:80 I:125 C: 240000 Min: 2 Act: 12 Avg: 13 Max: 1344 >>> T: 8 ( 1539) P:80 I:125 C: 240000 Min: 3 Act: 12 Avg: 16 Max: 1408 >>> T: 9 ( 1540) P:80 I:125 C: 240000 Min: 1 Act: 8 Avg: 13 Max: 2882 >>> T:10 ( 1541) P:80 I:125 C: 239974 Min: 2 Act: 12 Avg: 13 Max: 2908 >>> >>> >>> On Mon, Apr 6, 2015 at 11:15 AM, Errol Samuels < >>> ewsamuels@gmail.com> wrote: >>> >>>> Good job and Thanks for sharing! >>>> >>>> KVM at digitalocean.com, Debian 7 64bit, FreeSWITCH 1.4.15: bad >>>>> precision >>>> >>>> >>>> As someone who has been using KVM for a few years and has just >>>> migrated about 20 VMs across to Digital Ocean about 6 weeks ago I admit I >>>> am a little concerned about this finding. >>>> >>>> Just out of curiosity can you tell me the specs of the VM that >>>> you tested with and which DO Datacenter? I am using NYC3 so perhaps and I >>>> will do some tests as soon as I have some time. >>>> >>>> With regards to Xen was this at Linode or inhouse? >>>> >>>> Thanks >>>> >>>> Errol >>>> >>>> >>>> >>>> On Sun, Apr 5, 2015 at 1:37 AM, Stanislav Sinyagin < >>>> ssinyagin@gmail.com> wrote: >>>> >>>>> here we go: >>>>> >>>>> https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt... >>>>> >>>>> >>>>> >>>>> On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin < >>>>> ssinyagin@gmail.com> wrote: >>>>> > On Sat, Apr 4, 2015 at 1:03 PM, Regis M < >>>>> regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2015-04-12 21:01 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card's.
Very interest results. My example creates a lot of unnecessary interruptions For VoIP only host more correctly measured so cyclictest -t42 -p -d 80 0 -n -i -l 5000 6000 or cyclictest -t42 -p -d 80 0 -n -i -l 10000 3000
If FS has one TDM cards then cyclictest -t1 -p -d 80 0 -n -i -l 125 240000
If two TDM cards cyclictest -t2 -p -d 80 0 -n -i -l 125 240000
Where "-t" key equal number of TDM cards
In any case, I recommend adding the interval between threads.
2) According to Digium sources your TDM card have 20ms max buffer size(3ms default) USB dongles have at least 20 ms.
Can you describe how you have found this information. It is very interest.
I looked into TDM card's driver sources and on the internet. Now I found another page and according to this page they increase card's FIFO to 16ms, and reduce maximum latency from 20ms to 12ms. http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=ae5fa08abd1b898... As for USB dongles I hope you will be trust Giovanni. Giovanni already said about 20ms frames. Dmitry. [rest was too long, skipped]
I made additional tests, and... I'm not sure any more. So, I removed the statement about bad precision. This needs a lab environment with predictable network and known CPU load on the host machine. Does anyone know any tools that would automatically detect sound distortions in WAV files and also find the shifts because of slipping clock or lost frames? Up to now, the only tool I could find is visually comparing the waves in Audacity. On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go: https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
See if this helps - http://www.voip-info.org/wiki/view/Call+Quality+Metrics http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made additional tests, and... I'm not sure any more. So, I removed the statement about bad precision. This needs a lab environment with predictable network and known CPU load on the host machine.
Does anyone know any tools that would automatically detect sound distortions in WAV files and also find the shifts because of slipping clock or lost frames? Up to now, the only tool I could find is visually comparing the waves in Audacity.
On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com>
wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M < regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
thanks, the PESQ tool appears to be open-source and free for non-commercial use, so I started a series of tests. I'll post an update. http://www.itu.int/rec/T-REC-P.862-200511-I!Amd2/en On Thu, Apr 9, 2015 at 12:36 PM, Jayanth Acharya <jayachar88@gmail.com> wrote:
See if this helps - http://www.voip-info.org/wiki/view/Call+Quality+Metrics http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm
On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made additional tests, and... I'm not sure any more. So, I removed the statement about bad precision. This needs a lab environment with predictable network and known CPU load on the host machine.
Does anyone know any tools that would automatically detect sound distortions in WAV files and also find the shifts because of slipping clock or lost frames? Up to now, the only tool I could find is visually comparing the waves in Audacity.
On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I made 5 calls from each of 3 test servers (KVM at DigitalOcean in London, Scaleway physical in Paris, and a XEN host at softronics.ch near Zurich), and the PESQ assessment tool shows varying results: for each host, the MOS score was fluctuating between 2.5 and 3.8. So, KVM doesn't seem to be too bad :-) On Thu, Apr 9, 2015 at 1:21 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
thanks, the PESQ tool appears to be open-source and free for non-commercial use, so I started a series of tests. I'll post an update. http://www.itu.int/rec/T-REC-P.862-200511-I!Amd2/en
On Thu, Apr 9, 2015 at 12:36 PM, Jayanth Acharya <jayachar88@gmail.com> wrote:
See if this helps - http://www.voip-info.org/wiki/view/Call+Quality+Metrics http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm
On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made additional tests, and... I'm not sure any more. So, I removed the statement about bad precision. This needs a lab environment with predictable network and known CPU load on the host machine.
Does anyone know any tools that would automatically detect sound distortions in WAV files and also find the shifts because of slipping clock or lost frames? Up to now, the only tool I could find is visually comparing the waves in Audacity.
On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
These results are consistent with FS data in "/var/log/freeswitch/xml_cdr" files? <rtp_audio_in_mos>x.xx</rtp_audio_in_mos> On Thu, Apr 9, 2015 at 5:12 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made 5 calls from each of 3 test servers (KVM at DigitalOcean in London, Scaleway physical in Paris, and a XEN host at softronics.ch near Zurich), and the PESQ assessment tool shows varying results: for each host, the MOS score was fluctuating between 2.5 and 3.8.
So, KVM doesn't seem to be too bad :-)
On Thu, Apr 9, 2015 at 1:21 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
thanks, the PESQ tool appears to be open-source and free for non-commercial use, so I started a series of tests. I'll post an update. http://www.itu.int/rec/T-REC-P.862-200511-I!Amd2/en
On Thu, Apr 9, 2015 at 12:36 PM, Jayanth Acharya <jayachar88@gmail.com> wrote:
See if this helps - http://www.voip-info.org/wiki/view/Call+Quality+Metrics http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm
On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin <ssinyagin@gmail.com
wrote:
I made additional tests, and... I'm not sure any more. So, I removed the statement about bad precision. This needs a lab environment with predictable network and known CPU load on the host machine.
Does anyone know any tools that would automatically detect sound distortions in WAV files and also find the shifts because of slipping clock or lost frames? Up to now, the only tool I could find is visually comparing the waves in Audacity.
On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin <
ssinyagin@gmail.com>
wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <
ssinyagin@gmail.com>
wrote:
On Sat, Apr 4, 2015 at 1:03 PM, Regis M <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I wasn't collecting xml_cdr, and the PESQ tool compared the original audio with the recorded session, so its output would be more reliable anyway. On Thu, Apr 9, 2015 at 4:19 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
These results are consistent with FS data in "/var/log/freeswitch/xml_cdr" files? <rtp_audio_in_mos>x.xx</rtp_audio_in_mos>
On Thu, Apr 9, 2015 at 5:12 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made 5 calls from each of 3 test servers (KVM at DigitalOcean in London, Scaleway physical in Paris, and a XEN host at softronics.ch near Zurich), and the PESQ assessment tool shows varying results: for each host, the MOS score was fluctuating between 2.5 and 3.8.
So, KVM doesn't seem to be too bad :-)
On Thu, Apr 9, 2015 at 1:21 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
thanks, the PESQ tool appears to be open-source and free for non-commercial use, so I started a series of tests. I'll post an update. http://www.itu.int/rec/T-REC-P.862-200511-I!Amd2/en
On Thu, Apr 9, 2015 at 12:36 PM, Jayanth Acharya <jayachar88@gmail.com> wrote:
See if this helps - http://www.voip-info.org/wiki/view/Call+Quality+Metrics http://www.tamos.com/htmlhelp/voip-analysis/mosandr_factor.htm
On Thu, Apr 9, 2015 at 3:18 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
I made additional tests, and... I'm not sure any more. So, I removed the statement about bad precision. This needs a lab environment with predictable network and known CPU load on the host machine.
Does anyone know any tools that would automatically detect sound distortions in WAV files and also find the shifts because of slipping clock or lost frames? Up to now, the only tool I could find is visually comparing the waves in Audacity.
On Sun, Apr 5, 2015 at 2:37 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
here we go:
https://txlab.wordpress.com/2015/04/05/testing-rtp-clock-precision-on-a-virt...
On Sat, Apr 4, 2015 at 4:26 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote: > On Sat, Apr 4, 2015 at 1:03 PM, Regis M > <regis.freeswitch.org@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I'm surprised nobody has suggested doing point to point(FS to FS) within the same data center testing to remove the provider from the mix, then doing a packet capture on the receiving box. Wireshark will be able to determine the network jitter. Once you can determine and compensate for the level of RTP network jitter, then you can start looking for potential audio issues. I've seen situations like you are describing, and they've all come down to the host machine was overloaded either at the CPU level, or the network stack. William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com On 04/03/2015 05:16 PM, Stanislav Sinyagin wrote:
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
+1 sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 On Apr 9, 2015 9:01 PM, "William King" <william.king@quentustech.com> wrote:
I'm surprised nobody has suggested doing point to point(FS to FS) within the same data center testing to remove the provider from the mix, then doing a packet capture on the receiving box. Wireshark will be able to determine the network jitter. Once you can determine and compensate for the level of RTP network jitter, then you can start looking for potential audio issues.
I've seen situations like you are describing, and they've all come down to the host machine was overloaded either at the CPU level, or the network stack.
William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com
On 04/03/2015 05:16 PM, Stanislav Sinyagin wrote:
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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Of course I made such direct tests too. They usually don't show anything interesting, as both machines rely on Linux clock. In my tests, the calls were passing through TDM links where the clock should be much more precise. On Apr 9, 2015 9:01 PM, "William King" <william.king@quentustech.com> wrote:
I'm surprised nobody has suggested doing point to point(FS to FS) within the same data center testing to remove the provider from the mix, then doing a packet capture on the receiving box. Wireshark will be able to determine the network jitter. Once you can determine and compensate for the level of RTP network jitter, then you can start looking for potential audio issues.
I've seen situations like you are describing, and they've all come down to the host machine was overloaded either at the CPU level, or the network stack.
William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com
On 04/03/2015 05:16 PM, Stanislav Sinyagin wrote:
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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (15)
-
Anthony Minessale
-
Brian West
-
Carlos Ruiz Díaz
-
Dmitry Lysenko
-
EL
-
Errol Samuels
-
George Assaad
-
Giovanni Maruzzelli
-
James Cloos
-
Jayanth Acharya
-
Regis M
-
Sergey Safarov
-
Stanislav Sinyagin
-
Victor Medina
-
William King