google / nsjail

A lightweight process isolation tool that utilizes Linux namespaces, cgroups, rlimits and seccomp-bpf syscall filters, leveraging the Kafel BPF language for enhanced security.
https://nsjail.dev
Apache License 2.0
2.93k stars 275 forks source link

[Feature Request] Support for core scheduling in nsjail #198

Open sfc-gh-hyu opened 2 years ago

sfc-gh-hyu commented 2 years ago

https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.14-Core-Scheduling

Linux 5.14 add support for core scheduling. Is it possible to add support for core scheduling in nsjail? My usecase is that I potentially have multiple nsjail instances running concurrently and I don't want those two instances be scheduled on the same core for security reasons.