qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: qemu-devel@nongnu.org
Cc: Markus Armbruster <armbru@redhat.com>,
	Eric Blake <eblake@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Thomas Huth <thuth@redhat.com>,
	Juan Quintela <quintela@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Laurent Vivier <lvivier@redhat.com>
Subject: [Qemu-devel] [PATCH v3 6/8] multifd: Change default packet size
Date: Wed, 27 Feb 2019 12:08:10 +0100	[thread overview]
Message-ID: <20190227110812.2185-7-quintela@redhat.com> (raw)
In-Reply-To: <20190227110812.2185-1-quintela@redhat.com>

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>
---
 migration/ram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/migration/ram.c b/migration/ram.c
index 83025a7565..c78de0b6a3 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -521,7 +521,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;
-- 
2.20.1

  parent reply	other threads:[~2019-02-27 11:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-27 11:08 [Qemu-devel] [PATCH v3 0/8] migration: Mark multifd not experimental Juan Quintela
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 1/8] multifd: Only send pages when packet are not empty Juan Quintela
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 2/8] multifd: Rename "size" member to pages_alloc Juan Quintela
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 3/8] multifd: Create new next_packet_size field Juan Quintela
2019-03-06 15:28   ` Dr. David Alan Gilbert
2019-03-07 12:28     ` Juan Quintela
2019-03-07 17:01       ` Eric Blake
2019-03-08 19:28       ` Dr. David Alan Gilbert
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 4/8] multifd: Drop x-multifd-page-count parameter Juan Quintela
2019-03-09 17:09   ` Markus Armbruster
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 5/8] multifd: Be flexible about packet size Juan Quintela
2019-02-27 11:08 ` Juan Quintela [this message]
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 7/8] multifd: Drop x- Juan Quintela
2019-03-09 17:11   ` Markus Armbruster
2019-02-27 11:08 ` [Qemu-devel] [PATCH v3 8/8] tests: Add migration multifd test Juan Quintela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190227110812.2185-7-quintela@redhat.com \
    --to=quintela@redhat.com \
    --cc=armbru@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=eblake@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).