Skip to contentSkip to conversation

Balloon driver

DISCUSSION Jean-Eric Cuendet 4 participants 6 messages Feb 9, 2005 – Feb 13, 2005

lore
Share & tools
lore
#0 lore raw

Hi,
I heard about the balloon driver but can't find doc on it... What's that?
Is there doc about it?
Thanks.
-jec

Signature · 15 lines
Jean-Eric Cuendet
Riskpro Technologies SA
Av du 14 avril 1b, 1020 Renens Switzerland
Principal: +41 21 637 0110  Fax: +41 21 637 01 11
Direct: +41 21 637 0123
E-mail: jean-eric.cuendet at rptec.ch
http://www.rptec.ch
--------------------------------------------------------


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#1 lore raw
Quoted 2 lines

I heard about the balloon driver but can't find doc on it... What's that?

It allows a domain to give some of its memory back to Xen. This makes its memory footprint smaller. The memory can then be used for other domains. The memory can be reclaimed later so domains can also grow.

To use the driver:
* In a domain, "cat <memory target> > /proc/xen/balloon"
* In domain zero use "xm balloon <dom> <memory target>

Quoted 1 line

Is there doc about it?

It's described in the user manual.

Cheers,
Mark

-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#2 lore raw
Quoted 11 lines
Quoted 3 lines

I heard about the balloon driver but can't find doc on it... What's that?

It allows a domain to give some of its memory back to Xen. This makes its memory footprint smaller. The memory can then be used for other domains. The memory can be reclaimed later so domains can also grow.

To use the driver:
* In a domain, "cat <memory target> > /proc/xen/balloon"
* In domain zero use "xm balloon <dom> <memory target>

is it also avalaible to dom0, i mean does dom0 can also reduce/grow his memory ?

-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#3 lore raw
Quoted 2 lines

is it also avalaible to dom0, i mean does dom0 can also reduce/grow his memory ?

Yes.

Cheers,
Mark

-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#4 lore raw
In reply to Mark Williamson
Quoted 1 line · Mark Williamson

* In a domain, "cat <memory target> > /proc/xen/balloon"

Did you mean echo? ;-)

-jkt

Signature · 8 lines
cd /local/pub && more beer > /dev/mouth


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#5 lore raw
Quoted 4 lines
Quoted 1 line · Mark Williamson

* In a domain, "cat <memory target> > /proc/xen/balloon"

Did you mean echo? ;-)

Oops, yes I did. Guess I need to plug the coffee line back in!

Cheers,
Mark

-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click