From owner-freebsd-performance@FreeBSD.ORG Fri Nov 11 12:13:44 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 0326916A41F for ; Fri, 11 Nov 2005 12:13:44 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACC3D43D45 for ; Fri, 11 Nov 2005 12:13:43 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id BC30D46C24; Fri, 11 Nov 2005 07:13:40 -0500 (EST) Date: Fri, 11 Nov 2005 12:13:40 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Joao Barros In-Reply-To: <70e8236f0511090517g29b3f887x1b97ef5dec04548@mail.gmail.com> Message-ID: <20051111121144.P68007@fledge.watson.org> References: <70e8236f0511050457s5ce6d8batf805fbc9edd91360@mail.gmail.com> <20051109060931.GD5188@obiwan.tataz.chchile.org> <70e8236f0511090517g29b3f887x1b97ef5dec04548@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-performance@freebsd.org, Jeremie Le Hen 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 12:13:44 -0000 On Wed, 9 Nov 2005, Joao Barros wrote: > I tried using a single drive, an IDE and a SCSI-2 and on 2 machines at > work both with a RAID1. Even better, there is a part in my initial email > where I mention that having a 700MB file cached (iostat reported no > reads) the results were the same. With this in mind I don't think the > problem is at the storage level. My feeling is that it is likely related to the network stack -- perhaps a combination of Samba<->sockets and TCP<->Windows, hence pointing at things like TCP settings. It would be quite interesting to know what top -S looks like during (perhaps two minutes into) a long-haul transfer, and the output of systat -vmstat 1. I know Apple has done some work on the efficiency of the FreeBSD SMB client when talking to windows servers relating to how TCP behaves, but haven't heard anything about them looking at similar issues in Samba. Robert N M Watson