From: Ingo Molnar Subject: Re: lmbench lat_mmap slowdown with CONFIG_PARAVIRT Date: Tue, 27 Jan 2009 08:59:12 +0100 Message-ID: <20090127075912.GA6551@elte.hu> References: <20090120112634.GA20858@elte.hu> <20090120140324.GA26424@elte.hu> <49763806.5090009@goop.org> <20090120205653.GA19710@elte.hu> <20090121072718.GN24891@wotan.suse.de> <4977A051.8050203@goop.org> <1232663311.16317.176.camel@bodhitayantram.eng.vmware.com> <4978F6C6.3090003@goop.org> <1232664907.16317.182.camel@bodhitayantram.eng.vmware.com> <49790BCC.1040807@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <49790BCC.1040807@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Zachary Amsden , Nick Piggin , Xen-devel , "jeremy@xensource.com" , "rusty@rustcorp.com.au" , Linux Kernel Mailing List , "chrisw@sous-sol.org" , "hpa@zytor.com" , Andrew Morton , Linus Torvalds List-Id: xen-devel@lists.xenproject.org * Jeremy Fitzhardinge wrote: >>> Also, I just posted patches to get rid of all pvops calls when >>> fetching or setting flags in a pte, which I hope will help. >> >> Sounds like it will help. > > ...but apparently not. ping? This is a very serious paravirt_ops slowdown affecting the native kernel's performance to the tune of 5-10% in certain workloads. It's been about 2 years ago that paravirt_ops went upstream, when you told us that something like this would never happen, that paravirt_ops is designed so flexibly that it will never hinder the native kernel - and if it does it will be easy to fix it. Now is the time to fulfill that promise. Ingo