Date: Mon, 31 Dec 2001 10:49:00 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Mike Silbersack <silby@silby.com>, Josef Karthauser <joe@tao.org.uk>, Tomas Svensson <tsn@gbdev.net>, freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD performing worse than Linux? Message-ID: <3C30B31C.FFD2363B@mindspring.com> References: <Pine.BSF.4.30.0112291355370.1093-100000@niwun.pair.com> <200112310704.fBV74Wb18947@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon wrote: > new-reno was artifically limiting the max number of in-transit > packets to 4. This is probably why the USB ethernet worked > with 4.3, but it destroyed TCP performance for everything else > and was removed. > > I don't think there is kernel solution to the USB problems, short > of fixing the driver (if that's even possible). The packets are > being sent from the server and the only thing the client has > control over is the receive window advertisement. You could artifically > reduce the window advertisement on the client to deal with lots of small > packets but it would destroy performance for larger packets / data > streams. Cap the window size via the driver. This will probably require another attribute on all drivers, indicating "max allowable window size" ("0" could mean "any", and be used as the default so that we don't end up flaking out someone talking to Mars). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C30B31C.FFD2363B>