[Devel] [PATCH RHEL9 COMMIT] drivers/vhost/blk: increase max queues to 32
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Feb 19 20:59:37 MSK 2024
The commit is pushed to "branch-rh9-5.14.0-362.8.1.vz9.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-362.8.1.vz9.35.12
------>
commit eea68f04f8efeebfb093970059c4bdb55c5db0d0
Author: Andrey Zhadchenko <andrey.zhadchenko at virtuozzo.com>
Date: Mon Feb 19 13:09:41 2024 +0300
drivers/vhost/blk: increase max queues to 32
8 queues is too few, for example vhost-scsi has 128.
Increase to 32 queues max, as we do not want to eat too much
memory. As for performance, 32 queues will top around 3M iops,
which should be fine for almost all cases.
https://virtuozzo.atlassian.net/browse/PSBM-152241
Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko at virtuozzo.com>
Feature: vhost-blk: in-kernel accelerator for virtio-blk guests
---
drivers/vhost/blk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/vhost/blk.c b/drivers/vhost/blk.c
index 392c5de1d916..9ef51335449f 100644
--- a/drivers/vhost/blk.c
+++ b/drivers/vhost/blk.c
@@ -45,7 +45,7 @@ enum {
*/
#define VHOST_DEV_PKT_WEIGHT 256
-#define VHOST_BLK_VQ_MAX 8
+#define VHOST_BLK_VQ_MAX 32
#define VHOST_MAX_METADATA_IOV 1
More information about the Devel
mailing list