3 ms·
We usually use np = sysconf(_SC_NPROCESSORS_ONLN); However I'm interested in whether this is cgroups- (hence container-) aware or not. I'm not actually sur
by rwmj 6y ago
We usually use
np = sysconf(_SC_NPROCESSORS_ONLN);
However I'm interested in whether this is cgroups- (hence container-) aware or not. I'm not actually sure, and it will affect some of my software when running in a container.