The Container Throttling Problem
danluu.com
danluu.com
Bursting is good. You are using resources that would otherwise be idle. It sounds here like the scheduler is punishing the task for the scheduler's mistake. CFS is ensuring that the job gets N cores on average what you actually want is the scheduler to ensure that the job gets N cores minimum.
So while having too many threads laying around is slight unnecessary pressure on the scheduler and wasted memory I don't think it should be causing these huge latency spikes.
(So be careful not to assume this problem is specific to Java, the JVM, Mesos, or Twitter's environment)