migration: Rate limit inside host pages
commit97e1e06780e70f6e98a0d2df881e0c0927d3aeb6
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 5 Dec 2019 10:29:18 +0000 (5 10:29 +0000)
committerJuan Quintela <quintela@redhat.com>
Mon, 20 Jan 2020 08:10:22 +0000 (20 09:10 +0100)
treec1313e021eb0cb39925d20bf16d6e08c45c9b6f0
parent03acb4e94deada2dd32412725420db82682f2e2e
migration: Rate limit inside host pages

When using hugepages, rate limiting is necessary within each huge
page, since a 1G huge page can take a significant time to send, so
you end up with bursty behaviour.

Fixes: 4c011c37ecb3 ("postcopy: Send whole huge pages")
Reported-by: Lin Ma <LMa@suse.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c
migration/migration.h
migration/ram.c
migration/trace-events