From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mick Jordan Subject: Re: 2MB page PV guest support clarification Date: Fri, 27 Feb 2009 16:42:43 -0800 Message-ID: <49A88883.8090106@Sun.COM> References: <49A870E6.8050300@Sun.COM> <49A8770F.6070806@goop.org> <4FA716B1526C7C4DB0375C6DADBC4EA34172695B6F@LONPMAILBOX01.citrite.net> Reply-To: Mick.Jordan@sun.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0867352471==" Return-path: In-reply-to: <4FA716B1526C7C4DB0375C6DADBC4EA34172695B6F@LONPMAILBOX01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0867352471== Content-type: multipart/alternative; boundary="Boundary_(ID_KuRCAi7D3MCAxtsaEjZuDQ)" This is a multi-part message in MIME format. --Boundary_(ID_KuRCAi7D3MCAxtsaEjZuDQ) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT On 02/27/09 16:03, Ian Pratt wrote: >>> I found some posts from quite a while ago on xen-devel discussing >>> patches to allow large pages, so my question is for clarification on >>> the status of this feature. I.e., is it in any stable release and if >>> so what version? >>> >> Its a work in progress, but there's nothing usable yet, as far as I >> know. >> > > Oracle have been working on PV 2MB page support, and I expect they'll pitch in with an update. > > Over the last 18 months or so there have been a number of changes to xen's PV PT handling that make support of 2MB pages significantly easier than it was previously. However, the guest has to be careful how it uses them as it can't alias any memory that may be used for storing pagetables pages (that must be RO). > > Thanks for the update. I'll wait to hear from the Oracle guys. You remark about aliasing prompts me to ask a general question about that. I am currently mapping physical to virtual 1-1 (because that is what minis-os has always done) as well as mapping parts of that to other areas in virtual memory. Both of these are RW mappings. Is that ok? It perfectly possible for me to unmap the 1-1 mappings or make them RO if I have to. Mick --Boundary_(ID_KuRCAi7D3MCAxtsaEjZuDQ) Content-type: text/html; charset=ISO-8859-1 Content-transfer-encoding: 7BIT On 02/27/09 16:03, Ian Pratt wrote:
I found some posts from quite a while ago on xen-devel discussing
patches to allow large pages, so my question is for clarification  on
the status of this feature. I.e., is it in any stable release and if
so what version?
      
Its a work in progress, but there's nothing usable yet, as far as I
know.
    

Oracle have been working on PV 2MB page support, and I expect they'll pitch in with an update.

Over the last 18 months or so there have been a number of changes to xen's PV PT handling that make support of 2MB pages significantly easier than it was previously. However, the guest has to be careful how it uses them as it can't alias any memory that may be used for storing pagetables pages (that must be RO).

  
Thanks for the update. I'll wait to hear from the Oracle guys.

You remark about aliasing prompts me to ask a general question about that. I am currently mapping physical to virtual 1-1 (because that is what minis-os has always done) as well as mapping parts of that to other areas in virtual memory. Both of these are RW mappings. Is that ok? It perfectly possible for me to unmap the 1-1 mappings or make them RO if I have to.

Mick

--Boundary_(ID_KuRCAi7D3MCAxtsaEjZuDQ)-- --===============0867352471== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0867352471==--