1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="vboxwatchdog-ballonctrl">
|
---|
4 | <title>Memory Ballooning Control</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>The memory ballooning control inflates and deflates the memory balloon of VMs based on the VMs free memory and
|
---|
8 | the requested maximum balloon size. </p>
|
---|
9 | <p>To set up the memory ballooning control the maximum ballooning size a VM can reach needs to be set. This can be
|
---|
10 | specified using the command line, as follows: </p>
|
---|
11 | <pre xml:space="preserve">--balloon-max <Size in MB></pre>
|
---|
12 | <p>Using a per-VM basis extradata value, as follows: </p>
|
---|
13 | <pre xml:space="preserve">VBoxManage setextradata <VM-Name> VBoxInternal2/Watchdog/BalloonCtrl/BalloonSizeMax <Size in MB></pre>
|
---|
14 | <p>Using a global extradata value, as follows: </p>
|
---|
15 | <pre xml:space="preserve">VBoxManage setextradata global VBoxInternal2/Watchdog/BalloonCtrl/BalloonSizeMax <Size in MB></pre>
|
---|
16 | <note>
|
---|
17 | <p>If no maximum ballooning size is specified by at least one of the parameters above, no ballooning will be
|
---|
18 | performed at all. </p>
|
---|
19 | </note>
|
---|
20 | <p>Setting the ballooning increment in MB can be either done using command line, as follows: </p>
|
---|
21 | <pre xml:space="preserve">--balloon-inc <Size in MB></pre>
|
---|
22 | <p>Using a global extradata value, as follows: </p>
|
---|
23 | <pre xml:space="preserve">VBoxManage setextradata global VBoxInternal2/Watchdog/BalloonCtrl/BalloonIncrementMB <Size in MB></pre>
|
---|
24 | <p>The default ballooning increment is 256 MB if not specified. </p>
|
---|
25 | <p>The same options apply for a ballooning decrement. Using the command line, as follows: </p>
|
---|
26 | <pre xml:space="preserve">--balloon-dec <Size in MB></pre>
|
---|
27 | <p>Using a global extradata value, as follows: </p>
|
---|
28 | <pre xml:space="preserve">VBoxManage setextradata global VBoxInternal2/Watchdog/BalloonCtrl/BalloonDecrementMB <Size in MB></pre>
|
---|
29 | <p>The default ballooning decrement is 128 MB if not specified. </p>
|
---|
30 | <p>The lower limit in MB for a balloon can be defined using the command line, as follows: </p>
|
---|
31 | <pre xml:space="preserve">--balloon-lower-limit <Size in MB></pre>
|
---|
32 | <p>Using a global extradata value, as follows: </p>
|
---|
33 | <pre xml:space="preserve">VBoxManage setextradata global VBoxInternal2/Watchdog/BalloonCtrl/BalloonLowerLimitMB <Size in MB></pre>
|
---|
34 | <p>The default lower limit is 128 MB if not specified. </p>
|
---|
35 | </body>
|
---|
36 |
|
---|
37 | </topic>
|
---|