CSI 3.14.0 - RBD QoS parameters #5301
-
|
Hi everyone! After the contribution of @YiteGu , we are able to set QoS limits with parameters on storageclasses. I added some parameters to my RBD storageclass: BaseReadIops: "500" but unfortunately I don't get different results in my FIO benchmarks. Am I doing something wrong? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 8 replies
-
|
Please provide a complete definition of SC @mustafaakgunn |
Beta Was this translation helpful? Give feedback.
-
|
this my SC yaml, use your QOS params: create a pvc: create a test pod: enter test pod and run fio to test pvc mount directory: |
Beta Was this translation helpful? Give feedback.
-
|
Hi @YiteGu, Firstly thanks for your detailed answers 🙋🏼 Here is my full sc: Also I demonstrated your test scenario, here is my result: kubectl exec gyt-demo-pod -it -- /bin/sh fio --name=test --numjobs=1 --iodepth=1 --direct=1 --ioengine=libaio --rw=randwrite --bs=4K --size=1G --time_based --runtime=60 --filename=/tmp/fio-test1/tes-file --eta-newline 1 test: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1test: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1 I noticed that I didn't used parameters such as "imageFeatures: layering,exclusive-lock,object-map,fast-diff,deep-flatten", "mounter: rbd-nbd" in my storageclass when compared to yours. Is it important for this process? Thanks in advance 👍🏼 |
Beta Was this translation helpful? Give feedback.
-
|
I'm trying with: imageFeatures: layering,exclusive-lock,object-map,fast-diff,deep-flatten in my storageclass and looks like it works! but one more question: When applying the limit, I get results slightly below the limit I want, What could be the reason? RESULT: RESULT: Thanks! |
Beta Was this translation helpful? Give feedback.
-
please change to: |
Beta Was this translation helpful? Give feedback.
-
hi @YiteGu, does QoS currently only supported for rbd-nbd mounter? Thanks. |
Beta Was this translation helpful? Give feedback.
QOS must use: "mounter: rbd-nbd", not related with "imageFeatures: layering,exclusive-lock,object-map,fast-diff,deep-flatten"