Skip to content

Commit a488b43

Browse files
committed
docs: Update documentation on balloon device
Add notes around known limitations of the balloon device Signed-off-by: Jack Thomson <[email protected]>
1 parent 94826a8 commit a488b43

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/ballooning.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,3 +263,15 @@ cannot be enabled later by providing a `polling_interval` non-zero value.
263263
Furthermore, if the balloon was configured with statistics pre-boot through a
264264
non-zero `stats_polling_interval_s` value, the statistics cannot be disabled
265265
through a `polling_interval` value of zero post-boot.
266+
267+
## Notes
268+
269+
- Firecracker has no control around the speed of inflation or deflation, this is
270+
dictated by the guest kernel. As a result, if the balloon is left inflated the
271+
host could see serverly affected performance, it is therefore recommended to
272+
only have the balloon inflated for shorter periods of time to reclaim memory.
273+
274+
- The `deflate_on_oom` flag which allows the balloon to deflate in an out of
275+
memory scenario, if it has yet to reach its target size will continue to try
276+
and inflate even after releasing memory. This can lead to high CPU usage with
277+
a high allocations and deallocations.

0 commit comments

Comments
 (0)