Currently we give a small amount of resources to the command executor, in addition to resources used by the command task:
const FrameworkID& frameworkId,
const TaskInfo& task)
"cpus:" + stringify(DEFAULT_EXECUTOR_CPUS) + ";" +
"mem:" + stringify(DEFAULT_EXECUTOR_MEM.megabytes())).get());
This leads to an overcommit of the slave. Ideally, for command tasks we can "transfer" all of the task resources to the executor at the slave / isolation level.