🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51525

Re: how stable is INN "large file" code?

#51525
From: bill davidsen
Date: Wed, 28 Mar 2001 15:23
40 lines
3163 bytes
In article <99dt6f$p1g$1@cantaloupe.srv.cs.cmu.edu>,
David Eckhardt  <davide+receptionist@cs.cmu.edu> wrote:
| I am running Solaris 7.  Should I expect INN built with
| "--with-largefiles" to just work?  Or do people forego
| that in favor of tagged hash?

  The features are not related. Going to a large file implementation
will allow a large history file, but the tagged hash addresses the
problem of a large history.hash file which can't be kept in memory.
Using tagged hash on a low memory machine is faster because it avoids
paging, wile the size of history is determined by how long you remember
(and of course the limits on file size).

| INSTALL says that tagged hash uses "much less memory" but is
| "somewhat slower".  Could INSTALL be amended to be a little more
| quantitative here?  That is, are we talking about 5% or 50% or 90%
| less memory?  Which process gets roughly how much slower?  That
| is, are we talking about innd doing some number of extra seeks
| for each incoming article?

  You can't really quantify, since it depends on memory size, usage
patterns, history cache size, disk speed, and for all I know the MD5
hash of your mother's maiden name. All you can say for sure is that if
you are low on memory, tagged hash will be faster, if not it will be
slower in most cases. And low on memory means free, not just size. I ran
fine w/o tagged hash, but had to stop news to run expire, because expire
was taking 15 hours. Dropped to about 15 minutes with innd stopped, and
both fit in memory happily with tagged hash.

  Your mileage really will vary, I would not make any guess on "how
much," but if you see high paging rates during expire you probably want
to use tagged hash. Yeah, I know you wanted a number...

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
At LinuxExpo Sun was showing Linux applications running on Solaris.
They don't get it, the arrow points the other way. There's a reason why
there's no SolarisExpo, Solaris is a tool; Linux is a philosophy, a
religion, a way of life, and only incidentally an operating system.
Technical Details
Message-ID: <99svko$46sm$1@newssvr05-en0.news.prodigy.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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!enews.sgi.com!newscon06.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsen
References: <99dt6f$p1g$1@cantaloupe.srv.cs.cmu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <99svko$46sm$1@newssvr05-en0.news.prodigy.com>
Subject: Re: how stable is INN "large file" code?
Date: Wed, 28 Mar 2001 15:23:04 +0000
From: davidsen@tmr.com (bill davidsen)
References: <99dt6f$p1g$1@cantaloupe.srv.cs.cmu.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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!enews.sgi.com!newscon06.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsen
Newsgroups: news.software.nntp
Organization: TMR Associates, Schenectady NY
Lines: 39
NNTP-Posting-Host: darkstar.prodigy.com
X-Trace: newssvr05-en0.news.prodigy.com 985792984 138134 192.168.190.236 (28 Mar 2001 15:23:04 GMT)
X-Complaints-To: abuse@prodigy.net
NNTP-Posting-Date: 28 Mar 2001 15:23:04 GMT
Originator: davidsen@darkstar.prodigy.com