Re: [ceph-users] IO rate-limiting with Ceph RBD (and libvirt)

2018-03-23 Thread Luis Periquito
On Fri, Mar 23, 2018 at 4:05 AM, Anthony D'Atri  wrote:
> FYI: I/O limiting in combination with OpenStack 10/12 + Ceph doesn?t work
> properly. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1476830
>
>
> That's an OpenStack bug, nothing to do with Ceph.  Nothing stops you from
> using virsh to throttle directly:
>
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_tuning_and_optimization_guide/sect-virtualization_tuning_optimization_guide-blockio-techniques
>
> https://github.com/cernceph/ceph-scripts/blob/master/tools/virsh-throttle-rbd.py
>

Actually it's not even an OpenStack bug, it's a misunderstanding on
how volume limits work: the flavour will set the limits to the
instances when running from image, but the reporter is running from
volumes, so the limits have to be set with cinder volume types...

>
>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] IO rate-limiting with Ceph RBD (and libvirt)

2018-03-22 Thread Anthony D'Atri
> FYI: I/O limiting in combination with OpenStack 10/12 + Ceph doesn?t work 
> properly. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1476830 
> 

That's an OpenStack bug, nothing to do with Ceph.  Nothing stops you from using 
virsh to throttle directly:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_tuning_and_optimization_guide/sect-virtualization_tuning_optimization_guide-blockio-techniques
 


https://github.com/cernceph/ceph-scripts/blob/master/tools/virsh-throttle-rbd.py
 



___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] IO rate-limiting with Ceph RBD (and libvirt)

2018-03-22 Thread Sinan Polat
FYI: I/O limiting in combination with OpenStack 10/12 + Ceph doesn’t work 
properly. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1476830

> Op 22 mrt. 2018 om 07:59 heeft Wido den Hollander  het 
> volgende geschreven:
> 
> 
> 
>> On 03/21/2018 06:48 PM, Andre Goree wrote:
>> I'm trying to determine the best way to go about configuring IO
>> rate-limiting for individual images within an RBD pool.
>> 
>> Here [1], I've found that OpenStack appears to use Libvirt's "iotune"
>> parameter, however I seem to recall reading about being able to do so
>> via Ceph's settings.
>> 
>> Is there a place in Ceph to set IO limits on individual images within an
>> RBD pool?  Thanks in advance for the advice.
> 
> No, there is not. Right now you will need to limit this through
> libvirt/Qemu indeed.
> 
> People are thinking about a QoS mechanism inside the OSDs, but that's
> not there yet, so don't count on it.
> 
> Wido
> 
>> 
>> [1] https://ceph.com/geen-categorie/openstack-ceph-rbd-and-qos/
>> 
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] IO rate-limiting with Ceph RBD (and libvirt)

2018-03-22 Thread Wido den Hollander


On 03/21/2018 06:48 PM, Andre Goree wrote:
> I'm trying to determine the best way to go about configuring IO
> rate-limiting for individual images within an RBD pool.
> 
> Here [1], I've found that OpenStack appears to use Libvirt's "iotune"
> parameter, however I seem to recall reading about being able to do so
> via Ceph's settings.
> 
> Is there a place in Ceph to set IO limits on individual images within an
> RBD pool?  Thanks in advance for the advice.

No, there is not. Right now you will need to limit this through
libvirt/Qemu indeed.

People are thinking about a QoS mechanism inside the OSDs, but that's
not there yet, so don't count on it.

Wido

> 
> [1] https://ceph.com/geen-categorie/openstack-ceph-rbd-and-qos/
> 
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] IO rate-limiting with Ceph RBD (and libvirt)

2018-03-21 Thread Andre Goree
I'm trying to determine the best way to go about configuring IO 
rate-limiting for individual images within an RBD pool.


Here [1], I've found that OpenStack appears to use Libvirt's "iotune" 
parameter, however I seem to recall reading about being able to do so 
via Ceph's settings.


Is there a place in Ceph to set IO limits on individual images within an 
RBD pool?  Thanks in advance for the advice.


[1] https://ceph.com/geen-categorie/openstack-ceph-rbd-and-qos/

--
Andre Goree
-=-=-=-=-=-
Email - andre at drenet.net
Website   - http://blog.drenet.net
PGP key   - http://www.drenet.net/pubkey.html
-=-=-=-=-=-
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com