Skip to contentSkip to conversation

PoD operation question

DISCUSSION Jan Beulich 2 participants 4 messages Jan 25, 2010

lore
Share & tools
lore
#0 lore raw

With the balloon driver itself not doing anything special in HVM when getting loaded, where does the initial ballooning down get initiated? Is this something the system startup scripts are expected to perform?

Thanks, Jan

#1 lore raw

I believe so yes. The lower memory_target will be written to xenstore at domain creation, for balloon driver to retrieve and act on when it loads.

-- Keir

Quoted 11 lines · Jan Beulich

With the balloon driver itself not doing anything special in HVM when getting loaded, where does the initial ballooning down get initiated? Is this something the system startup scripts are expected to perform?

Thanks, Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Your two sentences seem contradictory to me: If it gets handled via xenstore, then the init scripts shouldn't matter, and the ballooning should start as soon as the driver loads (since - iirc - watches fire once when being registered).

Jan

Quoted 1 line
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 25.01.10 10:21 >>>

I believe so yes. The lower memory_target will be written to xenstore at domain creation, for balloon driver to retrieve and act on when it loads.

-- Keir

Quoted 11 lines · Jan Beulich

With the balloon driver itself not doing anything special in HVM when getting loaded, where does the initial ballooning down get initiated? Is this something the system startup scripts are expected to perform?

Thanks, Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Oh I didn't realise you meant startup scripts within the guest... No, I believe it works via xenstore, picked up by balloon driver when it first loads.

-- Keir

Quoted 29 lines · Jan Beulich

Your two sentences seem contradictory to me: If it gets handled via xenstore, then the init scripts shouldn't matter, and the ballooning should start as soon as the driver loads (since - iirc - watches fire once when being registered).

Jan

Quoted 1 line
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 25.01.10 10:21 >>>

I believe so yes. The lower memory_target will be written to xenstore at domain creation, for balloon driver to retrieve and act on when it loads.

-- Keir

Quoted 11 lines · Jan Beulich

With the balloon driver itself not doing anything special in HVM when getting loaded, where does the initial ballooning down get initiated? Is this something the system startup scripts are expected to perform?

Thanks, Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel