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-devel

[Xen-devel] Re: [PATCH][XM-TEST] Fix for 15_create_smallmem_pos.py test

To: Daniel Stekloff <dsteklof@xxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH][XM-TEST] Fix for 15_create_smallmem_pos.py test - Bug 616
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Wed, 19 Apr 2006 22:59:49 +0100
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Dan Smith <danms@xxxxxxxxxx>
Delivery-date: Wed, 19 Apr 2006 15:00:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1145471721.15509.16.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1145471721.15509.16.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Wed, Apr 19, 2006 at 11:35:21AM -0700, Daniel Stekloff wrote:

> 
> Hi,
> 
> Here's the first step toward dealing with the small memory issue. The
> 15_create_smallmem_pos.py test was hanging because it created a 16 MB
> domain and never got to the point where it could set a console limit.
> The OOM messages flooded the console on creation and the select in
> Console.py always had something to read. Since there was no limit and it
> never timed out, the test would hang. 
> 
> This patch:
> 
> 1) Adds a new cLimit arg for console limit to XmConsole, so it can be
> set before the console is created. 
> 
> 2) Adds a default console limit rather than setting it to None. We'd
> rather hit an exception for a limit than hanging the console in the
> future. Tests that need more console data can always reset the limit.
> 
> 3) Changes 15_create_smallmem_pos.py's 16 MEM to 32 MBs, the default
> that should work for the tools.
> 
> 4) Adds a new 16_create_smallmem_neg.py test to hit the lowmem test
> failure.

That's all good stuff Dan, thanks.  I've applied this, plus the two
immediately following.

Ewan.

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

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