[openstack-dev] [nova][scheduler]The database access in the scheduler filters

Chris Friesen chris.friesen at windriver.com
Fri Nov 1 18:10:52 UTC 2013


On 11/01/2013 11:42 AM, Jiang, Yunhong wrote:
> Shawn, yes, there is 56 VM access every second, and for each VM
> access, the scheduler will invoke filter for each host, that means,
> for each VM access, the filter function will be invoked 10k times. So
> 56 * 10k = 560k, yes, half of 1M, but still big number.


I'm fairly new to openstack so I may have missed earlier discussions, 
but has anyone looked at building a scheduler filter that would use 
database queries over sets of hosts rather rather than looping over each 
host and doing the logic in python?  Seems like that would be a lot more 
efficient...

Chris




More information about the OpenStack-dev mailing list