From 3175ebd7b63eacbb0fe674ae75b88237b10b8375 Mon Sep 17 00:00:00 2001 From: Tomoki Sekiyama Date: Tue, 21 Apr 2015 20:03:02 -0400 Subject: [PATCH] Add rate-limit volume copy bandwidth Rate-limit of volume copy bandwidth per each Cinder backend is implemented in Kilo. This patch adds documentation for it. Change-Id: I6b887cf67b6fd0abf0cacf99c30fbe6c45a5dad6 --- ...ection_ratelimit-volume-copy-bandwidth.xml | 47 +++++++++++++++++++ doc/admin-guide-cloud/ch_blockstorage.xml | 3 +- 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 doc/admin-guide-cloud/blockstorage/section_ratelimit-volume-copy-bandwidth.xml diff --git a/doc/admin-guide-cloud/blockstorage/section_ratelimit-volume-copy-bandwidth.xml b/doc/admin-guide-cloud/blockstorage/section_ratelimit-volume-copy-bandwidth.xml new file mode 100644 index 0000000000..ce5fefbf9b --- /dev/null +++ b/doc/admin-guide-cloud/blockstorage/section_ratelimit-volume-copy-bandwidth.xml @@ -0,0 +1,47 @@ + +
+ Rate-limit volume copy bandwidth + When you create a new volume from an image or an existing + volume, or when you upload a volume image to the Image Service, + large data copy may stress disk and network bandwidth. + To mitigate slow down of data access from the instances, + OpenStack Block Storage supports rate-limiting of volume data + copy bandwidth. + + Configure volume copy bandwidth limit + To configure the volume copy bandwidth limit, set the + option in the + configuration groups for each back end in the + cinder.conf file. This option takes + the integer of maximum bandwidth allowed for volume data + copy in byte per second. If this option is set to + 0, the rate-limit is disabled. + While multiple volume data copy operations are running + in the same back end, the specified bandwidth is divided to + each copy. + Example cinder.conf configuration file + to limit volume copy bandwidth of lvmdriver-1 + up to 100 MiB/s: + [lvmdriver-1] +volume_group=cinder-volumes-1 +volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver +volume_backend_name=LVM_iSCSI +volume_copy_bps_limit=104857600 + + This feature requires libcgroup to set up blkio cgroup + for disk I/O bandwidth limit. The libcgroup is provided + by the cgroup-bin package in Debian + and Ubuntu, or by the libcgroup-tools + package in Fedora, Red Hat Enterprise Linux, CentOS, openSUSE, and + SUSE Linux Enterprise. + + + Some back ends which use remote file systems such as NFS + are not supported by this feature. + + +
diff --git a/doc/admin-guide-cloud/ch_blockstorage.xml b/doc/admin-guide-cloud/ch_blockstorage.xml index c0fc4c493d..e212d85675 100644 --- a/doc/admin-guide-cloud/ch_blockstorage.xml +++ b/doc/admin-guide-cloud/ch_blockstorage.xml @@ -120,7 +120,7 @@ xlink:href="http://docs.openstack.org/user-guide/enduser/cli_nova_launch_instance_from_volume.html" >Launch an instance from a volume section in the OpenStack End User Guide. @@ -151,6 +151,7 @@ +
Troubleshoot your installation