]> xenbits.xensource.com Git - people/pauldu/qemu.git/commitdiff
multifd: Change default packet size
authorJuan Quintela <quintela@redhat.com>
Wed, 20 Feb 2019 11:45:57 +0000 (12:45 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 25 Mar 2019 17:13:43 +0000 (18:13 +0100)
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

index 77c18782921e69fa1918a06acc7a081f0687493d..700c345ec57fe2d04739fe9b4844cc9411f66e68 100644 (file)
@@ -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;