grizzly: nova cpu, disk, vif quotas

Bug #1090654 reported by Tom Fifield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Anne Gentle

Bug Description

If merged https://review.openstack.org/#/c/14151 adds new functionality and options to nova: quotas on CPU resources for the KVM driver

   9 By setting the cpu_unit of an instance type in extra specs filed.
   10 cloud administrator can control the instance vcpu consumption ratio
   11 to psychical CPU.

defaults:
        cpu_quota = {'cpu_quota': 5000, 'cpu_period': 0}

Tags: nova
Revision history for this message
Tom Fifield (fifieldt) wrote :
Changed in openstack-manuals:
milestone: none → grizzly
tags: added: nova
Revision history for this message
Tom Fifield (fifieldt) wrote :

Old patch abandoned - likely permanently, now split into 4 patches:

new patch at : https://review.openstack.org/#/c/22106/

    Part 4 for blueprint quota-instance-resource, by setting cpu_shares,
    cpu_quota,cpu_period through nova flavor-set with admin credentials,
     the cloud admin can implement flexable policy on VM vcpu to physical
    CPU consumption ratio.

    for example:
    nova flavor-key m1.low_cpu set cpu_quota=10000
    nova flavor-key m1.low_cpu set cpu_period=20000
    the instance of m1.low_cpu can only has a max of 50% CPU consumption
    of a physical CPU computing capability.

Revision history for this message
Tom Fifield (fifieldt) wrote :

https://review.openstack.org/#/c/22105/ adds quota for disk IO:

"disk_read_bytes_sec, disk_read_iops_sec, disk_write_bytes_sec,
disk_write_iops_sec, disk_total_bytes_sec, disk_total_iops_sec"
through nova flavor-set, user can implement instance disk IO control
policy.
for example:
nova flavor-set m1.medium set disk_write_bytes_sec=10240000,
then the max disk write IO is 10MB/s for VM user.

https://review.openstack.org/#/c/22104/ adds support for vif IO:

"vif_inbound_average, vif_inbound_burst, vif_inbound_peak,
vif_outbound_average, vif_outbound_burst, vif_outbound_peak" through
nova flavor-set, user can implement instance net traffic control policy.
for example:
nova flavor-set m1.medium set vif_inbound_average=10240000,
then the max inbound speed is 10MB/s. The usecase details of other params
will be noted on openstack-manuals.

summary: - grizzly: nova cpu_quota
+ grizzly: nova cpu, disk, vif quotas
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Tom Fifield (fifieldt) wrote :

This should go into: ./doc/src/docbkx/openstack-config/compute-configure-quotas.xml

Changed in openstack-manuals:
status: Confirmed → Triaged
Revision history for this message
Tom Fifield (fifieldt) wrote :

and also in the admin user guide (how to set instructions)

Revision history for this message
Tom Fifield (fifieldt) wrote :

hmm - config-guide wise - maybe this is better in the hypervisor section, rather than the user quota section

Revision history for this message
Tom Fifield (fifieldt) wrote :

On second though - this is not something that needs to be configured by the deployer - it's on always, and just a matter of whether you use it or not.

It's a feature that can be taken advantage of when creating flavours, and should probably be documented there, with caveats about which hypervisors support it at current.

Anne Gentle (annegentle)
Changed in openstack-manuals:
assignee: nobody → Anne Gentle (annegentle)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/40278
Committed: http://github.com/openstack/openstack-manuals/commit/ccc2c8ea322a3d899f17e99791c57603777e22f4
Submitter: Jenkins
Branch: master

commit ccc2c8ea322a3d899f17e99791c57603777e22f4
Author: annegentle <email address hidden>
Date: Mon Aug 5 15:24:56 2013 -0500

    Adds info about CPU, disk, vif, bandwidth quotas on flavors.

    Fix bug 1090654
    Fix bug 1210248

    Change-Id: I63b962dc6c9caf23b412782f00e1fe5623be68f5

Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.