🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by bill davidsen Thu, 30 Sep 1999 00:00
Memory size and 2.3
#40273
Author: bill davidsen
Date: Thu, 30 Sep 1999 00:00
14 lines
1208 bytes
  I am trying some transit machines using 2.3. They are short on memory
but have no readers to use what they have. I know the docs call for
tagged hash if < 256M, but I also see that the innd process is not all
that large on reader machines with default hash.

  Any fact or reasonable opinion?

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: Memory size and 2.3
#40269
Author: Kjetil Torgrim Homme
Date: Thu, 30 Sep 1999 00:00
15 lines
1201 bytes
[bill davidsen]

>     I am trying some transit machines using 2.3. They are short on
>   memory but have no readers to use what they have. I know the docs
>   call for tagged hash if < 256M, but I also see that the innd
>   process is not all that large on reader machines with default
>   hash.

It's the expire process which gobbles memory, and you won't get a real
test until you have a few million articles in spool.


Kjetil T.

Re: Memory size and 2.3
#40286
Author: Richard Michael Todd
Date: Thu, 30 Sep 1999 00:00
35 lines
2312 bytes
brad@shub-internet.org (Brad Knowles) writes:

> 
> In article <7t03ut$a7k$1@newssvr02.news.prodigy.com>, davidsen@tmr.com
> (bill davidsen) wrote:
> 
> >   I am trying some transit machines using 2.3. They are short on memory
> > but have no readers to use what they have. I know the docs call for
> > tagged hash if < 256M, but I also see that the innd process is not all
> > that large on reader machines with default hash.

As someone else pointed out, the main issue is whether innd (with an mmaped 
copy of the dbz indices) and expire (with an mmaped copy of the *new* 
dbz indices) can both fit in memory without thrashing the system to 
death.  

>     It was my understanding that 2.2 made a better transit machine, and
> 2.3 made a better reader machine.  I think that the combination of the two
> into one version was slated for 2.4.
> 
>     Or have I misunderstood something here?

I don't see why 2.3 would be worse at transit than 2.2, since the major
changes between 2.2 and 2.3 are in the overview code, and people don't 
usually enable overview on transit servers, do they?  (Even with overview,
overview writing performance might be down somewhat with 2.3 for tradindexed
overview storage, but is probably faster for buffindexed.  Anyone got 
some good benchmarks?)  And there are some changes in 2.3 that may actually
boost transit performance, like Russ Allbery's work in eliminating some
redundant copies in the perl filter code. 




Re: Memory size and 2.3
#40296
Author: Brad Knowles
Date: Thu, 30 Sep 1999 00:00
22 lines
1654 bytes
In article <7t03ut$a7k$1@newssvr02.news.prodigy.com>, davidsen@tmr.com
(bill davidsen) wrote:

>   I am trying some transit machines using 2.3. They are short on memory
> but have no readers to use what they have. I know the docs call for
> tagged hash if < 256M, but I also see that the innd process is not all
> that large on reader machines with default hash.

    It was my understanding that 2.2 made a better transit machine, and
2.3 made a better reader machine.  I think that the combination of the two
into one version was slated for 2.4.

    Or have I misunderstood something here?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 100?  If so, please contact me via private e-mail for details.

Re: Memory size and 2.3
#40347
Author: Sven Paulus
Date: Fri, 01 Oct 1999 00:00
9 lines
967 bytes
Brad Knowles <brad@shub-internet.org> wrote:
|>     It was my understanding that 2.2 made a better transit machine, and
|> 2.3 made a better reader machine.  I think that the combination of the two
|> into one version was slated for 2.4.

I don't think that 2.3/CNFS w/o overview is worse than 2.2/CNFS w/o
overview when acting as a transit machine.

Re: Memory size and 2.3
#40352
Author: Russ Allbery
Date: Fri, 01 Oct 1999 00:00
31 lines
1854 bytes
bill davidsen <davidsen@tmr.com> writes:

> Transit machines have long remember and short retention. I can just
> about promise that we will not have a few million articles in this spool
> ;-) But the history will be l;arge. Guess I'll try it and see.

On headwall.stanford.edu:

    Article lines processed  2338972
    Articles retained        2136324
    Entries expired           202648
    Articles dropped               0
    Old entries dropped       746145
    Old entries retained     7247425

Not necessarily always.  :)  Admittedly, that machine currently has *way*
too much disk for a transit server, but that's because the performance of
the disk is really bad, so I want to spread out the pain as much as I can.

> Everything is not going to fit in memory on any of my machines, I only
> run 2-4GB RAM on reader machines, and certainly old and new history and
> hashes don't fit in that. If expire gets grim I'll just rebuild for
> tagged hash and count it as a learning experience.

Hm.  The above machine, with its 9.3 million history entries, is running
on 512MB of RAM without tagged hash and is just fine on memory.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Memory size and 2.3
#40364
Author: bill davidsen
Date: Fri, 01 Oct 1999 00:00
29 lines
2034 bytes
In article <1rzoy4fce9.fsf@haey.ifi.uio.no>,
Kjetil Torgrim Homme  <kjetilho@haey.ifi.uio.no> wrote:
| [bill davidsen]
| 
| >     I am trying some transit machines using 2.3. They are short on
| >   memory but have no readers to use what they have. I know the docs
| >   call for tagged hash if < 256M, but I also see that the innd
| >   process is not all that large on reader machines with default
| >   hash.
| 
| It's the expire process which gobbles memory, and you won't get a real
| test until you have a few million articles in spool.

  Transit machines have long remember and short retention. I can just
about promise that we will not have a few million articles in this spool
;-) But the history will be l;arge. Guess I'll try it and see.

  Everything is not going to fit in memory on any of my machines, I only
run 2-4GB RAM on reader machines, and certainly old and new history and
hashes don't fit in that. If expire gets grim I'll just rebuild for
tagged hash and count it as a learning experience.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads