[pve-devel] [PATCH INFO v2 qemu 4/5] PVE: increase max IOV count in QEMUFile

Stefan Reiter s.reiter at proxmox.com
Thu Feb 11 17:11:14 CET 2021


might help with RBD performance for snapshots, since it writes larger
data buffers at once

Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---

Included in first patch, squashed into existing patches.
New in v2.

 migration/qemu-file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/migration/qemu-file.c b/migration/qemu-file.c
index a4d2e2c8ff..1926b5202c 100644
--- a/migration/qemu-file.c
+++ b/migration/qemu-file.c
@@ -31,7 +31,7 @@
 #include "qapi/error.h"
 
 #define DEFAULT_IO_BUF_SIZE 32768
-#define MAX_IOV_SIZE MIN_CONST(IOV_MAX, 64)
+#define MAX_IOV_SIZE MIN_CONST(IOV_MAX, 256)
 
 struct QEMUFile {
     const QEMUFileOps *ops;
-- 
2.20.1





More information about the pve-devel mailing list