File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -524,9 +524,9 @@ extension LinuxContainer {
524524
525525 // Calculate VM memory with overhead for the guest agent.
526526 // The container cgroup limit stays at the requested memory, but the VM
527- // gets an additional 50MB for the guest agent (could be higher, could be lower
528- // but this is a decent baseline for now).
529- let guestAgentOverhead : UInt64 = 50 . mib ( )
527+ // gets an additional 75MiB for the guest agent (could be higher, could
528+ // be lower but this is a decent baseline for now).
529+ let guestAgentOverhead : UInt64 = 75 . mib ( )
530530 let mib : UInt64 = 1 . mib ( )
531531 let vmMemory = ( self . memoryInBytes + guestAgentOverhead + mib - 1 ) & ~ ( mib - 1 )
532532
Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ struct AgentCommand: AsyncParsableCommand {
150150 }
151151 t. start ( )
152152
153- let eg = MultiThreadedEventLoopGroup ( numberOfThreads: System . coreCount )
154- let blockingPool = NIOThreadPool ( numberOfThreads: System . coreCount )
153+ let eg = MultiThreadedEventLoopGroup ( numberOfThreads: 1 )
154+ let blockingPool = NIOThreadPool ( numberOfThreads: 2 )
155155 blockingPool. start ( )
156156 let server = Initd ( log: log, group: eg, blockingPool: blockingPool)
157157
You can’t perform that action at this time.
0 commit comments