From: "Jan Beulich" Subject: Re: [PATCH] improve x86 page table handling performance Date: Tue, 27 Mar 2007 07:22:30 +0100 Message-ID: <4608D446.76E4.0078.0@novell.com> References: <4607F9E7.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4607F9E7.76E4.0078.0@novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> "Jan Beulich" 26.03.07 16:50 >>> >Where possible, >- use hypercalls instead of writing to read-only pages >- fold TLB flushes into page table update hypercalls >- on PAE, use single-access updates instead of two-access ones > >The single change to pte_clear() yields a 25-30% boost for kernel builds >on a 4x2x2 CPUs, 8Gb box; the other changes together yield improvements >of 2-5%. I shall clarify that this is for the PAE case only (i.e. resulting from the folding of two page faults into a single hypercall, which is being used in the kmap path). Jan