From owner-freebsd-stable@freebsd.org Fri Sep 29 05:42:32 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90852E23E33 for ; Fri, 29 Sep 2017 05:42:32 +0000 (UTC) (envelope-from paul.koch@akips.com) Received: from mail.akips.com (mail.akips.com [45.32.79.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E5217EC7A; Fri, 29 Sep 2017 05:42:32 +0000 (UTC) (envelope-from paul.koch@akips.com) Date: Fri, 29 Sep 2017 15:42:25 +1000 From: Paul Koch To: Sepherosa Ziehau Cc: Julian Elischer , freebsd-stable@freebsd.org, Hongjiang Zhang Subject: Re: 11.1 running on HyperV hn interface hangs Message-ID: <20170929154225.6a187f47@akips.com> In-Reply-To: References: <20170906193309.796c79ed@akips.com> <3f96c7d0-4fbd-26cb-5c84-8868d12eb427@ingresso.co.uk> <14997bba-aac2-947b-9b78-04af41ea29b0@freebsd.org> <20170907150711.025e4e41@akips.com> <20170908010400.0fb81bc4@akips.com> <20170929143659.7fe1a4f6@akips.com> Organization: AKIPS MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2017 05:42:32 -0000 On Fri, 29 Sep 2017 13:31:22 +0800 Sepherosa Ziehau wrote: > On Fri, Sep 29, 2017 at 12:36 PM, Paul Koch wrote: > > On Thu, 14 Sep 2017 09:54:56 +0800 > > Sepherosa Ziehau wrote: > > > >> If you have any updates on this, please let me know. There is still > >> time for 10.4. > > > > We are still playing around with this in the lab... > > > > Running similar setup as the customer > > Microsoft Windows Server 2012 R2 Datacentre (6.3.9600) Revision 16384 > > Hyper-V 2012 > > > > Two VM guests > > - 11.0-RELEASE > > - 11.1-p1 > > > > We can not get the Hyper-V hn interface to lock up like the customer can > > though. > > > > We can get the VMs to hang/stall regularly if the guests run ntpd - approx > > every 15 mins, but no real obvious pattern to it. Disabling ntpd fixes > > it. > > 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. > > Or do you mean the network hanging triggered by "RXBUF ack failed"? > > Thanks, > sephe Yes, ntp client running on the VM guest. After finding it was unstable, we concluded that there must be some type of interference. Best that we automatically force ntp off when our software detects it is running in Hyper-V. We haven't been able to trigger the hn to hang like our customer can with the RXBUF problem though. Different underlying hardware probably. Paul. -- Paul Koch | Founder | CEO AKIPS Network Monitor | akips.com Brisbane, Australia