|
In fact I m just comparing containers, I have no need yet for context switch, but I hope to understand why nspawn is slower and if there is something I can do to improve it, for example disabling spectre/meltdown mitigations improved nspawn a lot, so I was wondering if there is something else I can do to make nspawn as quick as podman/docker/qemu.
Mantas Mikulėnas |
I tested with Export SYSTEMD_SECCOMP=0
no improvement, I still get the same result
thank you,
badr
On Mon, Jan 25, 2021 at 1:40 PM Badr Elmers <badrelmers@xxxxxxxxx> wrote:
I tested with Export SYSTEMD_SECCOMP=0no improvement, I still get the same resultthank you,badrOn Mon, Jan 25, 2021 at 1:14 PM Mantas Mikulėnas <grawity@xxxxxxxxx> wrote:On Mon, Jan 25, 2021, 12:56 Badr Elmers <badrelmers@xxxxxxxxx> wrote:Hi,Whynspawn
is slow compared todocker
podman
and evenqemu
?!CPU tasks take twice of the time it takes in docker, podman or qemuhere I filled a request to improve nspawn performance which contain the steps and the full test result: https://github.com/systemd/systemd/issues/18370
Do you know why systemd-nspawn is slower? how can I improve it?
thank you
Have you tried completely *disabling* the syscall filtering and all other seccomp-based features? Export SYSTEMD_SECCOMP=0 before running nspawn and check if it makes any difference...
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel