*BSD News Article 79597


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!news.sgi.com!news.mathworks.com!uunet!in1.uu.net!netnews.nwnet.net!nwnet.net!not-for-mail
From: aad@nwnet.net (Anthony D'Atri)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: INN under BSDi-2.1, can I use MMAP for active file?
Date: 30 Sep 1996 15:32:11 -0700
Organization: NorthWestNet, Bellevue, WA, USA, Earth
Lines: 9
Message-ID: <52phpb$8a0@olympus.nwnet.net>
References: <1996Sep30.174304@hujicc>
Reply-To: aad@nwnet.net
NNTP-Posting-Host: olympus.nwnet.net

>  The FAQ for INN claims that under BSD/OS version 2.0 one should not use MMAP
>to read the active file, only the history one. Any idea whether this has been
>changed with version 2.1?

2.0[1] and 2.1 don't behave any differently for me.  MMAP on the active file
works most of the time when one inserts the msync() call in icd.c.  I found
that I was getting occasional (once every week or eight) spurious throttles,
though, so I backed it out.