Re: [Openstack] [Nova] CPU Scalling, Quota for Disk I/O

2013-07-12 Thread Ray Sun
T
here's something wrong this document. Seems the name is different from them
in the code.
The real name is:
tune_items = ['disk_read_bytes_sec', 'disk_read_iops_sec',



   'disk_write_bytes_sec', 'disk_write_iops_sec',
 'disk_total_bytes_sec', 'disk_total_iops_sec']

But seems disk related parameters only works under qemu 1.1+. By default,
Ubuntu 12.04 only install qemu 1.0.


Best Regards
-- Ray


On Wed, Jul 10, 2013 at 9:13 PM, Yaguang Tang heut2...@gmail.com wrote:

 Here is a wiki  about this feature,
 https://wiki.openstack.org/wiki/InstanceResourceQuota
 you can set CPU, disk IO consume policy, network traffic bandwidth for
 specified flavor. so the instance of that flavor can only consume under
 controlled physical resource.

  https://wiki.openstack.org/wiki/InstanceResourceQuota
 2013/7/10 Shake Chen shake.c...@gmail.com

 https://blueprints.launchpad.net/nova/+spec/quota-instance-resource

 In my view the instance recourse  like cpu, network, disk io quota
 feature have in Grizzly. we just need to add the feature to Horizon.


 On Wed, Jul 10, 2013 at 3:53 AM, Bruno Oliveira ~lychinus 
 brunnop.olive...@gmail.com wrote:

 Hello, any thoughts on this ?

 Thank you
 --

 Bruno Oliveira
 Developer, Software Engineer
 irc: lychinus | skype: brunnop.oliveira
 brunnop.olive...@gmail.com





 On Mon, Jul 1, 2013 at 4:22 PM, Bruno Oliveira ~lychinus
 brunnop.olive...@gmail.com wrote:
  Hello Stackers,
 
  Today morning I saw an interesting question regarding CPU Scaling
  in the list, which got me to ask the following:
 
  Currently (or in the roadmap) do we have any feature on Nova
  (regardless of the hypervisor underneath) to set maximum disk I/O
  throughput a VM can have ?
 
  I mean, let's say we have hundreds of VMs under the same host as
  in production, and for some reason we're lacking performance due to
  one (or a few of them) being too hungry/greedy for disk reads/writes.
 
  Question 1) Is there a way we can set quotas for disk I/O for a (group
 of)
  instances ? Like: for this one (or this group), don't exceed the
 threshold
  of 50 MB/seg
 
  Question 2) Also, do we have anything like vertical scalling ?
  I mean, like defining CPU and Memory Balloons as extra resources
  that a set of VMs can make use of (temporarily), if they're demanding
 to ?
 
  Note: I've seen some of the videos of Heat talking about increasing
  horizontally  the number of instances behind a load balancer to attend
  an increasing number of user requests, for instances...
 
  Thank you so much.
 
  --
 
  Bruno Oliveira
  Developer, Software Engineer
  irc: lychinus | skype: brunnop.oliveira
  brunnop.olive...@gmail.com

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




 --
 Shake Chen


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




 --
 Tang Yaguang

 Canonical Ltd. | www.ubuntu.com | www.canonical.com
 Mobile:  +86 152 1094 6968
 gpg key: 0x187F664F


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Nova] CPU Scalling, Quota for Disk I/O

2013-07-10 Thread Yaguang Tang
Here is a wiki  about this feature,
https://wiki.openstack.org/wiki/InstanceResourceQuota
you can set CPU, disk IO consume policy, network traffic bandwidth for
specified flavor. so the instance of that flavor can only consume under
controlled physical resource.
https://wiki.openstack.org/wiki/InstanceResourceQuota
2013/7/10 Shake Chen shake.c...@gmail.com

 https://blueprints.launchpad.net/nova/+spec/quota-instance-resource

 In my view the instance recourse  like cpu, network, disk io quota feature
 have in Grizzly. we just need to add the feature to Horizon.


 On Wed, Jul 10, 2013 at 3:53 AM, Bruno Oliveira ~lychinus 
 brunnop.olive...@gmail.com wrote:

 Hello, any thoughts on this ?

 Thank you
 --

 Bruno Oliveira
 Developer, Software Engineer
 irc: lychinus | skype: brunnop.oliveira
 brunnop.olive...@gmail.com





 On Mon, Jul 1, 2013 at 4:22 PM, Bruno Oliveira ~lychinus
 brunnop.olive...@gmail.com wrote:
  Hello Stackers,
 
  Today morning I saw an interesting question regarding CPU Scaling
  in the list, which got me to ask the following:
 
  Currently (or in the roadmap) do we have any feature on Nova
  (regardless of the hypervisor underneath) to set maximum disk I/O
  throughput a VM can have ?
 
  I mean, let's say we have hundreds of VMs under the same host as
  in production, and for some reason we're lacking performance due to
  one (or a few of them) being too hungry/greedy for disk reads/writes.
 
  Question 1) Is there a way we can set quotas for disk I/O for a (group
 of)
  instances ? Like: for this one (or this group), don't exceed the
 threshold
  of 50 MB/seg
 
  Question 2) Also, do we have anything like vertical scalling ?
  I mean, like defining CPU and Memory Balloons as extra resources
  that a set of VMs can make use of (temporarily), if they're demanding
 to ?
 
  Note: I've seen some of the videos of Heat talking about increasing
  horizontally  the number of instances behind a load balancer to attend
  an increasing number of user requests, for instances...
 
  Thank you so much.
 
  --
 
  Bruno Oliveira
  Developer, Software Engineer
  irc: lychinus | skype: brunnop.oliveira
  brunnop.olive...@gmail.com

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




 --
 Shake Chen


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 
Tang Yaguang

Canonical Ltd. | www.ubuntu.com | www.canonical.com
Mobile:  +86 152 1094 6968
gpg key: 0x187F664F
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Nova] CPU Scalling, Quota for Disk I/O

2013-07-09 Thread Bruno Oliveira ~lychinus
Hello, any thoughts on this ?

Thank you
--

Bruno Oliveira
Developer, Software Engineer
irc: lychinus | skype: brunnop.oliveira
brunnop.olive...@gmail.com





On Mon, Jul 1, 2013 at 4:22 PM, Bruno Oliveira ~lychinus
brunnop.olive...@gmail.com wrote:
 Hello Stackers,

 Today morning I saw an interesting question regarding CPU Scaling
 in the list, which got me to ask the following:

 Currently (or in the roadmap) do we have any feature on Nova
 (regardless of the hypervisor underneath) to set maximum disk I/O
 throughput a VM can have ?

 I mean, let's say we have hundreds of VMs under the same host as
 in production, and for some reason we're lacking performance due to
 one (or a few of them) being too hungry/greedy for disk reads/writes.

 Question 1) Is there a way we can set quotas for disk I/O for a (group of)
 instances ? Like: for this one (or this group), don't exceed the threshold
 of 50 MB/seg

 Question 2) Also, do we have anything like vertical scalling ?
 I mean, like defining CPU and Memory Balloons as extra resources
 that a set of VMs can make use of (temporarily), if they're demanding to ?

 Note: I've seen some of the videos of Heat talking about increasing
 horizontally  the number of instances behind a load balancer to attend
 an increasing number of user requests, for instances...

 Thank you so much.

 --

 Bruno Oliveira
 Developer, Software Engineer
 irc: lychinus | skype: brunnop.oliveira
 brunnop.olive...@gmail.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Nova] CPU Scalling, Quota for Disk I/O

2013-07-09 Thread Shake Chen
https://blueprints.launchpad.net/nova/+spec/quota-instance-resource

In my view the instance recourse  like cpu, network, disk io quota feature
have in Grizzly. we just need to add the feature to Horizon.


On Wed, Jul 10, 2013 at 3:53 AM, Bruno Oliveira ~lychinus 
brunnop.olive...@gmail.com wrote:

 Hello, any thoughts on this ?

 Thank you
 --

 Bruno Oliveira
 Developer, Software Engineer
 irc: lychinus | skype: brunnop.oliveira
 brunnop.olive...@gmail.com





 On Mon, Jul 1, 2013 at 4:22 PM, Bruno Oliveira ~lychinus
 brunnop.olive...@gmail.com wrote:
  Hello Stackers,
 
  Today morning I saw an interesting question regarding CPU Scaling
  in the list, which got me to ask the following:
 
  Currently (or in the roadmap) do we have any feature on Nova
  (regardless of the hypervisor underneath) to set maximum disk I/O
  throughput a VM can have ?
 
  I mean, let's say we have hundreds of VMs under the same host as
  in production, and for some reason we're lacking performance due to
  one (or a few of them) being too hungry/greedy for disk reads/writes.
 
  Question 1) Is there a way we can set quotas for disk I/O for a (group
 of)
  instances ? Like: for this one (or this group), don't exceed the
 threshold
  of 50 MB/seg
 
  Question 2) Also, do we have anything like vertical scalling ?
  I mean, like defining CPU and Memory Balloons as extra resources
  that a set of VMs can make use of (temporarily), if they're demanding to
 ?
 
  Note: I've seen some of the videos of Heat talking about increasing
  horizontally  the number of instances behind a load balancer to attend
  an increasing number of user requests, for instances...
 
  Thank you so much.
 
  --
 
  Bruno Oliveira
  Developer, Software Engineer
  irc: lychinus | skype: brunnop.oliveira
  brunnop.olive...@gmail.com

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 
Shake Chen
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp