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

Re: [Xen-devel] Balloon driver and oom-killer

To: tgh <wwwwww4187@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Balloon driver and oom-killer
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Sun, 28 Oct 2007 23:22:11 +0100
Cc: ashutosh mehra <ashutosh.xen@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 28 Oct 2007 15:23:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4722E1AB.1050900@xxxxxxxxxxx>
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: <bb4253730710261121p1f293022s2a49f66fc583ed4@xxxxxxxxxxxxxx> <200710270246.25608.mark.williamson@xxxxxxxxxxxx> <4722E1AB.1050900@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
>  I have used balloon driver in xen,and I am confused about the  meaning
> of "Improve interaction between balloon driver and page
>
> allocator to avoid memory crunch."in the roadmap,what does it mean exactly?
> does it mean to improve the performance of the balloon, or to add some
> other functionality ,or to make the guestos's memory size adapted
> automatically,or something else?

There have been some bad interactions with Linux's memory management code when 
using the balloon driver - particularly when using it aggressively to shrink 
a domain.  In this past, this has been known to cause the OOM killer to kick 
in when not strictly necessary and also has caused some issues with network 
IO when used in dom0.

The balloon driver just allocates loads of memory, and this seems to sometimes 
make Linux think that memory is running out, rather than understanding that 
the domain has been resized.  Ideally, we'd use some sort of memory hotplug 
interface to Linux to make the resizing explicit.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

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