On Debian we don't explicitly set it<span></span><br><br>On Thursday, June 4, 2015, Stanislav Sinyagin <<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">it's standard latest Debian 7 on a 8-core Xeon.<br>
<br>
Did you explicitly use HPET clock before?<br>
<br>
<br>
<br>
On Fri, Jun 5, 2015 at 12:36 AM, Michael Jerris <<a href="javascript:;" onclick="_e(event, 'cvml', 'mike@jerris.com')">mike@jerris.com</a>> wrote:<br>
> To be completely honest on non vm setups I haven't seen anyone with problems<br>
> like this on reasonably recent kernels. Are you using a distro with an<br>
> older kernel?<br>
><br>
><br>
> On Thursday, June 4, 2015, Stanislav Sinyagin <<a href="javascript:;" onclick="_e(event, 'cvml', 'ssinyagin@gmail.com')">ssinyagin@gmail.com</a>> wrote:<br>
>><br>
>> Michael, as far as I understand it, it works as follows:<br>
>><br>
>> timerfd is a kernel's means of providing the system clock to the<br>
>> userland process (freeswitch daemon in our case).<br>
>><br>
>> The kernel takes the clock from one of available sources, and these<br>
>> sources are either physical or software clocks:<br>
>><br>
>> # cat /sys/devices/system/clocksource/clocksource0/available_clocksource<br>
>> tsc hpet acpi_pm<br>
>> # cat /sys/devices/system/clocksource/clocksource0/current_clocksource<br>
>> tsc<br>
>><br>
>> So, TSC was giving stable results, while HPET, although expected to be<br>
>> more precise, was generating errors while the CPU was busy with other<br>
>> jobs.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On Thu, Jun 4, 2015 at 9:05 PM, Michael Jerris <<a href="javascript:;" onclick="_e(event, 'cvml', 'mike@jerris.com')">mike@jerris.com</a>> wrote:<br>
>> > timerfd would be the preferred timing source on any remotely modern<br>
>> > linux kernel<br>
>> ><br>
>> >> On Jun 4, 2015, at 6:47 AM, Stanislav Sinyagin <<a href="javascript:;" onclick="_e(event, 'cvml', 'ssinyagin@gmail.com')">ssinyagin@gmail.com</a>><br>
>> >> wrote:<br>
>> >><br>
>> >> I summarized some experience gained in a customer project, hopefully<br>
>> >> it will be useful:<br>
>> >><br>
>> >> <a href="https://txlab.wordpress.com/2015/06/02/quality-assurance-for-voip-calls-2/" target="_blank">https://txlab.wordpress.com/2015/06/02/quality-assurance-for-voip-calls-2/</a><br>
>> >><br>
>> >> @Anthony, you suggested to use HPET timer for better precision, but it<br>
>> >> appears that it is affected by the CPU load: while the debian package<br>
>> >> build script was running, the quality of recorded calls has degraded<br>
>> >> -- even that the recording was done onto a TMPFS partition. With the<br>
>> >> default TSC timer, this was not the case.<br>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> > _________________________________________________________________________<br>
>> > Professional FreeSWITCH Consulting Services:<br>
>> > <a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
>> > <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>> ><br>
>> > Official FreeSWITCH Sites<br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> > <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
>> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>> ><br>
>> > FreeSWITCH-users mailing list<br>
>> > <a href="javascript:;" onclick="_e(event, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="javascript:;" onclick="_e(event, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>