🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #10341

Re: Probs with innfeed 0.8.5b on Solaris

#10341
From: coneill
Date: Thu, 22 Aug 1996 00:00
65 lines
3835 bytes
On 22 Aug 1996 17:09:39 -0500, Joe Greco <jgreco@brasil.moneng.mei.com> wrote:
>In news.software.nntp article <slrn51plk2.j0.coneill@luser.halo.net>, coneill@lu
>People have financial obligations to peers?  :-)  Well, I don't...

Well, we've seen huge performance increases by putting <250000 on all of our
feeds.  You might want to try it on a few feeds and see how it turns out.

>:You're right, this will be the best solution.  What will be even nicer is if
>:we can change the on disk format of articles to include dot escaping and
>:\n\r line termination.  That whould be nice since you would only have to
>:preprocess the header, and then send the rest of the article across in a
>:single write from an mmap'ed file.
>
>I would tend to agree.  This is HIGHLY efficient...  FreeBSD does this in
>its ftpd, just mmap-and-write it and let the kernel deal with it.
>
>The disadvantage, obviously, in changing the spool format is that it may
>break compatibility with a lot of existing software, including newsreaders
>that access the spool via NFS, etc.
>
>I think that that's a sufficiently powerful argument _against_ changing
>the spool format, even as tempting as it sounds.  Besides, CPU is 
>relatively cheap, and writing out a writev/iovec isn't a bad alternative
>(unless you're on a SVR4 system).

I think the better solution would be to have a general purpose spool access
library that can handle accessing it in a manner independent of the way it's
stored.  Ideally I'd like to see this have the ability to fall back from one
method to another, possibly even different methods for different types of
requests.  This could be a big win for people that want to keep 2-3 days of
news locally and then NFS mount a large spool, and have service requests
that fail locally across NFS, or even nntp.  

The real problem is that someone has to write it, and then integrate it into
inn, innfeed, nntplink, etc, etc.  This is the real chore, but really needs
to be done if we're ever going to move to using different storage methods
depending on what is most applicable.  There is no reason one storage method
has to work for everyone.  (Personally I'm not interested in the local spool
format at all, but I do prefer a unix fs based spool since it makes writing
administration tools easier)

>I ran some tests earlier (and even panicked a machine), it looks like 
>all the UNIX variants I tested could easily handle 1000 or even 10000 
>simultaneously mmap'd articles.  One of my FreeBSD boxes got up into 
>the 45000's before it died on a panic, I was a bit disappointed that it
>panicked.
My stats are showing that with about 15-20 feeds I was keeping about 150
article in memory at a time w/innfeed w/an average article size of 9.6k.  I
don't think we'll have a problem with a limit of 5-10k articles for a while. 
Worst comes to worst, innfeed will have to become more agressive about
spooling articles.

>On the other hand, 45000 articles is a LOT of articles.

Yes, I don't forsee any problems with it for at least another 6 months :)


-- 

Clayton O'Neill
whatever@oneill.net


Technical Details
Message-ID: <slrn51prbf.j0.coneill@luser.halo.net>
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!not-for-mail
References: <4vc7hk$sjj@news2.cais.com> <slrn51ouhj.j0.coneill@luser.halo.net> <4vhvmp$o6j@brasil.moneng.mei.com> <slrn51plk2.j0.coneill@luser.halo.net> <4vilr3$olj@brasil.moneng.mei.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn51prbf.j0.coneill@luser.halo.net>
Subject: Re: Probs with innfeed 0.8.5b on Solaris
Date: Thu, 22 Aug 1996 00:00:00 +0000
From: coneill@luser.halo.net ()
References: <4vc7hk$sjj@news2.cais.com> <slrn51ouhj.j0.coneill@luser.halo.net> <4vhvmp$o6j@brasil.moneng.mei.com> <slrn51plk2.j0.coneill@luser.halo.net> <4vilr3$olj@brasil.moneng.mei.com>
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!not-for-mail
X-Deja-AN: 175815318
Organization: Premier One
Newsgroups: news.software.nntp