mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #329] [MERGED] feat(sandbox): request free-page reporting order 6 and add tuning guide #352
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#352
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/329
Author: @LSX-s-Software
Created: 9/30/2026
Status: ✅ Merged
Merged: 9/30/2026
Merged by: @yingdi-shan
Base:
main← Head:feat/fpr📝 Commits (1)
1701d09feat(sandbox): set free-page reporting order and add tuning guide📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
config/default.toml(+1 -1)📝
docs/src/configuration/reference.md(+1 -1)📄 Description
What
Add
page_reporting.page_reporting_order=6to the shipped Firecracker boot arguments. With 4 KiB guest pages, order 6 allows reporting free blocks starting at 256 KiB on kernels that honor the boot parameter.Why
The usual order 9 threshold leaves smaller free blocks unreported. Users need a way to tune the memory/CPU tradeoff and distinguish a command-line setting from the effective runtime value.
Scope and non-goals
Update the shipped TOML configuration. No Rust implementation, guest kernel, generated API, or automatic runtime sysfs write changes.
Compatibility and operations
boot_argsnow requests order 6. The Rust fallback boot arguments are unchanged. The default KVM guest kernel, 6.1.175, overrides this value during balloon registration, so users must write sysfs after guest readiness or supply a kernel containing the upstream fix. Linux 6.2+ honors the explicit parameter; the default PVM guest kernel is 6.12.33.Validation
make fmtmake clippymake test-unitmake -C services test(required whenservices/changes)maketargetCommands and results:
Skipped checks and reasons: Rust, Go, and code-generation checks were not run because this change only touches configuration and documentation. No new VM validation or performance comparison was run for this PR.
Risks and reviewer notes
Lower reporting orders may reduce retained host memory at the cost of additional guest/VMM CPU work; no measured improvement is claimed. The configured order 6 is not the effective default on the bundled KVM 6.1.175 kernel. Review the kernel-compatibility section together with
config/default.toml.Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.