Skip to content

LinuxContainer: Give 1 vcpu of overhead for guest#684

Merged
dcantah merged 1 commit intoapple:mainfrom
dcantah:vp-overhead
Apr 14, 2026
Merged

LinuxContainer: Give 1 vcpu of overhead for guest#684
dcantah merged 1 commit intoapple:mainfrom
dcantah:vp-overhead

Conversation

@dcantah
Copy link
Copy Markdown
Member

@dcantah dcantah commented Apr 14, 2026

We should've done this likely awhile ago, but today the cgroup core restrictions we place on the container matches the amount of cores the guest has. This means under high cpu load vminitd may respond to rpcs a tad slower than we'd like. We should give some overhead to the guest so vminitd has an extra core to play with. Ideally in the future these values should be configurable.

We should've done this likely awhile ago, but today the cgroup
core restrictions we place on the container matches the amount
of cores the guest has. This means under high cpu load vminitd
may respond to rpcs a tad slower than we'd like. We should give
some overhead to the guest so vminitd has an extra core to play
with. Ideally in the future these values should be configurable.
@dcantah dcantah merged commit 47518e0 into apple:main Apr 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants