From owner-freebsd-performance@FreeBSD.ORG Fri Nov 11 20:54:52 2005 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 D916216A41F; Fri, 11 Nov 2005 20:54:52 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id D243643D9D; Fri, 11 Nov 2005 20:54:32 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E21A.dip.t-dialin.net [84.165.226.26]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id jABKVbp2012719; Fri, 11 Nov 2005 21:31:38 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id jABKsPin092576; Fri, 11 Nov 2005 21:54:25 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Fri, 11 Nov 2005 21:54:24 +0100 From: Alexander Leidinger To: Joao Barros Message-ID: <20051111215424.1f553135@Magellan.Leidinger.net> In-Reply-To: <70e8236f0511100231k67d8c940p2a1875d0c09f406d@mail.gmail.com> References: <70e8236f0511050457s5ce6d8batf805fbc9edd91360@mail.gmail.com> <20051109060931.GD5188@obiwan.tataz.chchile.org> <70e8236f0511090517g29b3f887x1b97ef5dec04548@mail.gmail.com> <70e8236f0511090627p24c90400ke39bdb0da222a323@mail.gmail.com> <4372184C.10809@mebius.lv> <43727712.4020500@rogers.com> <20051110090429.J33260@fledge.watson.org> <70e8236f0511100231k67d8c940p2a1875d0c09f406d@mail.gmail.com> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Mike Jakubik , freebsd-performance@freebsd.org, Robert Watson , Arkadi Shishlov 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: Fri, 11 Nov 2005 20:54:53 -0000 On Thu, 10 Nov 2005 10:31:03 +0000 Joao Barros wrote: > On 11/10/05, Robert Watson wrote: > > On Wed, 9 Nov 2005, Mike Jakubik wrote: > > > > > I have done many tests to try to determine the poor performance on my > > > systems (FreeBSD-current connected directly to Windows XP via identical > > > Intel Pro 1000 cards) and my only conclusion is that Samba on FreeBSD > > > when talking to a Windows box is simply fubared. Im willing to bet thats > > > not the case on Linux. I can get great speeds (~30MB/s) using ftp > > > between the machines, but when i use Samba, i get a maximum of 11MB/s. I > > > have tried playing with mtu size, samba options, polling, but there does > > > not seem to be any visible bottlenecks, its just simply slow. It would > > > be great if someone could get to the bottom of this, its quite > > > frustrating. > > > > There are a number of TCP related configuration frobs on FreeBSD. It > > would be quite interesting to know how modifying each of the following > > settings affects Samba performance: > > > > net.inet.tcp.delayed_ack > > net.inet.tcp.sack.enable > > net.inet.tcp.inflight.enable > > > > There has been recent evidence that the inflight bandwidth calculation is > > having problems generating stable performance at high bandwidth and low > > latency, so I might try that one first. > > > > Robert N M Watson > > I just tested on my home machine and delayed_ack and sack.enable have > little or no effect on the results. > inflight.enable on the other hand had a huge impact! With the file > cached I've gone from flat 5.5MB/s up to also flat 7.2MB/s > It's an improvement but there is still a difference up to those > theoretical 12.5MB/s on a 100mbit link Please try if http://leaf.dragonflybsd.org/mailarchive/kernel/2005-07/msg00036.html applies to FreeBSD and test it with inflight enabled. Bye, Alexander. -- Yes, I've heard of "decaf." What's your point? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7