vminitd: Lower nio event loop group threads to 1 (#677)

This commit is contained in:
Danny Canter authored and GitHub committed 2026-04-10 10:47:22 -07:00
1 parent 250546f185
commit ceee3a67ba
2 files changed
+5 -5

No files matched your search

@@ -524,9 +524,9 @@ extension LinuxContainer {
// Calculate VM memory with overhead for the guest agent.
// The container cgroup limit stays at the requested memory, but the VM
// gets an additional 50MB for the guest agent (could be higher, could be lower
// but this is a decent baseline for now).
let guestAgentOverhead: UInt64 = 50.mib()
// gets an additional 75MiB for the guest agent (could be higher, could
// be lower but this is a decent baseline for now).
let guestAgentOverhead: UInt64 = 75.mib()
let mib: UInt64 = 1.mib()
let vmMemory = (self.memoryInBytes + guestAgentOverhead + mib - 1) & ~(mib - 1)