Use librbd instead of krbd for LXC?

jasonsansone

Active Member
May 17, 2021
164
43
33
Oklahoma City, OK
www.sansonehowell.com
Through extensive testing with Optane cache drives, I have been able to increase Queue 1, IO-Depth 1, 4K writes by over 4X using RBD Persistent Write Log Cache. However, krbd does not support pwl, only librbd. In addition, librbd allows tuning such as "rbd_read_from_replica_policy = localize" which results in substantial increases in read IOPS. QEMU can use either krbd or librbd, but I haven't determined if it is possible for LXC to use librbd instead of krbd. Is there anyway to use librbd for LXC containers instead of the kernel rbd driver?
 
Last edited: