[asterisk-users] asterisk and Hyper-V

Kseniya Blashchuk ksyblast at gmail.com
Mon Dec 18 02:35:36 CST 2017


Thank you for a quick answer, Dmitry!

We have tried the settings you suggested but nothing helped. The machine is
running 4.4.0-104 kernel, 4 cores, Intel(R) Xeon(R) CPU E5-2620 v3 @
2.40GHz, clocksource is hyperv_clocksource_tsc_page, timing module is
res_timing_timerfd.so. We have also tried to set 50% Reserve - no luck :(.

пн, 18 дек. 2017 г. в 10:49, Dmitriy Ermakov <demonihin at gmail.com>:

> Hi, Kseniya!
>
> I have three installations of Asterisk (as FreePBX but I think it is not
> important). They work fine.
>
> I have made some settings in Asterisk and Hyper-V:
>
> Asterisk: timing interface - timerfd.
>
> Hyper-V:
>
>    1. Virtual Machine => Network Adapter => Hardware Acceleration =>
>    Virtual Machine Queue - Disable it;
>    2. Virtual Machine => Processor => Virtual Machine Reserve
>    (percentage) - set at least 25% (if you have 4 virtual cores for your
>    Asterisk). You can try to set reserve more or less then 25% - test it and,
>    please, send email here;
>    3. Virtual Machine => Integration Services => Time synchronisation -
>    enable it.
>
> This settings helped me.
>
> Also check your Linux Kernel version - it must be 3.10 or newer. I saw
> very bad "timing test" results on kernel 2.6.32.
>
> On 12/18/2017 10:26 AM, Kseniya Blashchuk wrote:
>
> Hi all!
> Does anybody have experience with asterisk on Hyper-V? My test setup with
> Ubuntu 16 and asterisk 13.1 (ubuntu repo) shows sound distortion. I have
> analyzed the RTP flow with wireshark and I see high skew and delta values
> when the traffic leaves the hypervisor, however everything is okay when a
> capture is taken from a VM itself. I have read that there can be timing
> problems with Hyper-V. I have tried to disable time sync with the machine
> and tried different clocksources. I have also tried to change asterisk
> timing interface to dahdi (dummy) - nothing helped so far. Hyper-V version
> is 12p2.
> Does anybody have a working setup with Hyper-V?
>
>
>
>
> --
> С уважением, Дмитрий Ермаков
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20171218/d3ac03f2/attachment.html>


More information about the asterisk-users mailing list