From owner-freebsd-fs@freebsd.org Mon Jul 6 19:19:58 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDF3AAAC6 for ; Mon, 6 Jul 2015 19:19:58 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from mail.physics.umn.edu (smtp.spa.umn.edu [128.101.220.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B8381D3F for ; Mon, 6 Jul 2015 19:19:57 +0000 (UTC) (envelope-from allan@physics.umn.edu) Received: from peevish.spa.umn.edu ([128.101.220.230]) by mail.physics.umn.edu with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1ZCBvo-0007VX-Vi for freebsd-fs@freebsd.org; Mon, 06 Jul 2015 14:19:56 -0500 Received: by peevish.spa.umn.edu (Postfix, from userid 5000) id E310B136; Mon, 6 Jul 2015 14:19:56 -0500 (CDT) Date: Mon, 6 Jul 2015 14:19:56 -0500 From: Graham Allan To: freebsd-fs@freebsd.org Subject: increasing MAXNFSDCNT Message-ID: <20150706191956.GL12772@physics.umn.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2015 19:19:58 -0000 Regarding the maximum number of nfs server threads, is increasing the "#define MAXNFSDCNT 256" in nfsd.c the only thing needed to try higher values? My FreeBSD nfs servers are still just at 128 threads, but I was experimenting with one of our linux servers which became happy at 512 threads (really ~400 in use under load). The load profile is pretty similar, so it might be reasonable to expect ending up around the same value. Graham --