From: Keir Fraser Subject: Re: Design question for PV superpage support Date: Mon, 02 Mar 2009 18:30:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , Dave McCracken , "Mick.Jordan@sun.com" , Xen Developers List List-Id: xen-devel@lists.xenproject.org On 02/03/2009 18:03, "Dan Magenheimer" wrote: >> From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] >> >> It'd be nice to fall back to the case of not being able to >> guarantee all 2MB >> extents are aligned and contiguous. So for example being able >> to migrate to >> or restore on a system that currently doesn't have enough >> contiguous memory. > > Well, yes and no. I believe the ONLY reason to use 2MB > pages is to achieve a significant performance advantage. > And I suspect emulating 2MB "virtual pages" on 4KB physical > pages will perform at least slightly worse than just > 4KB-on-4KB, true? If you make this constraint then you risk creating domains that you cannot always conveniently restore. Obviously you would allocate 2MB extents wherever possible, since that is the whole point of this drawn out exercise. -- Keir