Public bug reported: Performance improvement is possible by caching the values from the global CONF object that are repeatedly access, including CONF.scheduler_default_filters and CONF.scheduler_default_filters (see patch here: https://review.openstack.org/#/c/85594/3/nova/scheduler/host_manager.py) and CONF.scheduler_weight_classes.
Avoiding CONF lookups where possible is just good practice. ** Affects: nova Importance: Undecided Status: New ** Tags: low-hanging-fruit performance scheduler ** Tags added: low-hanging-fruit -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1303481 Title: nova.scheduler.host_manager should cache CONF values Status in OpenStack Compute (Nova): New Bug description: Performance improvement is possible by caching the values from the global CONF object that are repeatedly access, including CONF.scheduler_default_filters and CONF.scheduler_default_filters (see patch here: https://review.openstack.org/#/c/85594/3/nova/scheduler/host_manager.py) and CONF.scheduler_weight_classes. Avoiding CONF lookups where possible is just good practice. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1303481/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp