From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTTcY-0005Jb-LQ for qemu-devel@nongnu.org; Fri, 28 Mar 2014 06:02:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTTcS-000435-Vg for qemu-devel@nongnu.org; Fri, 28 Mar 2014 06:02:42 -0400 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:36647 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTTcS-0003yw-Lc for qemu-devel@nongnu.org; Fri, 28 Mar 2014 06:02:36 -0400 Message-ID: <533548B8.1070505@kamp.de> Date: Fri, 28 Mar 2014 11:02:32 +0100 From: Peter Lieven MIME-Version: 1.0 References: <1395402552-22366-1-git-send-email-pl@kamp.de> <532C2B38.7050708@redhat.com> In-Reply-To: <532C2B38.7050708@redhat.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCHv2] block: introduce BDRV_O_SEQUENTIAL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: kwolf@redhat.com, shadowsor@gmail.com, famz@redhat.com, stefanha@redhat.com On 21.03.2014 13:06, Paolo Bonzini wrote: > Il 21/03/2014 12:49, Peter Lieven ha scritto: >> A 10G logical volume was created and filled with random data. >> Then the logical volume was exported via qemu-img convert to an iscsi target. >> Before the export was started all caches of the linux kernel where dropped. >> >> Old behavior: >> - The convert process took 3m45s and the buffer cache grew up to 9.67 GB close >> to the end of the conversion. After qemu-img terminated all the buffers were >> freed by the kernel. >> >> New behavior with the -N switch: >> - The convert process took 3m43s and the buffer cache grew up to 15.48 MB close >> to the end with some small peaks up to 30 MB durine the conversion. >> >> Signed-off-by: Peter Lieven >> --- >> v1->v2: - added test example to commit msg >> - added -N knob to qemu-img > > I'm sorry, I cannot find the original discussion. Why is the new knob needed? Hi all, how shall we proceed with this patch? Is additional info needed? Peter