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] Revised balloon driver

To: "Mat" <mat@xxxxxxxxx>
Subject: Re: [Xen-devel] Revised balloon driver
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 09 Dec 2004 17:17:03 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 09 Dec 2004 17:18:22 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 08 Dec 2004 16:45:25 +0100." <342fae188f264e4cf71d8d4f61c9f34e@xxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> Hi
> i'm willing to test it, i think i'm in xen 2.0 and not 2.0-testing.
> Is there an easy way to migrate ?

Just build the xen-2.0-testing tree instead of xen-2.0.

> To use the ballon driver, what is needed apart compiling the driver in xen0
> and xenU kernel ?

It is always built-in -- you don't need to configure anything.

> Is there a documentation ?

No. :-)  To use from within the domain, just 
 # echo <memsize> >/proc/xen/balloon.

> Couple of weeks ago i've seen a message stating that in order to be able to
> shrink/unshrink memory size you have to pass a parameter at xenU kernel at
> boot time . What is this parameter, have i misunderstood ?

If you want to be able to grow a domain's memory allocation to greater
than its initial allocation, you need to add a "mem=<maxmemsz>" boot
parameter to the guest OS. If you only want to grow/shrink within the
bounds of the initial allocation then you don't need to do this.

 -- Keir

> Mat
> On December 2, 5:45 pm Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> >
> > I've checked in a large number of changes to the balloon driver to the
> > 2.0-testing and unstable trees. There should now be rather fewer bugs
> > and the balloon will play more nicely with other device drivers (by
> > which I mean it is less likely to crash the VM).
> >
> > To see balloon info: cat /proc/xen/balloon
> > (I'm happy to receive feedback on the layout/contents. I confused
> > myself with it while testing so I guess it may not be very intuitive
> > right now :-).
> >
> > To set memory target: echo <memsz> >/proc/xen/balloon
> > (<memsz> is e.g., 300M, 2G, whatever).
> >
> > NOTE: If you set the memory target too low it is still very easy to
> > kill your VM (on 2.6 the OOM killer gets activated). I'm not sure how
> > avoidable this is -- for now you'll just have to exercise caution when
> > reducing the target below a few 10's of MBs.
> >
> >  -- Keir
> >
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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