systeminit / si

The System Initiative software
https://systeminit.com
Apache License 2.0
955 stars 67 forks source link

[WIP]feat: tune firecracker memory and include swap #4508

Closed sprutton1 closed 1 week ago

sprutton1 commented 2 weeks ago

This halves the memory available to firecracker jails (512M -> 256M) and enables a 512M swap. It also reduces the number of processors available.

Fun swap facts.

The goal here is to allow for a greater total density of active jails at the potential cost of function performance. Testing locally, we do handle low memory situations well in this setup (within reason, there's always a ceiling).

NOTE: I removed ssh from the rootfs. We never finished setting it up and it's one fewer things running in the VM now.

More testing is required to see if this does allow us to manage larger pools.