Article View: news.software.nntp
Article #10312Re: Probs with innfeed 0.8.5b on Solaris
From: Joe Greco
Date: Thu, 22 Aug 1996 00:00
Date: Thu, 22 Aug 1996 00:00
43 lines
2714 bytes
2714 bytes
In news.software.nntp article <slrn51plk2.j0.coneill@luser.halo.net>, coneill@luser.halo.net () wrote: :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. People have financial obligations to peers? :-) Well, I don't... :>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. 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 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. On the other hand, 45000 articles is a LOT of articles. ... JG
Technical Details
Message-ID:
<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-mailReferences:
<4vc7hk$sjj@news2.cais.com> <slrn51ouhj.j0.coneill@luser.halo.net> <4vhvmp$o6j@brasil.moneng.mei.com> <slrn51plk2.j0.coneill@luser.halo.net>Show Full Headers
Complete Article Headers
Message-ID: <4vilr3$olj@brasil.moneng.mei.com> Subject: Re: Probs with innfeed 0.8.5b on Solaris Date: Thu, 22 Aug 1996 00:00:00 +0000 From: jgreco@brasil.moneng.mei.com (Joe Greco) References: <4vc7hk$sjj@news2.cais.com> <slrn51ouhj.j0.coneill@luser.halo.net> <4vhvmp$o6j@brasil.moneng.mei.com> <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 X-Deja-AN: 175891943 Distribution: inet Organization: Marquette Electronics, Inc. - Milwaukee, WI. Newsgroups: news.software.nntp