8 queues is too few, for example vhost-scsi have 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.zhadche...@virtuozzo.com>
---
 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
 
-- 
2.39.3

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to