File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -263,3 +263,17 @@ cannot be enabled later by providing a `polling_interval` non-zero value.
263263Furthermore, if the balloon was configured with statistics pre-boot through a
264264non-zero ` stats_polling_interval_s ` value, the statistics cannot be disabled
265265through a ` polling_interval ` value of zero post-boot.
266+
267+ ## Balloon Caveats
268+
269+ - Firecracker has no control over the speed of inflation or deflation; this is dictated by the guest kernel driver.
270+
271+ - The balloon will continually attempt to reach its target size, which can be a CPU-intensive process. It is therefore
272+ recommended to set realistic targets or, after a period of stagnation in the inflation, update the target size
273+ to be close to the inflated size.
274+
275+ - The ` deflate_on_oom ` flag is a mechanism to prevent the guest from crashing or terminating processes; it is not
276+ meant to be used continually to free memory. Doing this will be a CPU-intensive process, as the balloon driver is
277+ designed to release memory slowly. This is also compounded if the balloon has yet to reach its target size, as it will
278+ attempt to inflate while also deflating.
279+
You can’t perform that action at this time.
0 commit comments