🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Rich Skrenta Mon, 04 Dec 2000 04:27
How big for INN history partition?
#49274
Author: Rich Skrenta
Date: Mon, 04 Dec 2000 04:27
9 lines
1068 bytes
How much space should be allocated for a partition to hold INN's
history database, relative to the spool?  I'm planning to use CFS
and have approx 30 days worth of posts for the groups I'll be carrying.
Should the history partition be 10%, 30%, or ??? of the size of the spool?
The only mention give to this topic in the FAQ said "It's hard to estimate
exactly how much you'll need..."  :-(

Thanks...
Re: How big for INN history partition?
#49261
Author: Christopher Splinter
Date: Mon, 04 Dec 2000 00:00
18 lines
1486 bytes
* Rich Skrenta <skrenta@rt.com>:

> How much space should be allocated for a partition to hold
> INN's history database, relative to the spool?  I'm planning to
> use CFS and have approx 30 days worth of posts for the groups
> I'll be carrying.  Should the history partition be 10%, 30%, or
> ??? of the size of the spool?  The only mention give to this
> topic in the FAQ said "It's hard to estimate exactly how much
> you'll need..."  :-(

That's correct. It makes a great difference whether you carry
binary groups or not.

If you don't carry binary groups and don't use tagged hash, the
size of your spool in megabytes * 0.05 should *roughly* tell you
how much space you'll need for the history DB.

Re: How big for INN history partition?
#49280
Author: bill davidsen
Date: Tue, 05 Dec 2000 00:00
28 lines
2086 bytes
In article <90f6f401uo5@enews3.newsguy.com>,
Rich Skrenta <skrenta@rt.com> wrote:
| How much space should be allocated for a partition to hold INN's
| history database, relative to the spool?  I'm planning to use CFS
| and have approx 30 days worth of posts for the groups I'll be carrying.
| Should the history partition be 10%, 30%, or ??? of the size of the spool?

  No. The size of the history file is ~100 bytes per article in history,
plus 5-25% of that for the dbz files (depends to some extent on how well
your o/s handles sparse files, etc). Then double that for requirements
during expire, add 10MB or more for active, newsgroups, etc.

  If you put the backoff directory there, leave room for that.

| The only mention give to this topic in the FAQ said "It's hard to estimate
| exactly how much you'll need..."  :-(

  Sounds pretty clear to me, what I suggest may be off by a factor of
two for you. There's a reason for the statement.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
The line from the immutable past to the desired future is useful to
justify continuing to tack into the wind, making a major change in
course, or coasting into safe harbor. It is not a map of where you are
going, just how to get where you want to go.

Re: How big for INN history partition?
#49306
Author: Guest Account
Date: Wed, 06 Dec 2000 06:56
42 lines
2905 bytes
:: How much space should be allocated for a partition to hold INN's
:: history database, relative to the spool?  I'm planning to use CFS
:: and have approx 30 days worth of posts for the groups I'll be carrying.
:: Should the history partition be 10%, 30%, or ??? of the size of the spool?

No.

30 days?  At about 1,2mio arts per day?  'kay...

What type of history database?  Not that it matters; regardless, for
every ten million odd articles you should plan for a gigabyte just
for the history.  So, give yourself a bit of headroom and plan 4GB
base.  You're gonna need MD5-based history at this size, since I
haven't figured out what-all needs to be frobbed to get traditional
v3-like dbz to work with this number of articles (actually size of
text file)

Then double that for your needs during expire.  Treble it if you think
you'll see long-running nnrpd processes holding your database inodes
open after expiry.

Give a small fudge factor to handle the inevitable hash table overflows
you'll see once you cross some number of million history entries.  But
that *should* pale in comparison to your text file, if you've properly
initialised things.

If you're not keeping the full million-plus articles that are flung
around like faeces each day, then you can reduce these estimates
proportionally.

So, to keep a full feed for a month and have room for expire and some
breathing room, I'd toss a 9GB drive at the problem.  Regardless of
the size of the rest of your spool, if it's the 6 terabytes you need
to keep a full feed for 30 days, or the handful of gigabytes that will
hold non-binariez posts for this time (cutting the daily count by a
good deal too, say, 1/3 to 1/2)

If my mental math doesn't reflect my mental state, that is


mew.
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