Currently, updateAllocation() called for a single-object Resources for a single framework on a single slave requires `(total number of frameworks) * (number of resource objects per this slave)^2` calls of `Resource::addable()`
In a cluster with a large number of frameworks this results in severe degradation of allocator performance when a bunch of RESERVE/UNRESERVE operations occurs for an agent with hundreds of unique resources.
On our testing cluster task we observed task scheduling delays up to 30 minutes due to allocator being occupied with processing UNRESERVE operations.
- is related to
MESOS-9942 Deprecate framework sorter.
- relates to
MESOS-10016 Add a benchmark for HierarchicalAllocatorProcess::updateAllocation()