debuggers.hg

view tools/xenballoon/xenballoon.conf @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents 8373971089a7
children
line source
1 ## Path: System/xen
2 ## Description: xen domain start/stop on boot
3 ## Type: string
4 ## Default:
6 # NOTE: "xenbus is enabled" means not only that /proc/xen/xenbus exists
7 # but also that /usr/bin/xenstore-* tools are installed.
9 ## Type: boolean
10 ## Default: false
11 #
12 # If XENBALLOON_SELF is true, selfballooning will occur, meaning the
13 # balloon driver will grow and shrink according to available memory.
14 # If xenbus is enabled, may be overridden by {memory/selfballoon}==0
15 # If false but xenballoond is able to communicate with domain0 via
16 # xenbus, balloon targets will be set by domain0
17 #
18 XENBALLOON_SELF=false
20 ## Type: integer (must be > 0)
21 ## Default: 1
22 #
23 # If self-ballooning, number of seconds between checks/adjustments.
24 # If xenbus is enabled, may be overridden by {memory/interval}
25 XENBALLOON_SELF_INTERVAL=1
27 ## Type: integer (must be > 0)
28 ## Default: 1
29 #
30 # If NOT self-ballooning but xenbus is enabled, number of seconds between
31 # checks/adjustments. May be overridden by {memory/interval}
32 XENBALLOON_INTERVAL=1
34 ## Type: integer (must be > 0)
35 ## Default: 10
36 #
37 # When current > target, reduces rate at which target memory is ballooned
38 # out. For a value of n, 1/n of the difference will be ballooned.
39 # This value applies both to selfballooning and directed ballooning.
40 # May be overridden by {memory/downhysteresis}
41 XENBALLOON_AUTO_DOWNHYSTERESIS=10
43 ## Type: integer (must be > 0)
44 ## Default: 1
45 #
46 # When current < target, reduces rate at which target memory is reclaimed
47 # (if available). For a value of n, 1/n of the difference will be ballooned.
48 # This value applies both to selfballooning and directed ballooning.
49 # May be overridden by {memory/uphysteresis}
50 XENBALLOON_AUTO_UPHYSTERESIS=1
52 ## Type: integer (must be >= 0)
53 ## Default: 0
54 #
55 # In order to avoid ballooning so much memory that a guest experiences
56 # out-of-memory errors (OOMs), memory will not be ballooned out below
57 # a minimum target, in MB. If this value is 0 (default), an heuristic
58 # based on the maximum amount of memory will be used. (The heuristic
59 # provides the same minimum as recent versions of the balloon driver but
60 # early versions of the balloon driver did not enforce a minimum.)
61 XENBALLOON_MINMEM=0
63 ## Type: string
64 ## Default: "/var/run/xenballoon-maxmem"
65 #
66 # Location where memory high-water mark is stored; if a guest supports
67 # hot-add memory, maxmem might increase across time and the minimum
68 # target heuristic is based on max memory. NOTE: Reboot after changing
69 # this variable, else overballooning may occur.
70 XENBALLOON_MAXMEMFILE=/var/run/xenballoon-maxmem
72 ## Type: integer (0 or 1)
73 ## Default: 1
74 #
75 # If xenbus is enabled, whether selfballooning or directed ballooning,
76 # place the result of 'cat /proc/meminfo" on xenbus at memory/meminfo
77 XENBALLOON_SEND_MEMINFO=1
79 ## Type: integer (0 or 1)
80 ## Default: 1
81 #
82 # If xenbus is enabled, whether selfballooning or directed ballooning,
83 # place the result of 'cat /proc/vmstat" on xenbus at memory/vmstat
84 XENBALLOON_SEND_VMSTAT=1
86 ## Type: integer (0 or 1)
87 ## Default: 1
88 #
89 # If xenbus is enabled, whether selfballooning or directed ballooning,
90 # place the result of 'cat /proc/uptime" on xenbus at memory/uptime
91 XENBALLOON_SEND_UPTIME=1
93 ## Type: boolean
94 ## Default: false
95 #
96 # If tmem is running, pages swapped to a swap disk may instead go
97 # into preswap. These pages may become stale (i.e. no longer need
98 # to be saved because, e.g., the process owning them has gone away)
99 # and stale pages use precious precious domain-allocated memory.
100 # Periodically try to reduce preswap to squeeze out stale pages
101 XENBALLOON_PRESWAP_SHRINK=false
103 ## Type: string
104 ## Default: "/proc/sys/vm/preswap"
105 ## (change to /sys/proc/vm/preswap in later kernels)
106 #
107 # If tmem and preswap are running, reading this file gives the number of
108 # pages currently in preswap. Writing it with N invokes the preswap_shrink
109 # routine to reduce preswap to N pages.
110 XENBALLOON_PRESWAP_SYSFILE=/proc/sys/vm/preswap
112 ## Type: integer (must be > 0)
113 ## Default: 20
114 #
115 # If tmem and preswap are running, attempts to reduce number of pages
116 # currently in preswap. For a value of n, 1/n of the pages will
117 # be attempted to be shrunk.
118 # If xenbus is enabled, may be overridden by {memory/preswaphysteresis}
119 XENBALLOON_PRESWAP_HYSTERESIS=20
121 ## Type: integer (must be > 0)
122 ## Default: 10
123 #
124 # Number of ballooning intervals where preswap size remains at N pages
125 # before preswap shrinking is attempted. Also if shrinking fails to
126 # shrink to the target, counter resets to this value.
127 # If xenbus is enabled, may be overridden by {memory/preswapinertia}
128 XENBALLOON_PRESWAP_INERTIA=10
130 ## Type: integer (0 or 1)
131 ## Default: 1
132 #
133 # If xenbus is enabled, whether selfballooning or directed ballooning,
134 # place the size of preswap (in pages) on xenbus at memory/preswap
135 XENBALLOON_SEND_PRESWAP=1