We are using Mesos to run Windows payload. As I see, CPU utilization on the slave nodes is not very good. Because of the hard cap limit, process cannot use more CPU resources even if there are a lot of free CPU resources at the moment (e.g. only one task is started on the node at the moment).
I know, the reason of such behavior is JOB_OBJECT_CPU_RATE_CONTROL_HARD_CAP control flag of the Job Object.
But what about ability to use JOB_OBJECT_CPU_RATE_CONTROL_MIN_MAX_RATE control flag, where MinRate will be limit specified in Task config while MaxRate will be 100%CPU. This option will work the same way as cgroups/cpu and add more elasticity.