aboutsummaryrefslogtreecommitdiff
path: root/migration
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2019-02-20 12:45:57 +0100
committerJuan Quintela <quintela@redhat.com>2019-03-25 18:13:43 +0100
commit4b0c72645c468827dbdf04594fcb274741fecbb1 (patch)
treeeeae14639e1c8cbd8e3a3378064f91fa29fbce05 /migration
parent7ed379b286dc6d3942ae851bdfa87b45b99ae9ff (diff)
multifd: Change default packet size
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>
Diffstat (limited to 'migration')
-rw-r--r--migration/ram.c2
1 files changed, 1 insertions, 1 deletions
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;