[Openstack] [nova] opportunistic and energy efficient cloud
Steve Gordon
sgordon at redhat.com
Tue Mar 4 02:44:28 UTC 2014
----- Original Message -----
> Hi everyone,
>
> I'm currently taking part of a project at the Federal University of Campina
> Grande called fogbow, which aims on providing an energy efficient scheduler
> and an opportunistic compute node (which deactivates the service if the
> host isn't idle) on top of openstack.
Hi Marcos,
This sounds like an interesting idea - have you had a look at the way this functionality is implemented in the oVirt (http://ovirt.org) scheduler [1] in case there are any ideas there that could be leveraged? I believe the determination there is also made by examining pCPU load (albeit with some additional computations applied) though it does not use powernap.
> Regarding the opportunistic aspect of the project, we're planning on using
> powernap (http://manpages.ubuntu.com/manpages/lucid/man8/powernap.8.html)
> to tell if the host is idle or not.
>
> Finally, my question is: what do you guys think would be the best way for a
> powernap action script to interact with nova-compute in order to stop all
> running instances and disable the host?
If I understand correctly your suggestion here is that the powernap action script would run when powernapd on the host has determined it to be at low CPU usage at which point it would stop the instances and disable/poweroff the host, rather than having one of the other nova components monitor the load and initiate the required action?
> Would killing and respawning the nova-compute be an elegant way of doing
> that in your opinion? Or do RPC calls sound better?
Is the desire necessarily to *stop* all instances, or evacuate/migrate them to another host so that you can consolidate instances on a subset of your compute hosts and either power the remainder down and/or disable the compute service on them? Another consideration here might be how much available pCPU you want to keep as a buffer in case of a burst in instance activity (probably something to make configurable?)?
Thanks,
Steve
[1] http://www.ovirt.org/Features/oVirtSchedulerAPI#Balance
More information about the Openstack
mailing list