From owner-freebsd-questions@FreeBSD.ORG Tue Dec 13 00:57:04 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3148A16A41F for ; Tue, 13 Dec 2005 00:57:04 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (ppp166-27.static.internode.on.net [150.101.166.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B67D43D58 for ; Tue, 13 Dec 2005 00:57:03 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (localhost [127.0.0.1]) by vault.mel.jumbuck.com (Postfix) with ESMTP id E29148A027; Tue, 13 Dec 2005 11:57:01 +1100 (EST) Received: from [192.168.46.52] (unknown [192.168.46.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vault.mel.jumbuck.com (Postfix) with ESMTP id BD6898A01F; Tue, 13 Dec 2005 11:57:01 +1100 (EST) Message-ID: <439E1C5E.9070009@roq.com> Date: Tue, 13 Dec 2005 11:57:02 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Monah Baki References: <75EEA63A-5433-418D-AC2B-74E4F6225D02@whywire.com> In-Reply-To: <75EEA63A-5433-418D-AC2B-74E4F6225D02@whywire.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd 5.4+samba X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2005 00:57:04 -0000 Monah Baki wrote: > Hi all, > > I just installed Freebsd 5.4 with samba 3.x, I'm running a calyx > software, and the 6 clients are winxp. > The smb.conf is as simple as possible. I noticed that some clients > are very slow to connect to the share drive and run a database search. > The server is a dell 8400 optiplex, no scsi HDD (sata I think), 3Ghz > and 512MB Ram. > I was wandering if there's a way to optimize samba, or freebsd. Right > now performance wise is worse then when they connect to the same > database on a win2003 server and I need to get the win2003 server out > of the picture. > > > Thank you The FreeBSD 5/6 kernel sometimes struggles to pass 100mbits traffic or more, so you have to enable polling. 'man polling' Compile in to your kernel and enable polling Main compile options are. options DEVICE_POLLING options HZ=1000 sysctl.conf kern.polling.idle_poll=1 kern.polling.user_frac=50 kern.polling.enable=1 Then have something like 'ifconfig em0 polling' in /etc/rc.local Mike