🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Geoff Allen Thu, 27 Mar 1997 00:00
How should I arrange disks for INN
#16399
Author: Geoff Allen
Date: Thu, 27 Mar 1997 00:00
58 lines
2748 bytes
I'm setting up a new INN server on a DEC Alpha, and am wondering what
would be the ideal disk configuration.

I've seen recommendations to separate news, history, and overview to
separate disks. I've also seen a few comments that DEC Unix's AdvFS
doesn't get along well with news, so I guess I'll get to learn about
lsm for my spool.

Our current setup, which I've inherited and now get to replace, is on
a smaller DEC box with a 4GB "news" AdvFS system and a 3.5 GB "alt"
AdvFS filesystem. The "alt" FS contains just the spool (and overview)
for alt groups. The "news" FS contains spool (and overview) for
everything but alt, C News binaries, the lib dir (with active, sys,
and history files).

Current usage of these filesystems is:

Filesystem  1024-blocks        Used       Avail Capacity  Mounted on
news#news       4235584     1546496     1971824    44%    /pub/news
alt#alt         3643368     1241353     2119352    37%    /pub/news/spool/alt

The history file seems to be running about 40-50 MB, history.pag is
more like 130 MB. We're expiring most groups at 5 days.

Here are my thoughts/questions:

	Is there any reason to separate out alt? My thought is to make
	a 6 or 8 GB spool, which should leave enough room for growth,
	as well as maybe let me up the expiration time to 7 days.

	How big would a separate filesystem for overview be? The FAQ
	suggests that overview would use 10-20% of the spool
	space. So, that would be 1.2GB if I had a 6 GB spool? That
	would seem to imply that a 2GB disk would be "comfortable." Or
	is that overkill (realizing that today's overkill is
	tomorrow's barely getting by)?

	If history is on its own disk, how big should it be? How big
	does INN history run? Any guideline numbers?

	If history *isn't* on its own disk, where's the best place to
	put it?

	How much does INN send to syslog? How big should I plan on
	making /var?

Thanks for any and all suggestions and advice!

Geoff

-- 
Geoff Allen, geoff@wsu.edu, <http://www.eecs.wsu.edu/~geoff/>

Asking a writer "where do you get your ideas" is like asking a butcher
"exactly what DO you put in this sausage?"  -- Roy Blount Jr.

Re: How should I arrange disks for INN
#16408
Author: Nikos George
Date: Thu, 27 Mar 1997 00:00
52 lines
2811 bytes
In article <u3ohc5tk0e.fsf@wsu.edu>, Geoff Allen  <geoff@wsu.edu> wrote:
>I'm setting up a new INN server on a DEC Alpha, and am wondering what
>would be the ideal disk configuration.
>
>I've seen recommendations to separate news, history, and overview to
>separate disks. I've also seen a few comments that DEC Unix's AdvFS
>doesn't get along well with news, so I guess I'll get to learn about
>lsm for my spool.
>
Yeap! Do not run advfs. My setup is an alpha 255/233 running DU4.0b with all
the current patches, 255MB RAM, 2 internal drives (1G+2Gb) and 8 external 2Gb 
drives on 2 different controllers.
The most importand thing is to have history and news spool on different
disks. If you can afford to buy an extra controller it's even better!
I do not have the overview on a different fs (mostly for political reasons,
don't ask!) so I do not know the performance gain.
Do use LSM to stripe across the external disks (news spool). Here I have 3
striped 2Gb disks for news mirrored to the other set of  3 striped disks. 
Ann the remaining 2 of the 8 external disks contain lib,history,...
(mirrored). But be warned that if you want to add another disk you cannot do
it dynamically with LSM. You need to recreate the volume.
I have 2 feeds and about 150 readers on the machine. I selected not to have
alt on a different fs. I constantly (well, not every day!) adjust
expire.ctl and so far it's working great. I can email you my config.dat file
if you're interested.

>alt#alt         3643368     1241353     2119352    37%    /pub/news/spool/alt
>
>The history file seems to be running about 40-50 MB, history.pag is
>more like 130 MB. We're expiring most groups at 5 days.

My history file is around 180Mb

>
>	Is there any reason to separate out alt? My thought is to make
>	a 6 or 8 GB spool, which should leave enough room for growth,
>	as well as maybe let me up the expiration time to 7 days.

Also depends on your policy of newsgroup creation :))
>
>	How much does INN send to syslog? How big should I plan on
>	making /var?

a lot! I keep the last seven days, and also run a couple of scripts for
performance and right now :
> du -s /var/spool/newslog
193864

/Nikos

Re: How should I arrange disks for INN
#16435
Author: Matthew Stein
Date: Fri, 28 Mar 1997 00:00
16 lines
1129 bytes
Nikos George <ngeorge@socrates.fas.harvard.edu> wrote in article
<5heohl$vhh$1@news.fas.harvard.edu>...
> Yeap! Do not run advfs. My setup is an alpha 255/233 running DU4.0b with
all

If you don't mind my asking...why?  I've heard other people say that it
doesn't get along, as well, but I've never heard why.  The reason I'm
asking is that we were thinking of using it, and I don't want to tell
management that we shouldn't because it "doesn't get along".  I'd like a
little to back me up.  :)

Thanks, for anything you can provide.


Re: How should I arrange disks for INN
#16443
Author: Saul Tannenbaum
Date: Fri, 28 Mar 1997 00:00
46 lines
2725 bytes
In article <01bc3b0d$a3e3a4f0$5137020a@clink>, Matthew Stein <matt@ican.net> wrote:
> Nikos George <ngeorge@socrates.fas.harvard.edu> wrote in article
> <5heohl$vhh$1@news.fas.harvard.edu>...
> > Yeap! Do not run advfs. My setup is an alpha 255/233 running DU4.0b with
> all

> If you don't mind my asking...why?  I've heard other people say that it
> doesn't get along, as well, but I've never heard why.  The reason I'm
> asking is that we were thinking of using it, and I don't want to tell
> management that we shouldn't because it "doesn't get along".  I'd like a
> little to back me up.  :)

The problem has to do with smalls files, disk fragmentation and 
metadata (Advfs-speak for inodes). 

The default metadata creation and extension policies constrain the
number of files you can create, as the metadata areas can have only
a certain number of extents. As the disk gets fragmented, each
metadata extent gets smaller. The Digital workaround for this
was (in the Digital Unix 3.0, 3.2 timeframe) touch a million
files on the spool before you populate it. Really. More recent
workarounds allow the use of the Advfs utilities (mkfdmn, addvol)
to directly manipulate the pre-creation and extension policies of
the metadata. 

It _is_ possible to run a news spool on Advfs. I do it and on a
Digital Unix 3.0 system which doesn't have the ability to deal
directly with the metadata. It isn't pretty, it isn't low maintenance,
and it gets really ugly when you run out of metadata. Routine
defragmentation and balancing are a must, as is never letting your
spool get more than, say, 80% full. The worst part of this is
the unpredictability. Since there isn't a straightforward
metadata count, you can't know for sure when you're going to
run out.

	- Saul

-- 
Saul Tannenbaum, Manager, Academic Systems |"Every year, I get more and more
                stannenb@emerald.tufts.edu | cynical, but somehow I just can't
Tufts University Computing and 		   | keep up." - Lilly Tomlin
		Communications Services    |
	Finger for PGP Public Key	   |http://www.tufts.edu/~stannenb

Re: How should I arrange disks for INN
#16456
Author: Jerry Aguirre
Date: Fri, 28 Mar 1997 00:00
32 lines
2052 bytes
In article <01bc3b0d$a3e3a4f0$5137020a@clink>,
Matthew Stein <matt@ican.net> wrote:
>Nikos George <ngeorge@socrates.fas.harvard.edu> wrote in article
><5heohl$vhh$1@news.fas.harvard.edu>...
>> Yeap! Do not run advfs. My setup is an alpha 255/233 running DU4.0b with
>all
>
>If you don't mind my asking...why?  I've heard other people say that it

It is most apparent that the designers and testers of these advanced
file systems are oriented towards larger files.  Note that one of the
big feature items is whether you can have a single file greater than
2Gig.  Oviously a long way from a news spool.

If the testers would run a simple program to fill their large file
system with millions of 9 byte files they would quickly find out how
robust their files systems are not.  Such a test drives all the non-ufs
file systems to either crash, become unable to allocate more files,  or
at least perform very poorly.

Note the tendancy of newer file systems to use a larger minumum
allocation unit (fragment).  Once it was possible to have a small
article only consume a single sector of 512 bytes.  Now 1K seems to be
the minimum that can be configured.  This results in a significant
reduction in the number of articles that can be stored.

This inability to handle lots of small files, along with the rising
volume is spurring interest in moving away from the 1 article = 1 file
methods of storage.

Re: How should I arrange disks for INN
#16460
Author: Nikos George
Date: Fri, 28 Mar 1997 00:00
36 lines
2312 bytes
In article <5hf670$4bb$1@d2.tufts.edu>,
Saul Tannenbaum  <stannenb@tufts.edu> wrote:
>In article <01bc3b0d$a3e3a4f0$5137020a@clink>, Matthew Stein <matt@ican.net> wrote:
>> Nikos George <ngeorge@socrates.fas.harvard.edu> wrote in article
>> <5heohl$vhh$1@news.fas.harvard.edu>...
>> > Yeap! Do not run advfs. My setup is an alpha 255/233 running DU4.0b with
>> all
>
>> If you don't mind my asking...why?  I've heard other people say that it
>> doesn't get along, as well, but I've never heard why.  The reason I'm
>> asking is that we were thinking of using it, and I don't want to tell
>> management that we shouldn't because it "doesn't get along".  I'd like a
>> little to back me up.  :)
>
>The problem has to do with smalls files, disk fragmentation and 
>metadata (Advfs-speak for inodes). 
>
>The default metadata creation and extension policies constrain the
>number of files you can create, as the metadata areas can have only
>a certain number of extents. As the disk gets fragmented, each
>metadata extent gets smaller. The Digital workaround for this
>was (in the Digital Unix 3.0, 3.2 timeframe) touch a million
>files on the spool before you populate it. Really. More recent
>workarounds allow the use of the Advfs utilities (mkfdmn, addvol)
>to directly manipulate the pre-creation and extension policies of
>the metadata. 

These are the exact reasons why I decided not to use it. For news I do not
care as much about sudden reboots and fsck. I can newfs the damaged
news-disks and have the feeds take care of the restores :))
I must admit that Advfs has improved in DU4*

/Nikos

Re: How should I arrange disks for INN
#16713
Author: Kjetil Torgrim Homme
Date: Fri, 04 Apr 1997 00:00
20 lines
1160 bytes
[Geoff Allen]

|   I've seen recommendations to separate news, history, and overview
|   to separate disks. I've also seen a few comments that DEC Unix's
|   AdvFS doesn't get along well with news, so I guess I'll get to
|   learn about lsm for my spool.

I got more than a threefold speed increase in article creation when
going from AdvFS in DU 3.2 to LSM/ufs in DU 4.0. I never was able to
hold more than 1.0 to 1.3 million articles either (I would never know
when it would throttle.)

The downside is that the size of my spool can no longer be shrunk or
enlarged at will.


Kjetil T.

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