From owner-freebsd-performance@FreeBSD.ORG Tue May 30 00:10:30 2006 Return-Path: X-Original-To: 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 1F25016A511 for ; Tue, 30 May 2006 00:10:30 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C31643D4C for ; Tue, 30 May 2006 00:10:29 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so170956pye for ; Mon, 29 May 2006 17:10:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=olnQb6fSO5LMCA3ZyXx/yWUswcOLg4gD38EJLONI4kLFYvswI8WuJcCdD2+9GX/NT/pHv8FeKp1DvW76kjH10BfgXF5qus2H8aENejBwiDnEMxnmRK6tBLTVvPrahV6TG2B2/gfcwhNBG/UMFoKwv0xcWR+z8QvgrlVmIDorFuk= Received: by 10.35.31.14 with SMTP id i14mr3887955pyj; Mon, 29 May 2006 17:10:29 -0700 (PDT) Received: by 10.35.35.20 with HTTP; Mon, 29 May 2006 17:10:29 -0700 (PDT) Message-ID: <70e8236f0605291710r70a32df4yfcfdba18d1bbb0a9@mail.gmail.com> Date: Tue, 30 May 2006 01:10:29 +0100 From: "Joao Barros" To: "Mike Jakubik" In-Reply-To: <44788DB2.6070709@rogers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> <4475F75C.4090908@rogers.com> <447879D3.1070204@WhiteOakLabs.com> <44788DB2.6070709@rogers.com> Cc: "Dr. Rich Murphey" , performance@freebsd.org Subject: Re: Poor Samba throughput on 6.0 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: Tue, 30 May 2006 00:10:30 -0000 On 5/27/06, Mike Jakubik wrote: > Dr. Rich Murphey wrote: > > I get 25 to 30MB/sec between FreeBSD 6.0 and Windows XP > > clients with tcp.inflight disabled and interrupt polling enabled > > on a 1gb link without jumbo frames. > > > > The various Linux distributions do about the same on this hardware - > > 3ware striped raid arrays, dual xeon, and 2Gb ram. > > > > in smb.conf I'm using: > > socket options =3D TCP_NODELAY > > strict locking =3D no > > use sendfile =3D yes > > > > Adding the last two options of my setup increased the upload rate by > about 2MB/s, with peaks totaling to 20MB/s. The download rate has not > been effected however. I went from 7.5MB/s up to 9.3MB/s on a 100FD connection just by adding that same last 2 options, I only had "socket options =3D IPTOS_LOWDELAY TCP_NODELAY" Thanks Rich! > > > 6.1 should be easier to tune in that tcp.inflight is selectively > > disabled by default for low latency (LAN) connections. > > I am using -CURRENT here, disabling net.inet.tcp.inflight improves the > download rate by 2MB/s! > How old is that CURRENT? I believe that shouldn't happen after Andre's commit back in March. I can't see any difference toggling inflight on or off. --=20 Joao Barros