[openstack-dev] Custom Nova scheduler based on CPU queue length

Rahul Nair rahulunair at gmail.com
Wed Oct 21 01:53:09 UTC 2015


​Hi All,

I am fairly new to the OpenStack community and is trying to create a custom
scheduler for Nova. A scheduler based on CPU queue length. Kindly apologize
if there are any inaccuracies in my statements.

As I understand a weigher for the filter scheduler that weighs filtered
host machines based on the host weight option, 'cpu.percent' can be
configured to prioritize the hosts based on CPU percentage, but there are
only limited options when it comes to filtering of machines in the first
place, that too using the CPU queue length.

Also, I understand that IBM has its platform resource scheduler that can be
used to build custom plugins to get user defined metrics, is there a
similar way in pure Openstack which can be used to get the CPU queue length.

As of now, I am thinking of writing a custom script to be kept in all
compute nodes to retrieve the CPU queue length and send it to the Nova
controller, is this the way to go, or is there a defined approach that I
can follow to implement a scheduler that uses CPU queue length to filter
physical machines.

Any pointers on this would be really helpful.

Regards,
Rahul U Nair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151020/f4332ff6/attachment.html>


More information about the OpenStack-dev mailing list