From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56400 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owdxz-0000uO-AT for qemu-devel@nongnu.org; Fri, 17 Sep 2010 12:39:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owdxv-00056B-5x for qemu-devel@nongnu.org; Fri, 17 Sep 2010 12:39:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1025) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owdxu-000565-TT for qemu-devel@nongnu.org; Fri, 17 Sep 2010 12:39:11 -0400 Message-ID: <4C9399C4.7070504@redhat.com> Date: Fri, 17 Sep 2010 18:39:32 +0200 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH][v2] Improve qemu-nbd performance by 4400 % References: <1284663278-7487-1-git-send-email-laurent@vivier.eu> <1284740037-6374-1-git-send-email-laurent@vivier.eu> In-Reply-To: <1284740037-6374-1-git-send-email-laurent@vivier.eu> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier Cc: qemu-devel Am 17.09.2010 18:13, schrieb Laurent Vivier: > This patch allows to reduce the boot time from an NBD server from 225 seconds to > 5 seconds (time between the "boot cd:0" and the kernel init) for the > following command lines: > > ./qemu-nbd -t ../ISO/debian-500-powerpc-netinst.iso > and > ./ppc-softmmu/qemu-system-ppc -cdrom nbd:localhost:1024 > > This patch combines the reply header and payload send operation. > > Signed-off-by: Laurent Vivier > --- > v2: use NBD_REPLY_SIZE instead of sizeof(struct nbd_reply) Thanks, applied to the block branch. Kevin