From owner-freebsd-net@FreeBSD.ORG Thu Oct 30 22:35:16 2003 Return-Path: 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 4239B16A4CE for ; Thu, 30 Oct 2003 22:35:16 -0800 (PST) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5086C43F93 for ; Thu, 30 Oct 2003 22:35:15 -0800 (PST) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9p2/8.12.9) with ESMTP id h9V6ZEp4072802; Fri, 31 Oct 2003 01:35:14 -0500 (EST) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9p2/8.12.9/Submit) id h9V6ZENf072801; Fri, 31 Oct 2003 01:35:14 -0500 (EST) (envelope-from barney) Date: Fri, 31 Oct 2003 01:35:14 -0500 From: Barney Wolff To: Keith Mitchell Message-ID: <20031031063514.GA72686@pit.databus.com> References: <20031031060117.GA77018@weenix.guru.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031031060117.GA77018@weenix.guru.org> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.37 cc: freebsd-net@freebsd.org Subject: Re: iMac and FreeBSD performance problems X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 06:35:16 -0000 On Fri, Oct 31, 2003 at 01:01:17AM -0500, Keith Mitchell wrote: > > What I see is extremely slow transfers (FTP/TFTP at least) from the > FreeBSD machines to the iMac. The reverse direction (from the iMac to > the FreeBSD machiens work fine). If this isn't bad enough, if I connect > the iMac to a 10BT hub instead of the ethernet switch then everything > seems to work fine as well. The iMac can talk to all the other equipment > without a problem when its connected to the ethernet switch. Likewise > the FreeBSD machines can talk to each other without any problems and to > all of the other networking equipment.... they just can't talk to the iMac > efficiently. tcpdump is your friend. Run it in save-to-disk mode, then look at results at leisure. Run at both ends. I'd expect packet loss and retransmissions. The question is why. You can play with tuning parameters at both ends. Receive window size, MTU, (local_)slowstart_flightsize, path_mtu_discovery. MTU is settable by ifconfig, others by sysctl. Send to /dev/null to eliminate disk issues. Swap cables. Swap ports. Good luck. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.