Skip to content

Commit 943dfde

Browse files
committed
docs: Update documentation for huge pages and balloon
Update docs to reflect that now huge pages can be used alongside the traditional balloon device. However, note the caveat that memory may not be reclaimed from the guest. Signed-off-by: Jack Thomson <[email protected]>
1 parent 8166e7f commit 943dfde

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/hugepages.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ described in our documentation on
3333

3434
## Known Limitations
3535

36-
Currently, hugetlbfs support is mutually exclusive with the following
37-
Firecracker features:
38-
39-
- Memory Ballooning via the [Balloon Device](./ballooning.md)
40-
41-
Furthermore, enabling dirty page tracking for hugepage memory negates the
42-
performance benefits of using huge pages. This is because KVM will
43-
unconditionally establish guest page tables at 4K granularity if dirty page
44-
tracking is enabled, even if the host users huge mappings.
36+
Enabling dirty page tracking for hugepage memory negates the performance
37+
benefits of using huge pages. This is because KVM will unconditionally establish
38+
guest page tables at 4K granularity if dirty page tracking is enabled, even if
39+
the host users huge mappings.
40+
41+
The traditional balloon device reports free pages at 4k granularity, this means
42+
the device is unable to reclaim the hugepage backing of the guest and drop RSS.
43+
However, the balloon can still be inflated and used to restrict memory usage in
44+
the guest.
4545

4646
## FAQ
4747

0 commit comments

Comments
 (0)