Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2017 11:01:00 +0800
From:      Sepherosa Ziehau <sephe@freebsd.org>
To:        Pete French <petefrench@ingresso.co.uk>
Cc:        Paul Koch <paul.koch@akips.com>, freebsd-stable@freebsd.org,  Hongjiang Zhang <honzhan@microsoft.com>, Julian Elischer <julian@freebsd.org>
Subject:   Re: 11.1 running on HyperV hn interface hangs
Message-ID:  <CAMOc5cz7BUNPgAOFckD9=jwvOqdvvfr9nvcu1z4GuAydN1idWw@mail.gmail.com>
In-Reply-To: <E1dxuJw-0008cc-QR@dilbert.ingresso.co.uk>
References:  <CAMOc5cwmQS=bLAe0fZYWpViMSRH5_ZbJumuezkbwRH=H_tgSFw@mail.gmail.com> <E1dxuJw-0008cc-QR@dilbert.ingresso.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 29, 2017 at 8:23 PM, Pete French <petefrench@ingresso.co.uk> wrote:
>> Hmm, by ntpd I think you mean ntp client?  You will have to disable
>> timesync if you run ntp client:
>> sysctl hw.hvtimesync.sample_thresh=-1
>> sysctl hw.hvtimesync.ignore_sync=1
>>
>> They interfere w/ each other.
>
> Oh! Does this apply to machines in Azure Hyper-V as well as on standalone
> installations ? I wasn't aware of this, and have ntp on as standard (which
> I wil now turn off pending a reply to this email, as sods law says that now
> I am aware of it then I will get lockups over the weekend) :-)

It applies to both Azure and standalone Hyper-V.  In addition to the
sysctls I mentioned, you can also add tunable
hint.hvtimesync.0.disabled=1 to /boot/loader.conf to disable timesync,
if you want to use ntp.

Thanks,
sephe

-- 
Tomorrow Will Never Die



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMOc5cz7BUNPgAOFckD9=jwvOqdvvfr9nvcu1z4GuAydN1idWw>