From: Keir Fraser Subject: Re: RFC: [0/2] Remove netloop by lazy copying in netback Date: Tue, 27 Mar 2007 11:19:10 +0100 Message-ID: References: <20070327101521.GA25515@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070327101521.GA25515@gondor.apana.org.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Herbert Xu Cc: Isaku Yamahata , Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org On 27/3/07 11:15, "Herbert Xu" wrote: >> Could we shatter the ia64 guest large mappings easily? They have no benefit >> on Xen anyway apart from some inconsequential memory saving. > > I think large pages are needed in general not to reduce memory usage, > but to reduce TLB usage. I'm not sure about ia64, but for other > architectures it's quite important. > > So getting rid of them will add a non-trivial cost. Is this a virtual TLB we're talking about? Xen will already have to implicitly shatter the large mappings before updating the real TLB, since guest machine memory map is not contiguous at the scale of large pages (even if we tried at domain build time, it certainly wouldn't be the case when foreign grant mappings are scattered all over the place). -- Keir