Re: [openstack-dev] [Nova] bp proposal: filter based on the load averages of the host

2014-02-17 Thread sahid
yes I want to use the load average because it is based on more information than the cpu utilization. May be instead of to add a new field to hypervisor status I can create a new monitor or update the exiting one. - Original Message - From: yunhong jiang yunhong.ji...@linux.intel.com To:

Re: [openstack-dev] [Nova] bp proposal: filter based on the load averages of the host

2014-02-17 Thread sahid
I have implemented a new monitor based on the system load averages https://review.openstack.org/#/c/74014/1 What do you think? s. - Original Message - From: sahid sahid.ferdja...@cloudwatt.com To: OpenStack Development Mailing List (not for usage questions)

[openstack-dev] [Nova] bp proposal: filter based on the load averages of the host

2014-02-14 Thread sahid
Greetings, I would like to add a new filter based on the load averages. This filter will use the command uptime and will provides an option to choice a period between 1, 5, and 15 minutes and an option to choice the max load average (a float between 0 and 1). Why: During a scheduling it could

Re: [openstack-dev] [Nova] bp proposal: filter based on the load averages of the host

2014-02-14 Thread Eric Brown
This will probably not work for the vmware driver since it does not return a standard uptime string. Here's an example of what you would get: $ nova hypervisor-uptime 1 +-++ | Property| Value

Re: [openstack-dev] [Nova] bp proposal: filter based on the load averages of the host

2014-02-14 Thread yunhong jiang
On Fri, 2014-02-14 at 15:29 +, sahid wrote: Greetings, I would like to add a new filter based on the load averages. This filter will use the command uptime and will provides an option to choice a period between 1, 5, and 15 minutes and an option to choice the max load average (a