Skip to content

smp: use cgroup CPU limits for appliance SMP#148

Open
ssahani wants to merge 1 commit intolibguestfs:masterfrom
ssahani:RHEL-152766
Open

smp: use cgroup CPU limits for appliance SMP#148
ssahani wants to merge 1 commit intolibguestfs:masterfrom
ssahani:RHEL-152766

Conversation

@ssahani
Copy link
Copy Markdown
Contributor

@ssahani ssahani commented Mar 27, 2026

Use Sysconf.nr_cpus_available instead of nr_processors_online to respect container cgroup CPU limits when setting SMP.

Resolves: https://redhat.atlassian.net/browse/RHEL-152766

related to libguestfs/libguestfs-common#36

Use Sysconf.nr_cpus_available instead of nr_processors_online
to respect container cgroup CPU limits when setting SMP.

Resolves: https://redhat.atlassian.net/browse/RHEL-152766
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant