🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68767

Re: Cyclic-Buffer Sizing Question

#68767
From: Jeffrey M. Vinocur
Date: Tue, 23 Mar 2004 21:01
45 lines
3009 bytes
In article <87ad27mgyh.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>> Jonathan B. Horen wrote:
>
>>>   b. Given a 40GB logical volume, is it more or less efficient to create
>>>      a single, large cyclic buffer (4-8GB) for each class of articles (news
>>>      hierarchies, in the main -- alt, comp, rec), or to use multiple small
>>>      cyclic buffers (2GB) for each class?
>
>I prefer the former setup rather than partitioning your cycbuffs too much.
>You only need to break them out into a lot of separate metacycbuffs if you
>really want to have significantly different expiration times between
>different classes.

Hm, I think the OP is content with his choice of metacycbuffs,
but needs to decide bewteen (for each metacycbuff) one large
cycbuff or multiple small cycbuffs.

I think that, if the SEQUENTIAL option is being used in
cycbuff.conf, the outward behavior of the two choices will be
exactly the same, and it's purely a matter of which will be
a very small bit faster.  (I'm not sure which to recommend in
this case -- probably depends a lot on the details of your setup
and hardware -- but as long as you're not bottlenecking, there's
no reason to lose sleep over it.)

However, if you're willing to disregard the SEQUENTIAL option
(in that case, different cycbuffs will be written in a
round-robin fashion, which can result in articles expiring
slightly out-of-order) and you have multiple physical volumes in
your large logical volume, then it's possible -- although not
guaranteed -- that you might see substantially better performance
with multiple small cycbuffs scattered across different drives.
But again, if you're not bottlenecking, I wouldn't worry about
it.

One caveat; even if you compile INN with large file support, if
your Perl isn't compiled similarly, you can have trouble with
some of the noncritical scripts (e.g. cnfsstat).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <c3q8ih$j3i$1@puck.litech.org>
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!news1.google.com!news.glorb.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
References: <40600161.4080005@mail.iucc.ac.il> <40600655.9010906@mail.iucc.ac.il> <87ad27mgyh.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <c3q8ih$j3i$1@puck.litech.org>
Subject: Re: Cyclic-Buffer Sizing Question
Date: Tue, 23 Mar 2004 21:01:05 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <40600161.4080005@mail.iucc.ac.il> <40600655.9010906@mail.iucc.ac.il> <87ad27mgyh.fsf@windlord.stanford.edu>
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!news1.google.com!news.glorb.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 44
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1080075665 19570 66.218.0.75 (23 Mar 2004 21:01:05 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 23 Mar 2004 21:01:05 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)