RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1228836 - Is there a way to configure IO throttling for RBD devices via configuration file
Summary: Is there a way to configure IO throttling for RBD devices via configuration file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: RDO
Classification: Community
Component: openstack-nova
Version: Havana
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Eoghan Glynn
QA Contact: nlevinki
URL:
Whiteboard: storage
Depends On:
Blocks: 1154162
TreeView+ depends on / blocked
 
Reported: 2015-06-05 21:22 UTC by Yuming Ma
Modified: 2017-06-18 06:04 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-18 06:04:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Yuming Ma 2015-06-05 21:22:40 UTC
Description of problem:

To stabilize the Ceph cluster, we are tying to implement IO throttling for the RBD volumes including booting device imported at nova and Cinder volume attached to VM.

One can set the throttling via Virsh command, e.g:
[root@svl12-csl-b-nova2-002 ~]# virsh blkdeviotune instance-000004c0 vda --total_bytes_sec 104857600 --total_iops_sec 250
[root@svl12-csl-b-nova2-002 ~]# virsh blkdeviotune instance-000004c0 vda
total_bytes_sec: 104857600
read_bytes_sec : 0
write_bytes_sec: 0
total_iops_sec : 250
read_iops_sec  : 0
write_iops_sec : 0

But the settings does not retain through reboot/restart. Wondering if similar logic is available or can be implemented at the configuration layer which can sustain reboot/restart:

if (device::disk::source protocol =='rbd')
then set (for example):
      <iotune>
        <total_bytes_sec>104857600</total_bytes_sec>
        <total_iops_sec>250</total_iops_sec>
      </iotune>
done

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Allon Mureinik 2015-06-14 14:00:03 UTC
This bz seems to relate to OpenStack, not RHEV - moving.

Sergey, perhaps one of your guys can take a look?
Thanks!

Comment 2 Sergey Gotliv 2015-11-30 19:04:08 UTC
Sorry for the late response, I hope that article answers your question
http://ceph.com/planet/openstack-ceph-rbd-and-qos/. Please, let me know if it doesn't.

Comment 3 Christopher Brown 2017-06-17 19:31:29 UTC
I think this can be closed now?


Note You need to log in before you can comment on or make changes to this bug.