From owner-freebsd-stable@FreeBSD.ORG Tue Jul 8 13:28:17 2014 Return-Path: Delivered-To: freebsd-stable@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 0C311148 for ; Tue, 8 Jul 2014 13:28:17 +0000 (UTC) Received: from lucifer.we.lc.ehu.es (lucifer.we.lc.ehu.es [158.227.6.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "lucifer.we.lc.ehu.es", Issuer "CA Dpto Electricidad y Electronica" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4554322E6 for ; Tue, 8 Jul 2014 13:28:14 +0000 (UTC) Received: from ncc-1701.we.lc.ehu.es (ncc-1701.we.lc.ehu.es [158.227.6.85]) (authenticated bits=0) by lucifer.we.lc.ehu.es (8.13.1/8.13.1) with ESMTP id s68D6egE098093 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 8 Jul 2014 15:06:40 +0200 (CEST) (envelope-from jose@we.lc.ehu.es) From: =?iso-8859-1?Q?Jos=E9_Mar=EDa_Alcaide?= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: 9-STABLE nfsd(8) does not auto-tune number of threads (error in the 9.3 Release Notes!) Message-Id: <9E25E155-8236-409D-9A8F-E4A7EF609A9E@we.lc.ehu.es> Date: Tue, 8 Jul 2014 15:06:38 +0200 To: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (lucifer.we.lc.ehu.es [158.227.6.50]); Tue, 08 Jul 2014 15:06:41 +0200 (CEST) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2014 13:28:17 -0000 One of the 9.3-RELEASE Release Notes (userland changes) states that: "The default number of nfsd(8) threads has been increased from 4 to (8 * = N), where N is the number of CPUs as reported by sysctl -n hw.ncpu. = [r262124]" Indeed, revision r262124 = (http://svnweb.freebsd.org/base?view=3Drevision&revision=3D262124) = removes the "-n 4" option from nfs_server_flags in = /etc/defaults/rc.conf. The change is based on the premise that nfsd(8) auto-tunes the number of = threads as (8 * hw.ncpu). That auto-tuning was introduced in HEAD = revision r243637 of nfsd.c = (http://svnweb.freebsd.org/base?view=3Drevision&revision=3D243637), but = it has not been MFC'd to 9-STABLE yet, so that release note *is not = true*. I think that r262124 should be reverted, also removing the release note = mentioned above; or alternatively bring HEAD's nfsd.c on sync with = 9-STABLE (probably a bad idea just before 9.3-RELEASE). Greetings, -- Jos=E9 M. Alcaide Universidad del Pa=EDs Vasco Dpto. de Electricidad y Electr=F3nica Facultad de Ciencia y Tecnolog=EDa 48940 Leioa (Spain)