WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] Pagesize for XEN

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Pagesize for XEN
From: tgingold@xxxxxxx
Date: Fri, 27 Jul 2007 17:21:57 +0200
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 27 Jul 2007 08:19:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46A9C249.2010003@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <46A9C249.2010003@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.5
Quoting Juergen Gross <juergen.gross@xxxxxxxxxxxxxxxxxxx>:

> Hi,
>
> for our mainframe operating system we need support of 4kB pagesize in XEN.
> I plan to do some patches to achieve this in the next 2 or 3 weeks.
Interesting work!
I think you should be able to configure Xen for 4kB pages.  And it should work
(but TBC).  You should really try this first as you will catch the simplest
problems.

> To avoid any performance degradation for linux or windows guests, my plan is
> to introduce a per-domain or per-vcpu minimal page size. A domain would start
> with the default pagesize (currently 16kB) and in case of usage of a smaller
> page (either via itc, itr or vhpt) the hypervisor should switch to the new
> size by reorganizing the xen-vhpt's of that domain (e.g. doing an implicit
> ptc and setting the new minimal pagesize).
This is a worth optimization but should work without it.

> I'm not sure how to handle grantpages, however. After a quick look into the
> sources I think the pagesize of grantpages is statically defined in the XEN
> configuration (16kB default).
Yes.

> The cleanest solution would be to add the pagesize for grantpages to the
> interfaces of XEN. On the other hand this would require lots of changes in
> domU and dom0 in architecture independent code.
> So for the moment I will stay with a XEN defined pagesize of grantpages.
> Any problem related to different domU and grantpage pagsizes will be specific
> to the domU using a smaller than default pagesize. As there is no such domU
> up to now, this is just another topic which has to be addressed during the
> "XENification" of the (new) domU.
You could try to build a domU linux with a 4KB page size and see how it fails.
There will be many issues with PV drivers!

To sum up: very interesting and not easy work!

Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>