mstar.utils.cpus#
How many CPUs this process can keep busy at once.
os.cpu_count() reports the host’s CPUs. In a container the cgroup CPU quota
can be far smaller, and a thread pool sized to the host then runs more threads
than the quota lets run, so a fork-join op waits on whichever thread the
scheduler parked.
Functions
|
The tightest cgroup v2 |
CPUs this process may run on (its affinity, else |