From: "Jan Beulich" Subject: Re: heavy P2M lock contention on guest HPET counter reads Date: Wed, 30 Jul 2014 11:46:31 +0100 Message-ID: <53D8E92702000078000279BA@mail.emea.novell.com> References: <53D8E0540200007800027966@mail.emea.novell.com> <53D8C916.1060908@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XCRP2-0008QG-JT for xen-devel@lists.xenproject.org; Wed, 30 Jul 2014 10:46:36 +0000 In-Reply-To: <53D8C916.1060908@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel , Tim Deegan , Andres Lagar-Cavilla List-Id: xen-devel@lists.xenproject.org >>> On 30.07.14 at 12:29, wrote: > One complication is that the HPET can optionally be emulated by qemu > based on an HVMPARAM, so the fastpath has to consider creating an > ioreq. (Frankly, I think this ability is completely mad, and I doubt > anyone would notice if it ceased to work. There is no reason to use > qemu's emulation in preference to Xen's, especially as Xen's emulatator > was copied from qemu at some point in the past) No, we wouldn't need to care about that mode. For one, the qemu path should be unreachable for a well behaved guest, since with "hpet=0" there's no ACPI table advertising a HPET. And then, even if it was reachable (e.g. due to a guest guessing/probing it), I don't think we need to be concerned about that path's performance. > Have you enabled with viridian extensions? Providing the TSC > enlightenments should cause Windows to completely ignore the vhpet. I'm told this flag doesn't make any difference, albeit I'll have them double check. Jan