From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40387 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuM4F-0004d6-IZ for qemu-devel@nongnu.org; Tue, 01 Mar 2011 04:40:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuM4D-0000uo-8i for qemu-devel@nongnu.org; Tue, 01 Mar 2011 04:40:30 -0500 Received: from mail-gy0-f173.google.com ([209.85.160.173]:34390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuM4D-0000ue-6I for qemu-devel@nongnu.org; Tue, 01 Mar 2011 04:40:29 -0500 Received: by gyd8 with SMTP id 8so2290130gyd.4 for ; Tue, 01 Mar 2011 01:40:27 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4D6C087B.90603@cse.iitd.ac.in> References: <20110124132559.GA25236@x200.localdomain> <4D3DF7EA.4010807@codemonkey.ws> <20110125115727.5f2b495e@doriath> <20110125120244.5b18863d@doriath> <4D43F0F5.10206@cse.iitd.ac.in> <4D67E9EB.7090606@cse.iitd.ac.in> <4D6975B0.4060309@cse.iitd.ac.in> <4D6C087B.90603@cse.iitd.ac.in> Date: Tue, 1 Mar 2011 09:40:27 +0000 Message-ID: Subject: Re: [Qemu-devel] Re: KVM call agenda for Jan 25 From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dushyant Bansal Cc: qemu-devel@nongnu.org On Mon, Feb 28, 2011 at 8:41 PM, Dushyant Bansal wrote: > On Sunday 27 February 2011 04:19 PM, Stefan Hajnoczi wrote: >> >> On Sat, Feb 26, 2011 at 9:50 PM, Dushyant Bansal >> =A0wrote: >>> >>> virtual size: 10G (10737418240 bytes) >>> disk size: 569M >>> >>> convert-> =A0original >>> time =A0 =A00m52.522s >>> >>> convert-> =A0modified (resultant disk size: 5.3G) >>> time =A0 =A02m12.744s >>> >>> cp >>> time =A0 =A00m51.724s (same disk size) >>> >>> -----------------------------------------------------------------------= ---- >>> virtual size: 10G (10737418240 bytes) >>> disk size: 3.6G >>> >>> convert-> =A0original >>> time =A0 =A01m52.249s >>> >>> convert-> =A0modified (resultant disk size: 7.1G) >>> time =A0 =A03m2.891s >>> >>> cp >>> time =A0 =A01m55.320s (same disk size) >>> >>> -----------------------------------------------------------------------= ---- >>> In these results, we can see that resultant disk size has increased. >>> >> >> If I'm reading this correctly then qemu-img convert is within a few >> seconds of cp(1) for you? >> > > I have collected and attached some more time results for different > operations on a 2.2G image. > qemu-img convert is close to cp. > > qemu(modified): > IO_BUF_SIZE =3D (2 * 1024 ) > if any sector is non-null, write all sectors Nice that qemu-img convert isn't that far out by default on raw :). About Google Summer of Code, I have posted my take on applying and want to share that with you and qemu-devel: http://blog.vmsplice.net/2011/03/advice-for-students-applying-to-google.htm= l Stefan