Hi, While calling rbd_aio_write(), different rbd_image_t for same RBD image will be handled as different client. In this case, RBD exclusive lock will significantly affect write performance. Therefore, in SPDK, only one thread (i.e, one core) will be used for one rbd image (https://review.spdk.io/gerrit/c/spdk/spdk/+/6812).
This implementation can not utilize all CPU resource, especially for read IO. Could we call rbd_aio_write()/rbd_aio_read() from multiple threads using same rbd_image_t? Is there any risk here? Thanks! Best regards, Allen |
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx