From owner-freebsd-performance@FreeBSD.ORG Sun Jan 23 21:09:10 2005 Return-Path: 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 393EF16A4CE for ; Sun, 23 Jan 2005 21:09:10 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0CE043D3F for ; Sun, 23 Jan 2005 21:09:09 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id j0NL8kk7053402; Sun, 23 Jan 2005 16:08:46 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)j0NL8kxS053399; Sun, 23 Jan 2005 21:08:46 GMT (envelope-from robert@fledge.watson.org) Date: Sun, 23 Jan 2005 21:08:45 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Eric Anderson In-Reply-To: <41EFEBFE.8050505@centtech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-performance@freebsd.org cc: Mike Tancsa Subject: Re: NFS and SAMBA on RELENG_5 vs RELENG_4 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2005 21:09:10 -0000 On Thu, 20 Jan 2005, Eric Anderson wrote: > I can tell you this - you must increase the number of nfsd threads to a > high number, if you plan on really hammering the machine with nfs and > lots of clients. I recompiled the nfsd binary with it tweaked to allow > 256 threads, and that still isn't quite enough. You need something on > the order of: 1 per active machine using nfs * 1.10. The hard part is > finding out how many active machines you have. I usually start with > about 20% of my total machines mounted to the server, and then watch the > nfsd threads cpu time. If the lowest thread is using more than about > 3-4% of the time of the 10-15th top nfsd process, then you need to bump > up the number. That may be confusing.. Hmm. So it sounds like it would make sense for us to do that in the src tree. Is it sufficient to simply redefine MAXNFSDCNT from 20 to 256, or do other things also need tweaking? Robert N M Watson