From owner-freebsd-hackers@FreeBSD.ORG Tue May 30 20:26:45 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D04816B167 for ; Tue, 30 May 2006 20:26:45 +0000 (UTC) (envelope-from luke@foolishgames.com) Received: from mail.foolishgames.com (mail.foolishgames.com [206.222.28.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id A48AA43D62 for ; Tue, 30 May 2006 20:26:40 +0000 (GMT) (envelope-from luke@foolishgames.com) Received: from www.foolishgames.com (localhost [127.0.0.1]) by mail.foolishgames.com (8.13.6/8.13.3) with ESMTP id k4UKQdhC055869; Tue, 30 May 2006 16:26:39 -0400 (EDT) (envelope-from luke@foolishgames.com) Received: from 141.218.159.32 (SquirrelMail authenticated user laffer1) by www.foolishgames.com with HTTP; Tue, 30 May 2006 16:26:39 -0400 (EDT) Message-ID: <1225.141.218.159.32.1149020799.squirrel@www.foolishgames.com> In-Reply-To: <17532.42196.508218.964130@bhuda.mired.org> References: <17532.42196.508218.964130@bhuda.mired.org> Date: Tue, 30 May 2006 16:26:39 -0400 (EDT) From: "Lucas Holt" To: "Mike Meyer" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV 0.88.2/1499/Mon May 29 16:35:17 2006 on mail.foolishgames.com X-Virus-Status: Clean Cc: hackers@freebsd.org Subject: Re: Asymmetric ethernet throughput? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: luke@foolishgames.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 20:26:54 -0000 Does disabling net.inet.tcp.inflight.enable make any difference? I've noticed strange transfer speed differences between a samba server on freebsd 6.1 and OS 10.4.6 clients and Windows. With these set in /etc/sysctl.conf, I can get reasonable speeds on both the macs and windows box. net.inet.tcp.delayed_ack=0 net.inet.tcp.inflight.enable=0 I also needed to set these in /usr/local/etc/smb.conf socket options = TCP_NODELAY SO_SNDBUF=8576 use sendfile = yes I've also experimented with other settings like lowering the quality of the timer with kern.timecounter.hardware=TSC which seemed to increase throughput in some cases but not others. Luke