feat(config): enable PSI for guest memory pressure signals#9
Merged
Conversation
The ArcBox idle-balloon controller watches in-guest memory pressure via
the agent (arcbox PR #390). Today the agent samples MemAvailable and
workingset refault rates; with CONFIG_PSI the kernel exposes
/proc/pressure/{memory,cpu,io} and event triggers, letting the agent
upgrade to stall-based detection without contract changes.
Enabled on both architectures. PSI accounting overhead is negligible
for VM workloads (ChromeOS/Android ship it enabled); no
PSI_DEFAULT_DISABLED so it works without cmdline changes.
This was referenced Jul 15, 2026
AprilNEA
added a commit
to arcboxlabs/arcbox
that referenced
this pull request
Jul 15, 2026
Boot assets 0.6.2 ships kernel v0.0.17, which enables CONFIG_PSI (arcboxlabs/kernel#9): the guest now exposes /proc/pressure/* so the agent's balloon pressure watch can upgrade from meminfo/refault sampling to PSI triggers (arcbox #390 follow-up). Also in the rebuilt assets, from boot-assets' own pipeline: manifest now records the kernel release tag instead of 'latest', and the firecracker/jailer binaries advertised for sandboxes move 1.10.1 -> 1.16.1 (bookkeeping in manifest.binaries; arcbox's downloader does not consume that section - sandbox binaries are provisioned separately).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ArcBox idle-balloon controller watches in-guest memory pressure via the agent (arcboxlabs/arcbox#390). Today the agent samples
MemAvailableand workingset refault rates from/proc; withCONFIG_PSIthe kernel exposes/proc/pressure/{memory,cpu,io}and event triggers, letting the agent upgrade to stall-based detection (kernel-driven wakeups instead of 1s sampling) without any RPC contract change.Enabled on both architectures. PSI accounting overhead is negligible for VM workloads (ChromeOS/Android ship it enabled); no
PSI_DEFAULT_DISABLED, so it works without cmdline changes.Verified absent today: the 0.6.1 boot-asset kernel image contains no
psimon/avg10strings — the agent currently runs its/proc/meminfo+workingset_refaultfallback.