NetBSD Problem Report #17397
Received: (qmail 25863 invoked by uid 605); 25 Jun 2002 21:18:03 -0000
Message-Id: <20020625211800.B438EAC@proven.weird.com>
Date: Tue, 25 Jun 2002 17:18:00 -0400 (EDT)
From: woods@weird.com (Greg A. Woods)
Sender: gnats-bugs-owner@netbsd.org
Reply-To: woods@planix.com (Greg A. Woods)
To: gnats-bugs@gnats.netbsd.org
Subject: defopt/devparam NBUF (and document it)
X-Send-Pr-Version: 3.95
>Number: 17397
>Category: kern
>Synopsis: defopt/devparam NBUF (and document it)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jun 25 21:19:00 +0000 2002
>Closed-Date: Sun May 04 01:57:36 +0000 2003
>Last-Modified: Fri Apr 28 21:43:19 +0000 2006
>Originator: Greg A. Woods
>Release: NetBSD-current 2002/06/23
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD
>Description:
NBUF is a tunable option and should be documented and
defopt'ed/defparam'ed.
>How-To-Repeat:
>Fix:
a description that I think is correct, for options(4):
options NBUF=value
Sets the number of buffer headers available, i.e. the number of
open files that may have a buffer cache entry. Each buffer header
requires MAXBSIZE (machine dependent, but usually 65536) bytes.
The default value is machine dependent, but is usually equal to the
value of BUFPAGES. If an architecture dependent VM_MAX_KERNEL_BUF
constant is defined then NBUF may be reduced at run time so that
the storage allocated for buffer headers doesn't exceed that limit.
I think this is everything else that's necessary in this case
since opt_bufcache.h is already supported or other options.
Index: files
===================================================================
RCS file: /cvs/master/m-NetBSD/main/syssrc/sys/conf/files,v
retrieving revision 1.530
diff -c -c -r1.530 files
*** files 21 May 2002 03:05:00 -0000 1.530
--- files 25 Jun 2002 21:10:32 -0000
***************
*** 113,119 ****
# buffer cache size options
#
! defparam opt_bufcache.h BUFCACHE BUFPAGES
# userconf
#
--- 113,119 ----
# buffer cache size options
#
! defparam opt_bufcache.h BUFCACHE BUFPAGES NBUF
# userconf
#
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: gmcgarry
State-Changed-When: Sun May 4 01:57:06 UTC 2003
State-Changed-Why:
Updated options(4). Didn't bother defopting it.
From: Gregory McGarry <gmcgarry@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/17397 CVS commit: src/share/man/man4
Date: Sun, 4 May 2003 01:56:54 +0000 (UTC)
Module Name: src
Committed By: gmcgarry
Date: Sun May 4 01:56:53 UTC 2003
Modified Files:
src/share/man/man4: options.4
Log Message:
Add description for NBUF. From Greg A. Woods in PR#17397.
To generate a diff of this commit:
cvs rdiff -r1.209 -r1.210 src/share/man/man4/options.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.