Project

General

Profile

Actions

Support #56447

open

how to set iops limit or BPS limmit when using kernel rbd image?

Added by nick wang almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
librbd
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

I referred to the document to set the RBD image, but it did not work.

reference documentation:https://docs.ceph.com/en/nautilus/rbd/rbd-config-ref/#rbd-qos-settings

ceph version:

ceph version 14.2.22 (ca74598065096e6fcbd8433c8779a2be0c889351) nautilus (stable)

os release:

NAME="CentOS Linux" 
VERSION="7 (Core)" 
ID="centos" 
ID_LIKE="rhel fedora" 
VERSION_ID="7" 
PRETTY_NAME="CentOS Linux 7 (Core)" 
ANSI_COLOR="0;31" 
CPE_NAME="cpe:/o:centos:centos:7" 
HOME_URL="https://www.centos.org/" 
BUG_REPORT_URL="https://bugs.centos.org/" 

CENTOS_MANTISBT_PROJECT="CentOS-7" 
CENTOS_MANTISBT_PROJECT_VERSION="7" 
REDHAT_SUPPORT_PRODUCT="centos" 
REDHAT_SUPPORT_PRODUCT_VERSION="7" 

kernel version:

Linux xxxx 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

rbd image qos config:

# rbd config image ls kubernetes/csi-vol-12ec5816-f795-11ec-89c1-b222e549013a |grep qos
rbd_qos_bps_burst                           0        config
rbd_qos_bps_limit                           0        config
rbd_qos_iops_burst                          10       image
rbd_qos_iops_limit                          10       image
rbd_qos_read_bps_burst                      0        config
rbd_qos_read_bps_limit                      0        config
rbd_qos_read_iops_burst                     0        config
rbd_qos_read_iops_limit                     0        config
rbd_qos_schedule_tick_min                   50       config
rbd_qos_write_bps_burst                     0        config
rbd_qos_write_bps_limit                     0        config
rbd_qos_write_iops_burst                    0        config
rbd_qos_write_iops_limit                    0        config

  • fio rbd io engine,it works fine.
  • fio psync io engine, it's not working.

No data to display

Actions

Also available in: Atom PDF