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
|
---|
8 | VMs free memory and the requested maximum balloon size. </p>
|
---|
9 | <p>
|
---|
10 | To set up the memory ballooning control the maximum ballooning
|
---|
11 | size a VM can reach needs to be set. This can be specified using
|
---|
12 | the command line, as follows:
|
---|
13 | </p>
|
---|
14 | <pre xml:space="preserve">--balloon-max <Size in MB></pre>
|
---|
15 | <p>
|
---|
16 | Using a per-VM basis extradata value, as follows:
|
---|
17 | </p>
|
---|
18 | <pre xml:space="preserve">VBoxManage setextradata <VM-Name> VBoxInternal2/Watchdog/BalloonCtrl/BalloonSizeMax <Size in MB></pre>
|
---|
19 | <p>
|
---|
20 | Using a global extradata value, as follows:
|
---|
21 | </p>
|
---|
22 | <pre xml:space="preserve">VBoxManage setextradata global VBoxInternal2/Watchdog/BalloonCtrl/BalloonSizeMax <Size in MB></pre>
|
---|
23 | <note>
|
---|
24 | <p>
|
---|
25 | If no maximum ballooning size is specified by at least one of
|
---|
26 | the parameters above, no ballooning will be performed at all.
|
---|
27 | </p>
|
---|
28 | </note>
|
---|
29 | <p>
|
---|
30 | Setting the ballooning increment in MB can be either done using
|
---|
31 | command line, as follows:
|
---|
32 | </p>
|
---|
33 | <pre xml:space="preserve">--balloon-inc <Size in MB></pre>
|
---|
34 | <p>
|
---|
35 | Using a global extradata value, as follows:
|
---|
36 | </p>
|
---|
37 | <pre xml:space="preserve">VBoxManage setextradata global VBoxInternal2/Watchdog/BalloonCtrl/BalloonIncrementMB <Size in MB></pre>
|
---|
38 | <p>
|
---|
39 | The default ballooning increment is 256 MB if not specified.
|
---|
40 | </p>
|
---|
41 | <p>
|
---|
42 | The same options apply for a ballooning decrement. Using the
|
---|
43 | command line, as follows:
|
---|
44 | </p>
|
---|
45 | <pre xml:space="preserve">--balloon-dec <Size in MB></pre>
|
---|
46 | <p>
|
---|
47 | Using a global extradata value, as follows:
|
---|
48 | </p>
|
---|
49 | <pre xml:space="preserve">VBoxManage setextradata global VBoxInternal2/Watchdog/BalloonCtrl/BalloonDecrementMB <Size in MB></pre>
|
---|
50 | <p>
|
---|
51 | The default ballooning decrement is 128 MB if not specified.
|
---|
52 | </p>
|
---|
53 | <p>
|
---|
54 | The lower limit in MB for a balloon can be defined using the
|
---|
55 | command line, as follows:
|
---|
56 | </p>
|
---|
57 | <pre xml:space="preserve">--balloon-lower-limit <Size in MB></pre>
|
---|
58 | <p>
|
---|
59 | Using a global extradata value, as follows:
|
---|
60 | </p>
|
---|
61 | <pre xml:space="preserve">VBoxManage setextradata global VBoxInternal2/Watchdog/BalloonCtrl/BalloonLowerLimitMB <Size in MB></pre>
|
---|
62 | <p>
|
---|
63 | The default lower limit is 128 MB if not specified.
|
---|
64 | </p>
|
---|
65 | </body>
|
---|
66 |
|
---|
67 | </topic>
|
---|