From owner-freebsd-fs@FreeBSD.ORG Mon Dec 17 23:24:02 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4491B8C; Mon, 17 Dec 2012 23:24:02 +0000 (UTC) (envelope-from grog@lemis.com) Received: from w3.lemis.com (w3.lemis.com [208.86.224.149]) by mx1.freebsd.org (Postfix) with ESMTP id 9CC588FC0C; Mon, 17 Dec 2012 23:24:02 +0000 (UTC) Received: from eureka.lemis.com (1032.x.rootbsd.net [208.86.224.149]) by w3.lemis.com (Postfix) with ESMTP id 5B8643B86E; Mon, 17 Dec 2012 23:23:55 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 46911F7952; Tue, 18 Dec 2012 10:23:51 +1100 (EST) Date: Tue, 18 Dec 2012 10:23:51 +1100 From: Greg 'groggy' Lehey To: Dieter BSD Subject: Re: FFS - Still using rotational delay with modern disks? Message-ID: <20121217232351.GB26067@eureka.lemis.com> References: <20121217214413.263570@gmx.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <20121217214413.263570@gmx.com> User-Agent: Mutt/1.4.2.3i Organization: The FreeBSD Project Phone: +61-3-5346-1370 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-fs@freebsd.org, freebsd-performance@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 23:24:02 -0000 --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Monday, 17 December 2012 at 16:44:11 -0500, Dieter BSD wrote: > The newfs man page says: > > -a maxcontig > Specify the maximum number of contiguous blocks that will be laid > out before forcing a rotational delay. =A0The default value is 16. > See tunefs(8) for more details on how to set this option. > > Is this still a good idea with modern drives where the number of > sectors per track varies, and no one but the manufacturer knows how > many sectors a particular track has? No. It looks as if this, and also a number of comments in sys/ufs/ffs/fs.h and sys/ufs/ffs/ffs_alloc.c, are leftovers from the Olden Days. The value isn't used anywhere that I can see. Unless somebody can show that I'm wrong, I'd suggest that this is a documentation issue that I can take a look at. Greg -- Sent from my desktop computer. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft MUA reports problems, please read http://tinyurl.com/broken-mua --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDPqYYACgkQIubykFB6QiMTdgCgnSbwTAVdmMhQmevW58pQkzfa 6YEAmwSLbiObOc/9ezYwrh6RS+yE9Hsh =f3VJ -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--