From: Don Zickus on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2370#note_1319106161 @mh21 - the man pages say nproc returns the number of cpus for the _process_ which works well for containers. Contrast this with /proc/cpuinfo which gives all available cpus. This article showed a good example https://www.flamingspork.com/blog/2020/11/25/why-you-should-use-nproc-and-not- grep-proc-cpuinfo/ Are you seeing something different? this works correctly for me instead of 8 cpus, i see 3. sudo podman run --cpuset-cpus=0-2 --rm -ti quay.io/cki/builder-eln:production nproc _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue