From owner-freebsd-net Sun Dec 22 7:59:53 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE78437B401; Sun, 22 Dec 2002 07:59:51 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3830D43EDC; Sun, 22 Dec 2002 07:59:51 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.6/8.12.5) with SMTP id gBMFxq1Z000234; Sun, 22 Dec 2002 10:59:53 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 22 Dec 2002 10:59:52 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: "matthew c. mead" Cc: freebsd-net@freebsd.org, dillon@freebsd.org Subject: TCP interactions (was: Re: Linux and FreeBSD poor network performance) In-Reply-To: <20021221165745.A67089@goof.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 21 Dec 2002, matthew c. mead wrote: > I have a Linux box and FreeBSD box sitting on a 100Mbit ethernet segment > that cannot seem to talk to one another faster than 150K/s. I've been > using scp, ftp, http, to test this. And you've done tests in both directions, or just in one? > A Windows box on the same segment can send/receive at 6MB/s with either > box, but for some reason the FreeBSD box and Linux box are having some > weird interaction. My guess is I need to tune one or the other's tcp > stack. Any hints? Anyone seen this? > > FreeBSD box is FreeBSD 4.7-RELEASE-p2. Linux box is Gentoo Linux 1.4rc1 > with kernel 2.4.19-gentoo-r10. Windows box is Windows 2000 sp3. > > Thanks in advance for any help... I'm out of ideas. Could you try using a non-TCP performance measurement tool of some sort? I.e., some sort of UDP throughput test. Because of your comment about the two boxes talking to windows fine, it sounds likely to be a TCP interaction, but it would be useful to check and see. I've CC'd Matt Dillon because he's fixed a number of subtle TCP bugs of this sort in the past and can probably provide some debugging guidance. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message