Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!howland.erols.net!math.ohio-state.edu!jussieu.fr!not-for-mail From: bouyer@antifer.ibp.fr (Manuel BOUYER) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: How to set Buffer Cache size Date: 21 Nov 1996 14:07:52 GMT Organization: Universites Paris VI/Paris VII - France Lines: 18 Message-ID: <571nno$48c@vishnu.jussieu.fr> References: <32939852.5F11@ucsd.edu> NNTP-Posting-Host: antifer.ibp.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Newsview 0.39 (last pre-beta) Larry Riedel (larryr@ucsd.edu) wrote: > Where should I be looking to find out how to set the size of the buffer > cache for NetBSD 1.2? Normally I would assume it is the responsibility > of the OS to dynamically size the cache based on demand, but I do not > think this is happening for NetBSD. Rather than RTFSource I thought it > would be better to see if it isn't accurately documented someplace else. The buffer cache is of fixed size under NetBSD. Its size is computed at boot time, depending on how much memory you have, etc... You can force the size of the buffer cache by putting a line like: options BUFPAGES=2048 in your kernel config file. In this example, you will get a buffer of 2048 pages of 4k (on the i386), which makes 8Mb. -- Manuel Bouyer, MASI, Universite Paris VI. email: bouyer@masi.ibp.fr --