*BSD News Article 91445


Return to BSD News archive

Newsgroups: comp.unix.bsd.bsdi.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!EU.net!uunet!in3.uu.net!165.254.2.52!news.new-york.net!news.spc.edu!spcuna.spc.edu!not-for-mail
From: Terry Kennedy <terry@spcuna.spc.edu>
Subject: Re: Optimum buffer cache size for INN
Content-Type: text/plain; charset=US-ASCII
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961018]
X-Nntp-Posting-User: terry
Sender: news@spcuna.spc.edu (USENET News)
Content-Transfer-Encoding: 8bit
Organization: St. Peter's College, US
Lines: 22
Message-ID: <E7BvMv.Czz@spcuna.spc.edu>
References: <5gqbhq$1s5$1@news.theriver.com>
Mime-Version: 1.0
X-Trace: 858837990/15414
X-Nntp-Posting-Host: spcuna.spc.edu
Date: Thu, 20 Mar 1997 06:06:31 GMT
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6374

Marcus Needham <marcus@theriver.com> writes:
> Has anyone got any info on whether it is worth increasing the buffer cache
> on an IO-bound news server with 128MB RAM?  If so where is this set?  I have 
> looked in the kernel config file and in boot.default with no luck.

  It's a great improvement for the news servers I run (but I don't run INN -
I run C News, #63 in the Feb '97 Usenet Top 1000 - I think this is the top-
ranked C News system on that list).

  I'm using a 32MB buffer cache on systems with 128MB of memory. I do it by
modifying the kernel configs, although I'm told there are now (2.1 and later)
boot flags to tweak this:

# Stuff for large-system configurations
options		"KMEMSIZE=\(16*1024*1024\)"
options		"BUFMEM=\(32*1024*1024\)"
options		KMAPENTRIES=2048
options		NMBCLUSTERS=1024

	Terry Kennedy		  Operations Manager, Academic Computing
	terry@spcvxa.spc.edu	  St. Peter's College, Jersey City, NJ USA
        +1 201 915 9381 (voice)   +1 201 435-3662 (FAX)