From owner-freebsd-performance@FreeBSD.ORG Thu May 25 22:25:35 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 9CF2116CC00 for ; Thu, 25 May 2006 22:22:02 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD88943D73 for ; Thu, 25 May 2006 22:21:56 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so1428466wxd for ; Thu, 25 May 2006 15:21:52 -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=r43TgX6iwgIc2vwWIMMRYUwa/dJfx+Qdlq02afdo208qyb0U8xC8YwZ5e92odUY7ckqdC66+3ugnSdpQbU7jJTuexFDdI/S+YZ+3Jjq5bIfLk8BNTV8F7SmfScEUE3yPZrT/a32sqCJqpKoVdtUfHbgGGGXhxLZB1Rn7ChZIvCc= Received: by 10.70.42.18 with SMTP id p18mr859311wxp; Thu, 25 May 2006 15:21:52 -0700 (PDT) Received: by 10.70.36.13 with HTTP; Thu, 25 May 2006 15:21:52 -0700 (PDT) Message-ID: <70e8236f0605251521l1435d7besef7ccff83d7434c5@mail.gmail.com> Date: Thu, 25 May 2006 23:21:52 +0100 From: "Joao Barros" To: "Mike Jakubik" In-Reply-To: <4475F75C.4090908@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> Cc: freebsd-performance@freebsd.org, Nash Nipples 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: Thu, 25 May 2006 22:25:40 -0000 On 5/25/06, Mike Jakubik wrote: > Nash Nipples wrote: > > Hi Guys, > > > > has anyone actually managed to speed up the thing up to 10-12 MB/s > > > > i have a good 7-9 MB/s on large files and that should be enough, but st= ill, out of curiosity? > > > > > > No, not really. The performance of samba on freebsd still sucks. I have > a gigabit link between my samba server and windows xp workstation, both > use the intel em card. The fastest i can download from the freebsd > server is 15.946 MB/s, fastest upload to is 13.594 MB/s. Thats pretty > poor for a gigabit link. However, 9MB/s on your link is not bad at all, > one has to consider the protocol overhead. > > > Oh by the way: > > 100 MB ethernet > > ping -s 65507 -f windowshost ~ 10-12 MB/s > > ftp open freebsdhost put/get 500MB.file ~ 10-12 MB/s > > net.inet.tcp.inflight.enable=3D1 who said u have to put it down? > > > > This feature limited the speed of LANs, however recent code has aimed to > fix that, but i don't think its in 6.0. I used a recent -CURRENT for the > tests, you should consider updating to -STABLE. That's supposed to be in 6.1, but still the speed still is sub par : On 2/16/06, Andre Oppermann wrote: > andre 2006-02-16 19:38:07 UTC > > FreeBSD src repository > > Modified files: > sys/netinet tcp_input.c tcp_subr.c tcp_timer.h > tcp_var.h > Log: > Have TCP Inflight disable itself if the RTT is below a certain > threshold. Inflight doesn't make sense on a LAN as it has > trouble figuring out the maximal bandwidth because of the coarse > tick granularity. > > The sysctl net.inet.tcp.inflight.rttthresh specifies the threshold > in milliseconds below which inflight will disengage. It defaults > to 10ms. > > Tested by: Joao Barros , > Rich Murphey > Sponsored by: TCP/IP Optimization Fundraise 2005 > > Revision Changes Path > 1.288 +10 -0 src/sys/netinet/tcp_input.c > 1.237 +7 -1 src/sys/netinet/tcp_subr.c > 1.28 +3 -0 src/sys/netinet/tcp_timer.h > 1.127 +1 -0 src/sys/netinet/tcp_var.h > _______________________________________________ --=20 Joao Barros