From owner-freebsd-hackers Wed Jul 10 17:38:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4491B37B400; Wed, 10 Jul 2002 17:38:37 -0700 (PDT) Received: from ns.aus.com (adsl-64-175-244-12.dsl.sntc01.pacbell.net [64.175.244.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9EE543E31; Wed, 10 Jul 2002 17:38:36 -0700 (PDT) (envelope-from rsharpe@ns.aus.com) Received: from localhost (rsharpe@localhost) by ns.aus.com (8.11.6/8.11.6) with ESMTP id g6B1opL05404; Thu, 11 Jul 2002 11:20:51 +0930 Date: Thu, 11 Jul 2002 11:20:51 +0930 (CST) From: Richard Sharpe To: Chad David Cc: , Subject: Re: tuning for samba In-Reply-To: <20020710180711.A43342@colnta.acns.ab.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 ----- Richard Sharpe, rsharpe@ns.aus.com, rsharpe@samba.org, sharpe@ethereal.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message