From owner-freebsd-performance@FreeBSD.ORG Wed Nov 9 02:48:38 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 2B84D16A41F for ; Wed, 9 Nov 2005 02:48:38 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id D17AC43D48 for ; Wed, 9 Nov 2005 02:48:37 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id C29DA4CE68; Wed, 9 Nov 2005 02:48:49 +0000 (GMT) Received: from [192.168.46.52] (ppp166-27.static.internode.on.net [150.101.166.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by p4.roq.com (Postfix) with ESMTP id DC33C4CE09; Wed, 9 Nov 2005 02:48:48 +0000 (GMT) Message-ID: <43716381.4010601@roq.com> Date: Wed, 09 Nov 2005 13:48:33 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051019 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joao Barros References: <70e8236f0511050457s5ce6d8batf805fbc9edd91360@mail.gmail.com> In-Reply-To: <70e8236f0511050457s5ce6d8batf805fbc9edd91360@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-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: Wed, 09 Nov 2005 02:48:38 -0000 Joao Barros wrote: >Hi, > >Last month I started a thread[1] on current@ about this, but I guess I >should have done it here, my apologies for that. > >After my initial post I did some more testing and I'm going to start >clean here with all my findings :) > >I started with Samba 3 installed on a PIII 733MHz with fxp (82559) and >a RAID5 consisting of 4 drives connected to an amr. >Performance reading or writing was poor, around 5.5MB/s measured on >two Windows clients and iostat never topped that by much. >cpu was mbufs were available and there were no IRQs shared. >To dismiss the amr out of the question I tried with a local IDE >attached yielding the same results. >I then tested the same on a machine I have at work, an HP Proliant >server, Pentium 4 3.06GHz, used SMP instead of GENERIC to use HTT. >I could get 8MB/s with 2 read or write simultaneous operations. With 1 >operation I still can only get 6MB/s >This machine has 1GB ram and after copying a 700MB file to it it was all cached. >A copy to dev/null took 1 second. >A copy via samba took the same time as if there was no cache for it. >iostat always showed 0.0 during the operation so that pretty much >takes disks, controllers, IO out of the picture. > >Both machines have cpu, IO and mbufs to spare and they still can't use >them. Why? > > >[1] http://lists.freebsd.org/pipermail/freebsd-current/2005-October/057116.html > >-- >Joao Barros >_______________________________________________ > > Sometime in the near future I will be building a Samba3 server and I plan to get everything I can get out of it, I expect to uncover a lot of needed tweaks to get it going fast. My guess would be to you try at least turning on polling, also if its only 100mbit Ethernet/switches you got then I guess you cant expect much either. Mike