*BSD News Article 56172


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!swidir.switch.ch!in2p3.fr!oleane!tank.news.pipex.net!pipex!usenet.eel.ufl.edu!spool.mu.edu!howland.reston.ans.net!agate!news.mindlink.net!uniserve!usenet
From: tom@uniserve.com (Tom Samplonius)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: [Q] INN, ACT_STYLE=MMAP and Shared Active Patch
Date: 30 Nov 1995 00:50:51 GMT
Organization: UNIServe Online
Lines: 35
Distribution: world
Message-ID: <49iv5b$np2@atlas.uniserve.com>
References: <49fnn1$174@news.ro.com>
NNTP-Posting-Host: tapehost.uniserve.com
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.6

In article <49fnn1$174@news.ro.com>, mprevost@ro.com says...
>
>Is MMAP buggy in FreeBSD like some UNIXes?  I heard some rumors to that 
>effect.

  Apparently, the msync() call is buggy.  Any program that uses msync() 
to update the disk file will run into problems.

>Has anyone successfully (and reliably) used ACT_STYLE=MMAP and/or the
>nnrpd shared active patch?  Does it really increase performance on a
>FreeBSD 2.1.0 system? 

  It just won't work right.  Core team has confirmed that mmap stuff has 
a bug, since at least one has been fixed in -current.

  There is little performance benefit from it on FreeBSD due to 
intergrated file and vm system.

  Shared memory is a different beast altogether.  Since lots of X 
programs use it, without any reported problems it should work fine.

>If you have, how much shared memory and stuff did you allow for in your
>kernel config file?  I would like to support an active file > 1 MB big 
>(full feed).
>
>(My INN is working fine without MMAP, BTW -- just trying to be as RAM 
>conservative as I can.)
>
>Thanks
>
>--- Mike R. Prevost
>    mprevost@ro.com

Tom