From owner-freebsd-performance@FreeBSD.ORG Sun Sep 3 22:14:34 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4968116A4DA for ; Sun, 3 Sep 2006 22:14:34 +0000 (UTC) (envelope-from fbsd-performance@graphics.cs.uni-sb.de) Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 849EF43D49 for ; Sun, 3 Sep 2006 22:14:33 +0000 (GMT) (envelope-from fbsd-performance@graphics.cs.uni-sb.de) Received: from mail.cs.uni-sb.de (mail.cs.uni-sb.de [134.96.254.200]) by uni-sb.de (8.13.8/2006081400) with ESMTP id k83MEVw4003683 for ; Mon, 4 Sep 2006 00:14:31 +0200 (CEST) Received: from scihparg.cs.uni-sb.de (scihparg.cs.uni-sb.de [134.96.249.75]) by mail.cs.uni-sb.de (8.13.8/2006081400) with ESMTP id k83MEViW010587 for ; Mon, 4 Sep 2006 00:14:31 +0200 (CEST) Received: from bofh.cs.uni-sb.de ([134.96.249.208]) by scihparg.cs.uni-sb.de with esmtp (Exim 4.50) id 1GK0EZ-0003F2-39 for freebsd-performance@freebsd.org; Mon, 04 Sep 2006 00:14:31 +0200 Date: Mon, 04 Sep 2006 00:14:19 +0200 To: freebsd-performance@freebsd.org From: "Jan Zacharias" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/8.51 (Linux, build 1462) X-SA-Exim-Connect-IP: 134.96.249.208 X-SA-Exim-Mail-From: fbsd-performance@graphics.cs.uni-sb.de X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on scihparg.cs.uni-sb.de X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.0.3 X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on scihparg.cs.uni-sb.de) X-Mailman-Approved-At: Sun, 03 Sep 2006 22:22:19 +0000 Subject: Samba performance, TCP Stack Issue? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 22:14:34 -0000 Hi, was anybody able to tune the Samba service (2.2.12 or 3.0.23b) so that it would perform out as well as unter linux where it maxes out at about 11 Mb/s using some Intel/3com card? So far, the most I got out of it was ~6 Mb/s while txing one file to a win2k station, curiously I get ~8.5 Mb/s when txing multiple files in parallel. So far i messed with: - ifconfig mtu - net.inet.tcp settings - smb's socket options Tuning SO_SNDBUF gave only very little gain, adapting the mtu to match the win2k box was useless. W/a net.inet.tcp.inflight.enable enabled the txrate is 2 Mb/s lower, however 6 Mb/s is still SLOW. I cant find the bottleneck, as the system is quite idle. Any Suggestions? Greetz, Jan -- Co.G.Wheel - Administation Group, Computer Graphics Lab of Saarland University Phone: 0681 302 3841 Telecopy: 0681 302 3843 Web: http://graphics.cs.uni-sb.de From owner-freebsd-performance@FreeBSD.ORG Sun Sep 3 22:38:39 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B424616A4E5 for ; Sun, 3 Sep 2006 22:38:39 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D67143D45 for ; Sun, 3 Sep 2006 22:38:38 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id k83Mca9O041947; Sun, 3 Sep 2006 18:38:36 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.6/8.13.3) with ESMTP id k83McbQQ096330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 3 Sep 2006 18:38:37 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060903183720.08c4f158@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Sun, 03 Sep 2006 18:40:54 -0400 To: "Jan Zacharias" , freebsd-performance@freebsd.org From: Mike Tancsa In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner3 X-Virus-Status: Clean Cc: Subject: Re: Samba performance, TCP Stack Issue? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 22:38:39 -0000 At 06:14 PM 9/3/2006, Jan Zacharias wrote: >So far i messed with: > > - ifconfig mtu leave it at 1500 unless everything talking to the box supports jumbo frames. (ie. all routers / switches in between) > - net.inet.tcp settings OK, but what did you fiddle with ? what did you set net.inet.tcp.sendspace ? >net.inet.tcp.recvspace ? >Tuning SO_SNDBUF gave only very little gain, adapting the mtu to match the >win2k box was useless. >W/a net.inet.tcp.inflight.enable enabled the txrate is 2 Mb/s lower, >however 6 Mb/s is still SLOW. 6mega bits or 6 mega Bytes ? ---Mike