Replies: 2 comments 2 replies
-
I'd say try and measure it! 10 jails should use more ram than 1 jail but I don't think it will be a big impact. |
Beta Was this translation helpful? Give feedback.
-
tl;dr: Running 10 apps in separate namespaces should be very close to running those 10 apps in the same namespace, even if you introduce resource limiting, those limits would be per namespace, but they are not allocations (like a VM needs). These are not VMs, they share the resources of the host OS. Keep in mind that systemd-nspawn is another interface to cgroups like Docker and podman. From this (very good) blog post:
|
Beta Was this translation helpful? Give feedback.
-
How do resources work here? If i wanted to create 10 jails, how much ram would be used compared to the 10 apps on the one jail?
Beta Was this translation helpful? Give feedback.
All reactions