On 05/03/2012 12:05 PM, Lorin Hochstein wrote:
On May 3, 2012, at 4:46 AM, Yuriy Taraday wrote:

Just note that since Essex release Nova by default use fill-first cost
function, meaning that nodes with less free RAM will be preferred for
new instances.

Kind regards, Yuriy.


I thought the default behavior in essex was spread-first:

From:

https://github.com/openstack/nova/blob/stable/essex/nova/scheduler/least_cost.py#L41

cfg.FloatOpt('compute_fill_first_cost_fn_weight',
default=-1.0,
help='How much weight to give the fill-first cost function. '
'A negative value will reverse behavior: '
'e.g. spread-first'),
]

Hi Lorin!

The behaviour actually changed late in Essex:

https://github.com/openstack/nova/commit/d4d081ad4cb028f9f9d389e0d7d4af3873c94cb6

Best,
-jay

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to