From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO6wn-0006di-8D for qemu-devel@nongnu.org; Fri, 05 Apr 2013 09:44:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO6wj-0006vx-V8 for qemu-devel@nongnu.org; Fri, 05 Apr 2013 09:44:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO6wj-0006vb-OQ for qemu-devel@nongnu.org; Fri, 05 Apr 2013 09:44:49 -0400 Date: Fri, 5 Apr 2013 15:44:45 +0200 From: Kevin Wolf Message-ID: <20130405134445.GD2351@dhcp-200-207.str.redhat.com> References: <1363963683-26157-1-git-send-email-owasserm@redhat.com> <1363963683-26157-8-git-send-email-owasserm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1363963683-26157-8-git-send-email-owasserm@redhat.com> Subject: Re: [Qemu-devel] [PATCH v5 7/7] Use qemu_put_buffer_async for guest memory pages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Orit Wasserman Cc: pbonzini@redhat.com, quintela@redhat.com, chegu_vinod@hp.com, qemu-devel@nongnu.org, mst@redhat.com Am 22.03.2013 um 15:48 hat Orit Wasserman geschrieben: > This will remove an unneeded copy of guest memory pages. > For the page header and device state we still copy the data to the > static buffer the other option is to allocate the memory on demand > which is more expensive. > > Signed-off-by: Orit Wasserman This seems to have killed savevm performance. I noticed that qemu-iotests case 007 took forever on my test box (882 seconds instead of something like 10 seconds). It can be reproduced by this script: export MALLOC_PERTURB_=11 qemu-img create -f qcow2 -o compat=1.1 test.qcow2 1M time qemu-system-x86_64 -nographic -hda $TEST_IMG -serial none -monitor stdio <