🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #10332

Re: Probs with innfeed 0.8.5b on Solaris

#10332
From: coneill
Date: Thu, 22 Aug 1996 00:00
47 lines
2467 bytes
On 22 Aug 1996 10:51:53 -0500, Joe Greco <jgreco@brasil.moneng.mei.com> wrote:
>In news.software.nntp article <slrn51ouhj.j0.coneill@luser.halo.net>, coneill@lu
>:I'm not sure exactly why this would be a bad policy decision, but it is a
>:good performance decision, assuming you have the memory to do it w/o
>:swapping.
>
>That's WHY it is a potentially bad policy decision.  See the other article I
>posted about mmap() vs. reads-to-fill-a-buffer.

True.

>Not everybody runs two or three dinky feeds.  Some of us cannot count the
>number of feeds we have on all our fingers and all our toes.

Same here.  

>It's not a "good performance decision" either, because by the time you get
>large enough to notice performance degradation, you are already too large
>and probably don't have the memory to back it anyways.

However, some of us don't have financial obligations to our peers and are
not obligated to feed large articles to our peers.  Keeping 10mb of 2-4k
articles isn't a problem for me at all.

>Even on a small system, you can kill innfeed.
Easily.

>I would much rather allow it to "grow without bounds" and see it use
>mmap()'ed article accesses, because while the process might APPEAR to be
>100MB in size, in reality, it will load as much in core as possible and
>the rest will be sitting out in your spool - not in your swap space.
>Very efficient in comparison.  :-)

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.

-- 

Clayton O'Neill
whatever@oneill.net


Technical Details
Message-ID: <slrn51plk2.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> <4vgpmj$sfe@gw.home.vix.com> <4vh6va$k68@twwells.com> <slrn51ouhj.j0.coneill@luser.halo.net> <4vhvmp$o6j@brasil.moneng.mei.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn51plk2.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> <4vgpmj$sfe@gw.home.vix.com> <4vh6va$k68@twwells.com> <slrn51ouhj.j0.coneill@luser.halo.net> <4vhvmp$o6j@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: 175910635
Organization: Premier One
Newsgroups: news.software.nntp