On 11/03/2013 03:12 PM, Russell Bryant wrote:
> On 11/01/2013 06:39 AM, Jiang, Yunhong wrote:
>> I noticed several filters (AggregateMultiTenancyIsoaltion, ram_filter, 
>> type_filter, AggregateInstanceExtraSpecsFilter) have DB access in the 
>> host_passes(). Some will even access for each invocation.
>>
>> Just curios if this is considered a performance issue? With a 10k nodes, 60 
>> VM per node, and 3 hours VM life cycle cloud, it will have more than 1 
>> million DB access per second. Not a small number IMHO.
> 
> On a somewhat related note, here's an idea that would be pretty easy to
> implement.
> 
> What if we added some optional metadata to scheduler filters to let them
> indicate where in the order of filters they should run?
> 
> The filters you're talking about here we would probably want to run
> last.  Other filters that could potentially efficiently eliminate a
> large number of hosts should be run first.
> 

https://review.openstack.org/55072

-- 
Russell Bryant

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to