Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.1, 3.0.0-alpha3
-
None
-
Reviewed
Description
There are several things in assignContainers() that are done multiple times even though the result cannot change (canAssignToUser, canAssignToQueue). Add some local caching to take advantage of this fact.
Will post patch shortly. Patch includes a simple throughput test that demonstrates when we have users at their user-limit, the number of NodeUpdateSchedulerEvents we can process can be improved from 13K/sec to 50K/sec.
Attachments
Attachments
Issue Links
- is duplicated by
-
YARN-6243 CapacityScheduler: canAssignToThisQueue should be called only when necessary
- Resolved