scheduler: schedulers reuse filter/weigher objects
Scheduler handling of filters/weighers is inefficient and forces them to be
recreated for every single request. This proposes a small change to move the
responsibility of filter/weigher initialization from handlers to schedulers
themself to let these objects be stored and reused.
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- Low
- Drafter:
- Hans Lindgren
- Direction:
- Approved
- Assignee:
- Hans Lindgren
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- 2015.1.0
- Started by
- Hans Lindgren
- Completed by
- Hans Lindgren
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Let schedulers reuse filter/weigher objects
This doesn't need a nova-spec for kilo, approving the blueprint --johnthetubaguy 19th November 2014
Addressed by: https:/
Cleanup and removal of unused code in scheduler unit tests
Addressed by: https:/
Pre-load default filters during scheduler initialization
Addressed by: https:/
Make scheduler filters/weighers only load once
Addressed by: https:/
Refactor unit tests for scheduler weights
Not enough positive reviews on this code for it to make kilo-1, moving to kilo-2 --johnthetubaguy 17th December 2014
Sorry, we have now hit the non-priority feature freeze for kilo. Please resubmit your spec for the L release. --johnthetubaguy 5th Feb 2015
Now that the one remaining change https:/