From owner-freebsd-performance@FreeBSD.ORG Thu Nov 10 02:00:45 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 2D84316A41F for ; Thu, 10 Nov 2005 02:00:45 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by mx1.FreeBSD.org (Postfix) with SMTP id 9A0B543D48 for ; Thu, 10 Nov 2005 02:00:44 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 59817 invoked from network); 10 Nov 2005 02:00:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=bOklKvTTu/McE/dGbEssCgota5aEjUQU3TihhPryFpzU0Ju/QYYmQsZ/6M0uBmztKTdzhkTDjjjeWOV5ykAk4M2myh75lF92Od3gWbKL1MRUeX0Jjgyi2658TlxnGnDr0kSM6OIk+Efd9ZyoFSbTcqCZY3wqhBlkIjrkwOl6aWY= ; Received: from unknown (HELO ?172.16.0.199?) (mikej@rogers.com@70.31.50.81 with plain) by smtp102.rog.mail.re2.yahoo.com with SMTP; 10 Nov 2005 02:00:40 -0000 Message-ID: <4372A9C9.2090803@rogers.com> Date: Wed, 09 Nov 2005 21:00:41 -0500 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: Nick Evans 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> <20051109173634.22391fec@pleiades.nextvenue.com> In-Reply-To: <20051109173634.22391fec@pleiades.nextvenue.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org, 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: Thu, 10 Nov 2005 02:00:45 -0000 Nick Evans wrote: > On Wed, 09 Nov 2005 17:24:18 -0500 > 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. >> >> > > Has anyone tried mounting a FreeBSD/Samba share with smbfs from another > FreeBSD machine? Also are the Windows PC's stock or have you tried tweaking > TCP there? > Yes, here are my results, WindowsXP is stock. Machine A ----------- FreeBSD 7.0-CURRENT CPU: AMD Athlon(tm) Processor (1410.21-MHz 686-class CPU) Mem: 512MB em0: Samba-3.0.20b,1 server Machine B ----------- Dual boot FreeBSD 6R and WndowsXP CPU: AthlonXP 2400 Mem: 1GB em0: Samba client Tests sending a random 400MB file: A sending to B(FreeBSD) -------------------------- Samba = 13MB/s Ftp = 16MB/s A sending to B(WindowsXP) ----------------------------- Samba = 13MB Ftp = 16MB B(FreeBSD) sending to A -------------------------- Samba = 2.5MB/s Ftp = 25MB/s B(WindowsXP) sending to A ----------------------------- Samba = 17MB/s Ftp = 31MB/s Very, very odd results. Machine B has raid0, yet it experiences the slowest incoming speeds in ftp. I cant begin to imagine where the problem is, but we can see that there is no real hardware bottlenecks.