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