Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Warning: No cpuset Support Detected #78

Open
byteshiva opened this issue Apr 2, 2024 · 0 comments
Open

Docker Warning: No cpuset Support Detected #78

byteshiva opened this issue Apr 2, 2024 · 0 comments

Comments

@byteshiva
Copy link

byteshiva commented Apr 2, 2024

Description:
When running docker info | grep cgroupos, a warning is displayed indicating the absence of cpuset support:

WARNING: No cpuset support

Upon further investigation, it seems that cgroup2 is mounted:

mount | grep cgroup2
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)

Furthermore, examining the content of /proc/cgroups, it shows that cpuset is enabled:


| subsys_name | hierarchy | num_cgroups | enabled |
|-------------|-----------|-------------|---------|
| cpuset      | 0         | 112         | 1       |
| cpu         | 0         | 112         | 1       |
| cpuacct     | 0         | 112         | 1       |
| blkio       | 0         | 112         | 1       |
| memory      | 0         | 112         | 1       |
| devices     | 0         | 112         | 1       |
| freezer     | 0         | 112         | 1       |
| net_cls     | 0         | 112         | 1       |
| perf_event  | 0         | 112         | 1       |
| net_prio    | 0         | 112         | 1       |
| hugetlb     | 0         | 112         | 1       |
| pids        | 0         | 112         | 1       |
| rdma        | 0         | 112         | 1       |
| misc        | 0         | 112         | 1       |
| debug       | 0         | 112         | 1       |

This table provides a clear overview of the subsystem names, hierarchy, number of cgroups, and whether they are enabled.

Despite cpuset being enabled in the cgroups hierarchy, Docker still reports the absence of cpuset support.

This discrepancy raises concerns about Docker's performance and behavior, especially for containers relying on cpuset functionalities.

Could you please advise on how to resolve this inconsistency and ensure optimal Docker performance in this environment?

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

No branches or pull requests

1 participant