atom feed19 messages in org.freebsd.freebsd-hackersRe: tuning for samba
FromSent OnAttachments
Chad DavidJul 10, 2002 5:06 pm 
Daniel O'ConnorJul 10, 2002 5:14 pm 
Daniel O'ConnorJul 10, 2002 5:15 pm 
Chad DavidJul 10, 2002 5:40 pm 
Chad DavidJul 10, 2002 5:44 pm 
Daniel O'ConnorJul 10, 2002 6:03 pm 
Richard SharpeJul 10, 2002 6:50 pm 
Richard SharpeJul 10, 2002 7:09 pm 
Dan NelsonJul 10, 2002 7:35 pm 
Chad DavidJul 10, 2002 8:30 pm 
Darren PilgrimJul 10, 2002 11:30 pm 
Darren PilgrimJul 11, 2002 12:15 am 
Darren PilgrimJul 11, 2002 12:33 am 
Richard SharpeJul 11, 2002 12:52 am 
Richard SharpeJul 11, 2002 1:32 am 
Chad DavidJul 11, 2002 7:32 am 
Doug BartonJul 14, 2002 2:45 pm 
Richard SharpeJul 14, 2002 4:15 pm 
Chad DavidJul 23, 2002 11:39 am 
Subject:Re: tuning for samba
From:Richard Sharpe (rsha@ns.aus.com)
Date:Jul 10, 2002 6:50:29 pm
List:org.freebsd.freebsd-hackers

On Wed, 10 Jul 2002, Chad David wrote:

A local company has been having issues with samba for some time (it kills an e250, and has seriously stressed an e5000) and I've been telling the admin (half seriously) that he should just toss it on a PC with FreeBSD. Well they finally got tired of hearing FreeBSD this and FreeBSD that and asked me to bring a box in if I was so confident... tomorrow morning at 9am. So, I'm building a new box tonight and was wondering if anybody has any tried and true tuning parameters for samba on -stable. They currently have ~700 users attached. The load per user is pretty low but just rebooting and handling the reconnects has killed small boxes.

As others have said, memory is an issue.

In some 'benchmark' testing, I have noticed that FreeBSD holds up pretty well to large numbers of connects coming in at one time, say compared to Linux. Starting up 100 clients during about two or three seconds (as long as it takes to fork 100 processes on the driver) does not kill a FreeBSD Samba server as much as it does a Linux server running Linux 2.4.x.

Certainly, a 2GB machine that I regularly test against does not notice the smbds start up all that much.

As a side note, the data being served will be attached to the samba server via NFS.

Hmmm, some of the locking stuff might be an issue then ...

Regards

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message