Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 11:57:02 +1100
From:      Michael Vince <mv@roq.com>
To:        Monah Baki <mbaki@whywire.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Freebsd 5.4+samba
Message-ID:  <439E1C5E.9070009@roq.com>
In-Reply-To: <75EEA63A-5433-418D-AC2B-74E4F6225D02@whywire.com>
References:  <75EEA63A-5433-418D-AC2B-74E4F6225D02@whywire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?439E1C5E.9070009>