From owner-freebsd-performance@FreeBSD.ORG Sat Nov 5 12:57:56 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 35B3716A41F for ; Sat, 5 Nov 2005 12:57:56 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F95343D55 for ; Sat, 5 Nov 2005 12:57:52 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so86524wxc for ; Sat, 05 Nov 2005 04:57:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=kFnQ9Nly3wV3dLaR9To2c4NTvfovOlS5WpD+wq4C49MhLete2gfVeDMN0gceLdOWhIzHZb506rc3BsfRtPiJrboEnSJhh4V3rwrMbVmsg5yz1i8SgKeLDnACiWzYxD460BX7swLgThqEvBKcXYN6W0g570iFkZitFU0hbrvUrcQ= Received: by 10.70.24.17 with SMTP id 17mr3040998wxx; Sat, 05 Nov 2005 04:57:51 -0800 (PST) Received: by 10.70.9.10 with HTTP; Sat, 5 Nov 2005 04:57:51 -0800 (PST) Message-ID: <70e8236f0511050457s5ce6d8batf805fbc9edd91360@mail.gmail.com> Date: Sat, 5 Nov 2005 12:57:51 +0000 From: Joao Barros To: freebsd-performance@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: 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: Sat, 05 Nov 2005 12:57:56 -0000 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 ca= ched. 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