Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EpBNt-0001mA-Gv for qemu-devel@nongnu.org; Wed, 21 Dec 2005 16:20:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EpBNp-0001k4-Ba for qemu-devel@nongnu.org; Wed, 21 Dec 2005 16:20:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpBNp-0001jy-8S for qemu-devel@nongnu.org; Wed, 21 Dec 2005 16:20:25 -0500 Received: from [212.63.36.242] (helo=gwyn.kn-bremen.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EpBRB-0002sY-8Q for qemu-devel@nongnu.org; Wed, 21 Dec 2005 16:23:53 -0500 From: Juergen Lock Date: Wed, 21 Dec 2005 22:11:02 +0100 Subject: Re: [Qemu-devel] [patch] Poor user-net performance. Message-ID: <20051221211102.GA1673@saturn.kn-bremen.de> References: <200512182328.27625.paul@codesourcery.com> <20051220205611.GA10436@saturn.kn-bremen.de> <200512202114.11206.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512202114.11206.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org On Tue, Dec 20, 2005 at 09:14:09PM +0000, Paul Brook wrote: > On Tuesday 20 December 2005 20:56, Juergen Lock wrote: > > On Sun, Dec 18, 2005 at 11:28:27PM +0000, Paul Brook wrote: > > > Teaching the slirp code how to do tcp backoff/window scaling is probably > > > a fair amount of work. The easy alternative is to throttle the slirp > > > output when we know the card's buffers are full. slirp has a convenient > > > hook for this, so it's a matter of adding the hooks to the hardware > > > emulation. > > > > Hmm is the patch supposed to work for i386 guests too? I get no dhcp > > response and network unreachable when i try to ssh to the host from the > > guest after manually ifconfig'ing, seem like the ne2k doesn't receive > > any packets. (FreeBSD/i386 host, linux i386 guest - kanotix livecd iso). > > The same works normally without the patch. > > Oops. Updated patch should fix this. It was a dumb error in the ne2k code. :) Updated patch works, thanx, I get nearly 2 MB/sec host to guest over smb now. (And I'm adding the patch to the FreeBSD port.)