🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52997

Re: CNFS buffers never fill up ?

#52997
From: Kjetil Torgrim Homme
Date: Fri, 22 Jun 2001 00:18
45 lines
3154 bytes
[Karsten Thygesen]

>   Russ Allbery <rra@stanford.edu> writes:
>   
>   
>   > Karsten Thygesen <karthy@sonofon.dk> writes:
>   > 
>   > > Hmmm...Just a thought - why is it required to define the size
>   > > in a config file? Why not let INN determine the size it self?
>   > > The same goes for the overview buffers?
>   > 
>   > That's a good point.  You have to specify the size if you're
>   > using raw partitions for CNFS cycbuffs since INN can't figure
>   > out how big they are by itself, but for the rest it should be
>   > able to figure it out.  I'll add that to the list of things to
>   > look at after cycbuff.conf is assimilated by the new
>   > configuration file parser.
>   
>   Thanks a lot - that will simplify stuff quite a bit.

Currently, you don't have to mkfile the cycbuffs -- they will grow up
to your specified size.  It's probably not a good idea -- I guess it
depends on your file system which gives better performance -- it's not
unthinkable that allocate-as-you-go gives better locality of reference
on the disk media.  During the first cycle, that is :-) I guess
allocate-as-you-go works best for "store-forever" local hierarchies.

>   Once you have emacs opened anyway, you might as well consider, if
>   there is any way to build metabuffers consisting of cycbuffs of
>   _different_ sizes. Right now, INN will distribute articles in a
>   round-robin like algorithm, but if a metabuff consists of
>   different sized cycbuffs, it must distribute artciles weighted by
>   the size of the cycbuffs. So one buffer, which is two times as
>   large as the others receives twice as many (based on size)
>   articles/bytes. If we use this algorithm, all buffers will rotate
>   at the same speed which gives a natural expire system.

You can tell INN to use the buffers in SEQUENTIAL order rather than
INTERLEAVEd (round robin).  That is, first fill cycbuff 1, then
cycbuff 2.  Check out cycbuff.conf(5).


Kjetil T.

Technical Details
Message-ID: <1rhex9pdsi.fsf@thrir.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <9gqb96$ioe$1@news.tudelft.nl> <tj1fluftbob591@news.supernews.com> <86bsnit8c8.fsf@kaytest.aalborg.dmt.dk> <ylelse9jic.fsf@windlord.stanford.edu> <867ky6t4ia.fsf@kaytest.aalborg.dmt.dk>

Show Full Headers
Complete Article Headers
Message-ID: <1rhex9pdsi.fsf@thrir.ifi.uio.no>
Subject: Re: CNFS buffers never fill up ?
Date: Fri, 22 Jun 2001 00:18:53 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <9gqb96$ioe$1@news.tudelft.nl> <tj1fluftbob591@news.supernews.com> <86bsnit8c8.fsf@kaytest.aalborg.dmt.dk> <ylelse9jic.fsf@windlord.stanford.edu> <867ky6t4ia.fsf@kaytest.aalborg.dmt.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, University of Oslo, Norway
Lines: 44
NNTP-Posting-Host: thrir.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 993169134 1231 129.240.66.152 (22 Jun 2001 00:18:54 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 22 Jun 2001 00:18:54 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7