From owner-freebsd-xen@freebsd.org Fri Jan 6 11:20:24 2017 Return-Path: Delivered-To: freebsd-xen@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 5AFE3CA2355; Fri, 6 Jan 2017 11:20:24 +0000 (UTC) (envelope-from prvs=172991b13=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.ctxuk.citrix.com [185.25.65.24]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC6C51947; Fri, 6 Jan 2017 11:20:23 +0000 (UTC) (envelope-from prvs=172991b13=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.33,324,1477958400"; d="scan'208";a="38017595" Date: Fri, 6 Jan 2017 11:18:46 +0000 From: 'Roger Pau =?iso-8859-1?Q?Monn=E9'?= To: Jay West CC: "'Hoyer-Reuther, Christian'" , , Subject: Re: 11-RELEASE and live migration Message-ID: <20170106111846.qnvrq6vwvdi3245y@dhcp-3-221.uk.xensource.com> References: <001f01d250a6$05ca4160$115ec420$@ezwind.net> <003501d250af$032dd580$09898080$@ezwind.net> <41E487BC91654544B2B8F31096F2D9D4D1B060A925@ex1> <20161212103148.5prkggi3ix4zoxyv@dhcp-3-221.uk.xensource.com> <41E487BC91654544B2B8F31096F2D9D4D1B060AA3E@ex1> <002101d25484$c0a068c0$41e13a40$@ezwind.net> <20161214140224.rbg5h3v2opa3q3sj@dhcp-3-221.uk.xensource.com> <41E487BC91654544B2B8F31096F2D9D4D1B060ABBF@ex1> <001701d2679d$f99eb560$ecdc2020$@ezwind.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <001701d2679d$f99eb560$ecdc2020$@ezwind.net> User-Agent: NeoMutt/20161126 (1.7.1) X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2017 11:20:24 -0000 On Thu, Jan 05, 2017 at 03:52:13PM -0600, Jay West wrote: > > Roger wrote... > > I'm able to see these glitches, as said the VM doesn't really hang, it > > just gets stuck for a long time (and I think that depends on the > > uptime differences between the source and destination hosts). In the > > meantime, could you please test if changing the timecounter from > > XENTIMER to any other (like HPET or > > ACPI-fast) solves the issue? > > > > # sysctl -w kern.timecounter.hardware=ACPI-fast > > Christian replied... > I changed the timecounter from XENTIMER to ACPI-fast and then I did about 10 > migrations between our 3 hosts. I always started the next migration a few > seconds after the previous migration finished. The VM didn't stuck now and I > didn't see the VGABios screen on the console. > > I can also add to this... changing timecounter to ACPI-fast definitely fixes > the problem. I can migrate a handful of freebsd11 vm's back and forth and > all stay running correctly. > > So... bug in XENTIMER? Not exactly, let's say it's a shortcoming of the current resume procedure. IF you want to know more about the gory details: https://lists.freebsd.org/pipermail/freebsd-arch/2016-December/018041.html I'm currently quite busy, so I don't really have an ETA of when this is going to be fixed. Roger.