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] [PATCH] Allow multiple-time mmap of the privcmddevi

To: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] Allow multiple-time mmap of the privcmddevice
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 17 May 2006 10:47:42 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 May 2006 18:47:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <9FBCE015AF479F46B3B410499F3AE05B011EC5E3@pdsmsx405>
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: <9FBCE015AF479F46B3B410499F3AE05B011EC5E3@pdsmsx405>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Thank you for the log.
The oom-killer of dom0 was triggered. Alex also reporeted it.
Please increase dom0 memory and decrease vti domain memory
as a work around for now. 
When I tested, I used 512MB(default) for dom0 and 128MB for vti domU.

The root cause is the current implementation of foregin domain
page mapping wastes dom0 memory to allocate pseudo physical address.
(xen_ia64_privcmd_entry_mmap() in
 linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c)
I will fix this waste of dom0 memory by foreign domain page mapping.


On Wed, May 17, 2006 at 08:48:00AM +0800, Zhang, Xiantao wrote:
> Hi Yamahata,
>       I attached the log, and I have tried two times but all failed with same 
> phenomenon. 
> Thanks
> -Xiantao
> 
> > -----Original Message-----
> > From: Isaku Yamahata [mailto:yamahata@xxxxxxxxxxxxx]
> > Sent: 2006年5月16日 21:24
> > To: Zhang, Xiantao
> > Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-ia64-devel] [PATCH] Allow multiple-time mmap of the
> > privcmddevice
> > 
> > On Tue, May 16, 2006 at 07:40:45PM +0800, Zhang, Xiantao wrote:
> > > With this patch and Alex's network.diff on tip, I couldn't create VTi 
> > > domain
> > yet, and it will result in xen to panic. Does it need other patches to work?
> > 
> > No. Can I see panic log?
> > 
> > --
> > yamahata


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

-- 
yamahata

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