Quoting Damian Dabrowski (scoot...@gmail.com):
> Hello,
> 
> When I mount rbd image with -o queue_depth=1024 I can see much improvement,
> generally on writes(random write improvement from 3k IOPS on standard
> queue_depth to 24k IOPS on queue_depth=1024).
> 
> But is there any way to attach rbd disk to KVM instance with custom
> queue_depth? I can't find any information about it.

Not specifically "queue depth", but if you use virtio-scsi, and have a
VM with more than 1 vCPU, you can give each vCPU it's own queue [1]:

<controller type='scsi' index='0' model='virtio-scsi'>
   <driver queues='N' />
       </controller>


Gr. Stefan

[1]: 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_tuning_and_optimization_guide/sect-virtualization_tuning_optimization_guide-blockio-techniques


-- 
| BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
| GPG: 0xD14839C6                   +31 318 648 688 / i...@bit.nl
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to