[one-users] Limit Storage Bandwidth

Javier Fontan jfontan at opennebula.org
Tue May 13 05:24:56 PDT 2014


As I've told you I haven't used cgroups and io throttling. Using virsh
blkiotune is a nice interface to set those parameters per VM. There is
also blkdeviotune that you can use to adjust these parameters per
device. This could be applied with a hook or changing the deploy and
maybe migrate VMM scripts.

On Tue, May 13, 2014 at 12:10 PM, Rhesa Mahendra
<rhesa at lintasmediadanawa.com> wrote:
> Fontan, thanks for your reply, do you mean we can avoid network outage to
> throttle the IO ( read write disk to datastores ) ?use blkiotune do you
> mean?
>
> Rhesa.
>
>
>
> On 05/13/2014 04:55 PM, Javier Fontan wrote:
>>
>> OpenNebula currently allows setting CPU shares and max memory for
>> cgroups [1]. Even if block IO throttling is not directly supported I
>> think you can also use cgroups to throttle the IO. You can find more
>> info on libvirt support in its documentation [2] and info on cgroups
>> in RedHat's documentation [3].
>>
>> I don't have experience with cgroups but I think you can set a common
>> throttle configuration for all the VMs, set those parameters
>> individually using libvirt or use a custom hook on VM creation.
>>
>> [1]
>> http://docs.opennebula.org/4.6/administration/virtualization/kvmg.html#working-with-cgroups-optional
>> [2] http://libvirt.org/cgroups.html
>> [3]
>> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch-Subsystems_and_Tunable_Parameters.html
>>
>> On Tue, May 13, 2014 at 6:42 AM, Rhesa Mahendra
>> <rhesa at lintasmediadanawa.com> wrote:
>>>
>>> Guys,
>>>
>>> Could we limit bandwidth from VM read write into Datastores per second?
>>> for
>>> avoid network outage, thanks and please help
>>>
>>> Rhesa Mahendra.
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>



-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan


More information about the Users mailing list