From: Hollis Blanchard Date: Tue, 21 Oct 2008 13:55:46 +0000 Subject: Re: Patch to increase the number of tlb entries a guest uses Message-Id: <1224597346.31194.1.camel@localhost.localdomain> List-Id: References: <48FCB5E5.1020003@linux.vnet.ibm.com> In-Reply-To: <48FCB5E5.1020003@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org On Tue, 2008-10-21 at 08:27 -0500, Scott Wood wrote: > On Mon, Oct 20, 2008 at 06:46:29PM +0200, Christian Ehrhardt wrote: > > Hi Scott, > > I just discussed with Hollis about shadow tlb management in the > > hypervisor and he mentioned that you already have a patch that lets the > > guest use more tlb entries than it would have on bare metal hardware and > > therefore allow to handle more tlb misses in the host because the shadow > > tlb already holds that information. > > > > It would be nice if you could provide me and the kvmppc community that > > patch, because I wanted to modify our tlb handling a bit. If it would be > > easy enough I would like to test that with a different number of guest > > tlb entries too to see how big the impact of such a change would be to > > our shadow tlb management. > > It's not a patch to KVM, it's something I've done on Freescale's > hypervisor (which isn't released yet). I think Christian was referring to the Linux side of it. But I guess that since Freescale parts have TLBCFG registers advertising the size of the TLBs, there wouldn't necessarily be any Linux changes at all. (Hmm, that's pretty nice. :) -- Hollis Blanchard IBM Linux Technology Center