From: Tim Deegan Subject: Re: [PATCH] x86/HVM: extend LAPIC shortcuts around P2M lookups Date: Fri, 1 Aug 2014 21:03:50 +0200 Message-ID: <20140801190350.GA95600@deinos.phlegethon.org> References: <53DBB5860200007800028738@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XDI7T-0006Ka-50 for xen-devel@lists.xenproject.org; Fri, 01 Aug 2014 19:03:59 +0000 Content-Disposition: inline In-Reply-To: <53DBB5860200007800028738@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org At 14:43 +0100 on 01 Aug (1406900582), Jan Beulich wrote: > ... to all internally handled MMIO regions. It is in particular the > HPET page that, e.g. on Windows Server 2012 R2, can get heavily > accessed, and hence avoiding the unnecessary lookups is rather > beneficial (in the reported case a 40+-vCPU guest would previously not > have booted at all while with hvm_hap_nested_page_fault() shortcut > alone it was able to boot up in 18 minutes [i.e. still room for > improvement]). > > Note the apparently unrelated addition of a is_hvm_vcpu() check to the > __hvm_copy() code: Afaict for PVH this shortcut should never have taken > effect (since there's no LAPIC in that case). > > Signed-off-by: Jan Beulich Reviewed-by: Tim Deegan