From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccCsa-0003wm-Om for qemu-devel@nongnu.org; Fri, 10 Feb 2017 10:12:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccCsW-0004UF-MP for qemu-devel@nongnu.org; Fri, 10 Feb 2017 10:12:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33118) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ccCsW-0004SL-Gn for qemu-devel@nongnu.org; Fri, 10 Feb 2017 10:12:52 -0500 Date: Fri, 10 Feb 2017 15:12:47 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20170210151247.GD13357@work-vm> References: <20170203152321.19739-1-pbutsykin@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170203152321.19739-1-pbutsykin@virtuozzo.com> Subject: Re: [Qemu-devel] [PATCH v2 0/3] migration capability to discard the migrated ram pages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Butsykin Cc: qemu-devel@nongnu.org, quintela@redhat.com, eblake@redhat.com, armbru@redhat.com, den@openvz.org * Pavel Butsykin (pbutsykin@virtuozzo.com) wrote: > This feature frees the migrated memory on the source during postcopy-ram > migration. In the second step of postcopy-ram migration when the source vm > is put on pause we can free unnecessary memory. It will allow, in particular, > to start relaxing the memory stress on the source host in a load-balancing > scenario. Queued. > > Changes from v1: > - changed name of the interfaces (discard to release) > - fix make check error > - add more comments to qemu_iovec_release_ram() > - rebase on "Postcopy: Hugepage support" (David's patch series) > - removed ram_discard_page for xbzrle > - fix erroneous release memory in complete precopy (tie release-ram to postcopy) > > Pavel Butsykin (3): > migration: add MigrationState arg for ram_save_/compressed_/page() > add 'release-ram' migrate capability > migration: discard non-dirty ram pages after the start of postcopy > > include/migration/migration.h | 2 ++ > include/migration/qemu-file.h | 3 ++- > migration/migration.c | 13 ++++++++++ > migration/qemu-file.c | 59 ++++++++++++++++++++++++++++++++++++++----- > migration/ram.c | 56 ++++++++++++++++++++++++++++++++++------ > qapi-schema.json | 5 +++- > 6 files changed, 121 insertions(+), 17 deletions(-) > > -- > 2.11.0 > > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK