Linux cgroups(7) can limit cpu shares for a process (typically via Docker). Processes that use num_cpus, however, may be shown the number of CPUs available on the host OS and not the CPU shares as provided by cgroups.
I'm not 100% sure of the state of things, but we should build a small dockerized demo application to validate that CPU limits are reflected through num_cpus. If it's not cgroups-aware, we should make it so.
The text was updated successfully, but these errors were encountered: