Received: from eggs.gnu.org ([208.118.235.92]:49374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBMN4-0007Sw-Rz for qemu-devel@nongnu.org; Fri, 01 Mar 2013 04:35:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBMN2-0004LF-6t for qemu-devel@nongnu.org; Fri, 01 Mar 2013 04:35:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBMN1-0004LB-W0 for qemu-devel@nongnu.org; Fri, 01 Mar 2013 04:35:16 -0500 Date: Fri, 1 Mar 2013 10:35:09 +0100 From: Stefan Hajnoczi Message-ID: <20130301093509.GB32262@stefanha-thinkpad.redhat.com> References: <1361973947-6136-1-git-send-email-stefanha@redhat.com> <20130227164916.GW702@redhat.com> <20130228134951.GA18389@stefanha-thinkpad.redhat.com> <20130228135558.GN18311@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130228135558.GN18311@redhat.com> Subject: Re: [Qemu-devel] [PATCH] net: use socket_set_nodelay() for -netdev socket List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Stefan Hajnoczi , clownix@clownix.net, qemu-devel@nongnu.org, Paolo Bonzini On Thu, Feb 28, 2013 at 01:55:58PM +0000, Daniel P. Berrange wrote: > On Thu, Feb 28, 2013 at 02:49:51PM +0100, Stefan Hajnoczi wrote: > > On Wed, Feb 27, 2013 at 04:49:16PM +0000, Daniel P. Berrange wrote: > > > On Wed, Feb 27, 2013 at 03:05:47PM +0100, Stefan Hajnoczi wrote: > > > > Reduce -netdev socket latency by disabling the Nagle algorithm on > > > > SOCK_STREAM sockets in net/socket.c. Since we are tunelling Ethernet > > > > over TCP we shouldn't artificially delay outgoing packets, let the guest > > > > decide packet scheduling. > > > > > > > > I already get sub-millisecond -netdev socket ping times on localhost, so > > > > there was no measurable difference in my testing. This won't hurt > > > > though and may improve remote socket performance. > > > > > > > > Signed-off-by: Stefan Hajnoczi > > > > > > ACK. > > > > > > Signed-off-by: Daniel P. Berrange > > > > Hi Dan, > > QEMU usually only uses Singed-off-by: for authors and subsystem > > maintainers who merge the patch. > > Ah, ok. > > > > > Is it okay if I add a Reviewed-by: Daniel P. Berrange > > instead? > > Of course. Thanks, done. Stefan