diff mbox series

[PULL,06/10] multifd: Change default packet size

Message ID 20190313115121.7611-7-quintela@redhat.com (mailing list archive)
State New, archived
Headers show
Series [PULL,01/10] multifd: Only send pages when packet are not empty | expand

Commit Message

Juan Quintela March 13, 2019, 11:51 a.m. UTC
We moved from 64KB to 512KB, as it makes less locking contention
without any downside in testing.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 migration/ram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/migration/ram.c b/migration/ram.c
index 77c1878292..700c345ec5 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -584,7 +584,7 @@  exit:
 #define MULTIFD_FLAG_SYNC (1 << 0)
 
 /* This value needs to be a multiple of qemu_target_page_size() */
-#define MULTIFD_PACKET_SIZE (64 * 1024)
+#define MULTIFD_PACKET_SIZE (512 * 1024)
 
 typedef struct {
     uint32_t magic;