From owner-svn-src-head@FreeBSD.ORG Thu Jan 9 16:00:36 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6508DB8; Thu, 9 Jan 2014 16:00:36 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C09BC12A7; Thu, 9 Jan 2014 16:00:35 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hq4so3669544wib.2 for ; Thu, 09 Jan 2014 08:00:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=EbgrflZdDkeJ/ebHeofWIGn51SZj4ZMbJlRKHDBSqzQ=; b=Xwa4e1jXpWvWAdMhdoua1JbaiBruNNaTsfc1EzcX1ObQ5l0Lgc5woOyNxOwbANiO76 vfDyHtetK1CqLWS+CisK2DinPRx4iWIqFP0hox9l3a6Xg27ZobPqIvkUjj8xmRmZogFb +TsJkzIvi7WfZReCsAzqqi/z00NsMn8Qi3EYPofoDGYPa61WR90iWV7um/hfvi8G+A4n +iRIT949YQ7vg+ojFXPSGuJUfUpaC4yCh4WN8Jtiy8m7okCOyFZAOaHl2iYDjbIQFuX/ 6eDn3GG3tP537LpT1im5HpO0tYUZnwgM2kCXnUr6W+95VOJUnqyuiskZGRGMxMpUXeG1 zV3g== X-Received: by 10.194.6.42 with SMTP id x10mr3622537wjx.17.1389283234236; Thu, 09 Jan 2014 08:00:34 -0800 (PST) Received: from mavbook.mavhome.dp.ua ([134.249.139.101]) by mx.google.com with ESMTPSA id uq2sm1898720wjc.5.2014.01.09.08.00.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 08:00:33 -0800 (PST) Sender: Alexander Motin Message-ID: <52CEC79F.2090708@FreeBSD.org> Date: Thu, 09 Jan 2014 18:00:31 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: svn commit: r260486 - head/etc/defaults References: <201401091555.s09Fttju004938@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 16:00:36 -0000 On 09.01.2014 17:57, Adrian Chadd wrote: > .. so with say, 128 core boxes showing up, is this really a good default? And what is the price? 16K+ of KVA per thread for thread stack, etc? 4 threads is probably much worse default there. May be nfsd's default could be tuned, but obviously it should not be hardcoded value. > On 9 January 2014 07:55, Alexander Motin wrote: >> Author: mav >> Date: Thu Jan 9 15:55:55 2014 >> New Revision: 260486 >> URL: http://svnweb.freebsd.org/changeset/base/260486 >> >> Log: >> Remove very low default limit of 4 nfsd threads. nfsd's own default is >> 8 * hw.ncpu, that sounds more appropriate for these SMP/NCQ/... days. >> >> Modified: >> head/etc/defaults/rc.conf >> >> Modified: head/etc/defaults/rc.conf >> ============================================================================== >> --- head/etc/defaults/rc.conf Thu Jan 9 15:38:28 2014 (r260485) >> +++ head/etc/defaults/rc.conf Thu Jan 9 15:55:55 2014 (r260486) >> @@ -311,7 +311,7 @@ nfs_client_enable="NO" # This host is a >> nfs_access_cache="60" # Client cache timeout in seconds >> nfs_server_enable="NO" # This host is an NFS server (or NO). >> oldnfs_server_enable="NO" # Run the old NFS server (YES/NO). >> -nfs_server_flags="-u -t -n 4" # Flags to nfsd (if enabled). >> +nfs_server_flags="-u -t" # Flags to nfsd (if enabled). >> mountd_enable="NO" # Run mountd (or NO). >> mountd_flags="-r" # Flags to mountd (if NFS server enabled). >> weak_mountd_authentication="NO" # Allow non-root mount requests to be served. -- Alexander Motin