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] work around for populate physmap hypercall

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] work around for populate physmap hypercall
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 22 Aug 2007 14:47:57 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Aug 2007 22:48:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1187624130.6810.18.camel@bling>
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: <20070820032324.GA25340%yamahata@xxxxxxxxxxxxx> <1187624130.6810.18.camel@bling>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Thank you very much for testing/experimenting.
Attached the updated patch.
Only the constants and comments were changed.


On Mon, Aug 20, 2007 at 09:35:30AM -0600, Alex Williamson wrote:
> On Mon, 2007-08-20 at 12:23 +0900, Isaku Yamahata wrote:
> > Hi.
> > This patch is work around for xencomm and the soft lockup message.
> > However I need help before commit.
> > 
> > - It is necessary to test it before commit with much memory.
> >   I haven't tested it with much memory because my environment doesn't have
> >   such huge memory.
> > - I defined MEMORYOP_MAX_EXTENTS based on the xencomm limitation.
> >   Howver I'm not sure the value is small enough to avoid the soft lockup
> >   message because I couldn't produce the message on my environment.
> >   It is necessary to determine the value with expriments.
> 
> Hi Isaku,
> 
>    The defined MEMORYOP_MAX_EXTENTS is still a bit too big, I get soft
> lockups with large domains.  Further testing shows dividing your
> MEMORYOP_MAX_EXTENTS calculation by 4 gives me nearly 1 million extents,
> and eliminates the soft lockup.  I've tested up to a 90G domain with no
> problems on startup.  Here's the macro I end up with:
> 
> #define MEMORYOP_MAX_EXTENTS                                            \
>                 ((((((PAGE_SIZE - sizeof(struct xencomm_desc)) /        \
>                    sizeof(uint64_t)) - 2) * PAGE_SIZE) /                \
>                   sizeof(*xen_guest_handle(kern_op.extent_start))) / 4)
> 
> Thanks,
> 
>       Alex
> 
> -- 
> Alex Williamson                             HP Open Source & Linux Org.
> 
> 
> _______________________________________________
> Xen-ia64-devel mailing list
> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel
> 

-- 
yamahata

Attachment: 188_782a06dcae9f_repeat_memory_reservation_op.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>