From nobody@FreeBSD.org  Wed Mar  7 23:12:39 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2295216A400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Mar 2007 23:12:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 1282A13C467
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Mar 2007 23:12:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l27NCcUk070977
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Mar 2007 23:12:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l27NCcgd070976;
	Wed, 7 Mar 2007 23:12:38 GMT
	(envelope-from nobody)
Message-Id: <200703072312.l27NCcgd070976@www.freebsd.org>
Date: Wed, 7 Mar 2007 23:12:38 GMT
From: Alan Amesbury<amesbury@umn.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] tuning(7) missing reference to vfs.read_max
X-Send-Pr-Version: www-3.0

>Number:         110061
>Category:       docs
>Synopsis:       [patch] tuning(7) missing reference to vfs.read_max
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 07 23:20:04 GMT 2007
>Closed-Date:    Fri Mar 15 23:22:41 UTC 2013
>Last-Modified:  Fri Mar 15 23:22:41 UTC 2013
>Originator:     Alan Amesbury
>Release:        6.1-RELEASE-p10
>Organization:
University of Minnesota
>Environment:
FreeBSD paulaner.oitsec.umn.edu 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #5: Tue Oct  3 13:31:01 CDT 2006     root@paulaner.oitsec.umn.edu:/usr/obj/usr/src/sys/OITSEC-6-IS  i386
>Description:
The tuning(7) manpage is missing documentation for vfs.read_max.  Since this knob can have a measurable, sometimes drastic, improvement on read performance for some systems, I think it deserves some mention.
>How-To-Repeat:
Read tuning(7) and note absence of mention of vfs.read_max.
>Fix:
This patch, derived against

$FreeBSD: src/share/man/man7/tuning.7,v 1.72 2005/06/30 13:04:25 hmp Exp $


may work.

---------- Patch for tuning(7) ----------

--- tuning.7.ORIG       Wed Mar  7 16:37:36 2007
+++ tuning.7    Wed Mar  7 17:04:37 2007
@@ -464,6 +464,13 @@
 higher write queueing values may add latency to reads occurring at the same
 time.
 .Pp
+The
+.Va vfs.read_max
+sysctl (default 8) determines how many blocks to read ahead during sequential
+reads.  For system loads where lots of sequential reading is done,
+increasing this to 16 or 32 may increase performance, particularly for
+RAID systems.
+.Pp
 There are various other buffer-cache and VM page cache related sysctls.
 We do not recommend modifying these values.
 As of

-------- End patch for tuning(7) --------

I wasn't able to attach the patch using the webform's "And/or patch file" option, as it didn't seem to think it was a patch.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: pluknet 
State-Changed-When: Tue Nov 30 14:10:30 UTC 2010 
State-Changed-Why:  
Documented in HEAD (see svn r211244). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110061 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Fri Mar 15 23:22:40 UTC 2013 
State-Changed-Why:  
MFCed/fixed by now or it will never be MFCed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110061 
>Unformatted:
