nova/nova
Hans Lindgren c126d36640 Make scheduler filters/weighers only load once
Right now, filters/weighers are instantiated on every invocation of the
scheduler. This is both time consuming and unnecessary. In cases where
a filter/weigher tries to be smart and store/cache something in between
invocations this actually prohibits that.

This change make base filter/weigher functions take objects instead of
classes and then let schedulers create objects only once and then reuse
them.

This fixes a known bug in trusted_filter that tries to cache things.

Related to blueprint scheduler-optimization

Change-Id: I3174ab7968b51c43c0711033bac5d4bc30938b95
Closes-Bug: #1223450
2014-12-09 18:58:49 +01:00
..
CA
api Merge "Adds global API version check for microversions" 2014-12-08 14:29:12 +00:00
cells Make scheduler filters/weighers only load once 2014-12-09 18:58:49 +01:00
cert Remove havana compat from nova.cert.rpcapi 2014-11-22 01:10:05 +00:00
cloudpipe Fixes potential reliablity issue with missing CONF import 2014-09-26 13:48:25 +09:30
cmd rename oslo.concurrency to oslo_concurrency 2014-12-06 23:30:05 +08:00
compute Merge "Add host field to ComputeNode" 2014-12-09 14:58:30 +00:00
conductor object-ify flavors manager side of the RPC 2014-12-04 18:59:53 +00:00
console rename oslo.concurrency to oslo_concurrency 2014-12-06 23:30:05 +08:00
consoleauth Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
db Merge "Add host field to ComputeNode" 2014-12-09 14:58:30 +00:00
hacking Replacement `_` on `_LW` in all LOG.warning part 4 2014-12-04 13:43:38 +02:00
image rename oslo.concurrency to oslo_concurrency 2014-12-06 23:30:05 +08:00
ipv6
keymgr Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
locale Imported Translations from Transifex 2014-12-04 06:16:12 +00:00
network Merge "rename oslo.concurrency to oslo_concurrency" 2014-12-08 22:40:45 +00:00
objects Merge "objects: introduce numa pages topology as an object" 2014-12-09 16:50:00 +00:00
objectstore
openstack Sync latest from oslo-incubator 2014-11-26 12:53:20 -05:00
pci Support macvtap for vif_type being hw_veb 2014-12-05 21:55:31 -05:00
rdp
scheduler Make scheduler filters/weighers only load once 2014-12-09 18:58:49 +01:00
servicegroup Merge "Indicate whether service is down for mc driver" 2014-12-05 16:05:45 +00:00
spice
storage rename oslo.concurrency to oslo_concurrency 2014-12-06 23:30:05 +08:00
tests Make scheduler filters/weighers only load once 2014-12-09 18:58:49 +01:00
virt objects: introduce numa pages topology as an object 2014-12-09 07:41:27 -05:00
vnc Deduplicate some INFO and AUDIT level messages 2014-11-13 15:25:40 +11:00
volume Merge "rename oslo.concurrency to oslo_concurrency" 2014-12-08 22:40:45 +00:00
__init__.py
availability_zones.py
baserpc.py Switch to nova's jsonutils in oslo.serialization 2014-10-14 11:35:05 +00:00
block_device.py Use oslo.utils 2014-10-06 21:41:17 -04:00
config.py Set logging level for glanceclient to WARN 2014-10-21 10:59:43 -04:00
context.py Prevent admin role leak in context.elevated 2014-11-24 22:58:05 +00:00
crypto.py rename oslo.concurrency to oslo_concurrency 2014-12-06 23:30:05 +08:00
debugger.py Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
exception.py Libvirt: Fsfreeze during live-snapshot of qemu/kvm instances 2014-12-08 12:18:15 -05:00
filters.py Make scheduler filters/weighers only load once 2014-12-09 18:58:49 +01:00
hooks.py Update hooks from oslo-incubator copy 2014-10-28 01:24:31 +00:00
i18n.py Remove unused modules copied from oslo-incubator 2014-10-15 01:28:42 +00:00
loadables.py Use oslo.utils 2014-10-06 21:41:17 -04:00
manager.py
netconf.py Specify storage IP for iscsi connector 2014-11-13 11:06:11 -06:00
notifications.py Merge "Make notifications use Instance.get_flavor()" 2014-11-24 06:43:30 +00:00
paths.py
policy.py
quota.py Replacement `_` on `_LE` in all LOG.exception 2014-11-20 11:19:09 +02:00
rpc.py Switch to nova's jsonutils in oslo.serialization 2014-10-14 11:35:05 +00:00
safe_utils.py
service.py rename oslo.concurrency to oslo_concurrency 2014-12-06 23:30:05 +08:00
test.py rename oslo.concurrency to oslo_concurrency 2014-12-06 23:30:05 +08:00
utils.py Merge "rename oslo.concurrency to oslo_concurrency" 2014-12-08 22:40:45 +00:00
version.py Replacement `_` on `_LE` in all LOG.error 2014-10-21 06:40:05 +00:00
weights.py Make scheduler filters/weighers only load once 2014-12-09 18:58:49 +01:00
wsgi.py Merge "Eventlet green threads not released back to pool" 2014-12-02 13:04:26 +00:00