Ask Your Question
0

What's the status about Instance Resource Quota now ?? [closed]

asked 2014-01-15 06:23:32 -0500

chen-li gravatar image

Hi list,

I find a page on wiki : https://wiki.openstack.org/wiki/Insta... It is said we can set CPU, disk IO and bandwidth consumption limit for instances

But the blueprint page returns error, while the patch is abandoned in early last year.

Anyone can help me to know the current status about this ?

I also get a fixed bug : https://bugs.launchpad.net/nova/+bug/... Looks like network bandwidth can be limited by flavor. Is there any guide can help me find out the operation steps ??

Thanks. -chen

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-05 08:42:40.776846

4 answers

Sort by ยป oldest newest most voted
0

answered 2014-01-16 01:20:59 -0500

chen-li gravatar image

Thanks, I will have a try later.

edit flag offensive delete link more
0

answered 2014-01-15 14:12:20 -0500

limao gravatar image

Hi chen,

I tested Network IO n Instance Resource Quota before, and here is the result and my config http://blog.csdn.net/matt_mao/article/details/15339729 (http://blog.csdn.net/matt_mao/article...)

For CPU IO and Disk IO, I have not tested them. Maybe need to double check the source code.

edit flag offensive delete link more
0

answered 2014-01-15 14:44:48 -0500

limao gravatar image

Hi Chen,

I check the source for Disk IO / CPU, it seems that we alread have the code for InstanceResourceQuota

Disk IO: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/imagebackend.py#L147-158 (https://github.com/openstack/nova/blo...) CPU: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L3012-3019 (https://github.com/openstack/nova/blo...)

I have not tested CPU and Disk IO, but I think the config is similar to network IO.

edit flag offensive delete link more
0

answered 2014-01-16 05:59:02 -0500

limao gravatar image

I test this feature in havana release. In summary, Instance Source Quota support the following thing now: CPU: quota:cpu_shares quota:cpu_period quota:cpu_quota

Network IO: quota:vif_inbound_average quota:vif_inbound_peak quota:vif_inbound_burst quota:vif_outbound_average quota:vif_outbound_peak quota:vif_outbound_burst

Disk IO: seems like qemu have bug now, when I boot VM ,I get some error.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-15 06:23:32 -0500

Seen: 237 times

Last updated: Jan 16 '14