From owner-freebsd-performance@FreeBSD.ORG Fri Sep 29 16:13:09 2006 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 6EA3116A492 for ; Fri, 29 Sep 2006 16:13:09 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp107.rog.mail.re2.yahoo.com (smtp107.rog.mail.re2.yahoo.com [68.142.225.205]) by mx1.FreeBSD.org (Postfix) with SMTP id 09F5743D7C for ; Fri, 29 Sep 2006 16:13:07 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 35736 invoked from network); 29 Sep 2006 16:13:07 -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=Z0vKeYjdVuNQ26V0V6GnVA0GANftg31Tgf4TgBQHtnqaUpdwNwXd4dbJOhz0DEHelhTzAUcXvZcXTK9oKK//FsVMLMb5uvwY/S4HeXLFt5VUdomKOaxY4oEIeF3lQkAabMRGvTVUSrwWI/6UXxcUIE0Zy+dESA/ncXZLU4JSsHU= ; Received: from unknown (HELO ?127.0.0.1?) (mikej@rogers.com@74.111.253.239 with plain) by smtp107.rog.mail.re2.yahoo.com with SMTP; 29 Sep 2006 16:13:06 -0000 Message-ID: <451D4630.7040902@rogers.com> Date: Fri, 29 Sep 2006 12:13:36 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Olivier Cochard-Labbe References: <3131aa530609290721o267d55bakff4e801ef4000675@mail.gmail.com> In-Reply-To: <3131aa530609290721o267d55bakff4e801ef4000675@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org Subject: Re: Samba Performance problem 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, 29 Sep 2006 16:13:09 -0000 Olivier Cochard-Labbe wrote: > Hi all, > > I meet a performance problem with my customized distro of FreeBSD > 6.1(FreeNAS). > Lot's of FreeNAS users compare the performance of FreeNAS with Linux, and > the Samba performance are very poor under FreeNAS (but not with NFS or > FTP). > > ... > But there is no change too... How can I improve the Samba performace ? Basically, you can't. Samba has always lacked in performance on FreeBSD, it has been discussed many times and AFAIK no solution has been found. You can also try adding these to smb.conf.: use sendfile = yes strict locking = no