-
Hi everyone, I am currently looking to improve performance of a database application that runs on Kubernetes using Rook/Ceph PVs. Generally speaking databases have quite small block sizes (4-8 K) which is quite a large difference to the default object-size of RDB in Ceph (4 MB). I am trying to create a new storage class that creates PVs with smaller object sizes like so but with no luck:
I tried adding It feels like i am probably missing something and probably this is not the right way to do it, any help is appreciated. Many thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This feature comes through Ceph-CSI. You might see if the github.com/ceph/ceph-csi project has any reports of a problem with this. Otherwise, @Madhu-1 might have some idea of what could be the cause. |
Beta Was this translation helpful? Give feedback.
Thanks for pointing me to the right direction @BlaineEXE.
I found the relevant example which mentions this here: https://github.com/ceph/ceph-csi/blob/53579991eb2e4ef76126335d2cd8a771698f1012/examples/rbd/storageclass.yaml#L164
Effectively, object size and stripe unit are separate parameters and can be used as such: