🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by BWare Fri, 28 Apr 2000 00:00
Optimal usage of disks as INN-spooldir
#46123
Author: BWare
Date: Fri, 28 Apr 2000 00:00
25 lines
1493 bytes
Heyaz,


Does anyone have recommendations on how to divide several large disks
(about 270Gb) into smaller chunks to provide an optimal spooldisk for
INN (with a feed of about 90Gb a day).  The reason for doing this would
be to have as little as possible downtime in case a machine crashes and
the OS performs an fsck.

I was thinking of deviding the disks (each about 270Gb) into smaller
partitions of 90Gb and assign each to a specific area.


---

regardz,
BWare

---
Since before the Earth was formed and before the sun burned hot in
space,
cosmic forces of inexorable power have been working relentlessly toward
this moment in space-time -- your receiving this fortune.

Re: Optimal usage of disks as INN-spooldir
#46109
Author: Brad Knowles
Date: Fri, 28 Apr 2000 00:00
29 lines
2045 bytes
In article <39097E1E.FD29A654@freeler.nl>, BWare <bware@freeler.nl> 
wrote:

> the disk failure is not really an issue.  What scares me is having the
> OS fscking a TeraByte which prolly takes a whole day :(

    Joe Greco has built a 1.8TB news spool server on a farm of 36 disks 
(50GB each) in four cabinets, and does pure software striping across one 
disk from each cabinet (nine stripe sets), and has his inode ratio tuned 
to handle average file sizes of about 2MB.

    IIRC, he can go up to the machine, hit the power button (no clean 
shutdown), hit it again, and have the machine back up and running 
(having passed all fsck checks) in about one minute.

    This just shows what you can do if you put your mind to tuning the 
system appropriately.


    Use deja.com to do a search on this newsgroup for more information.

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

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: Optimal usage of disks as INN-spooldir
#46120
Author: bill davidsen
Date: Fri, 28 Apr 2000 00:00
31 lines
2159 bytes
In article <39095461.C9FBA484@freeler.nl>,
BWare  <bware@dutchconnections.nl.eu.org> wrote:

| Does anyone have recommendations on how to divide several large disks
| (about 270Gb) into smaller chunks to provide an optimal spooldisk for
| INN (with a feed of about 90Gb a day).  The reason for doing this would
| be to have as little as possible downtime in case a machine crashes and
| the OS performs an fsck.
| 
| I was thinking of deviding the disks (each about 270Gb) into smaller
| partitions of 90Gb and assign each to a specific area.

  I would absolutely start by going to 2.3BETA and using CNFS cycbuffs
of a large size. Put them in a filesystem by themselves. You didn't say
which o/s you run, but given a small number of files fsck runs very fast
on most systems. Of course you may have the one which doesn't, in which
case you probably lose, since a crash which needs fsck on one f/s will
probably need it on all, and the total time for a bunch of small f/s
will be similar.

  You might look at one of the new overview database methods, and see if
one of those would reduce the number of files and help recovery.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  "Doing interesting things with little computers since 1979"(tm)
The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.

Re: Optimal usage of disks as INN-spooldir
#46126
Author: Russ Allbery
Date: Fri, 28 Apr 2000 00:00
30 lines
2161 bytes
BWare <bware@dutchconnections.nl.eu.org> writes:

> Does anyone have recommendations on how to divide several large disks
> (about 270Gb) into smaller chunks to provide an optimal spooldisk for
> INN (with a feed of about 90Gb a day).  The reason for doing this would
> be to have as little as possible downtime in case a machine crashes and
> the OS performs an fsck.

> I was thinking of deviding the disks (each about 270Gb) into smaller
> partitions of 90Gb and assign each to a specific area.

Personally, I would start by running INN 2.3.0 (currently in beta) so that
you have all the choices of the new storage API.  Then dedicate however
much of your spool that you want to use for it to binaries, and make sure
that all of that portion of your spool is CNFS cycbuffs.  Put all those
cycbuffs into one metacycbuff, and INN will balance writes out across all
of them in a round-robin fashion.

That will take care of most of the problem; if you want to use traditional
spool rather than CNFS for your other newsgroups, my personal strong
preference is to use RAID, either hardware or software, and turn the
remaining space into one logical partition with spares.  Of course, that
does have the fsck problem, but you may be able to run a logging file
system on it to solve that problem.  And RAID means you can dedicate hot
spares and thus have less downtime from disk failures.

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

Re: Optimal usage of disks as INN-spooldir
#46149
Author: BWare
Date: Fri, 28 Apr 2000 00:00
39 lines
2327 bytes
Russ Allbery wrote:
> 
> > Does anyone have recommendations on how to divide several large disks
> > (about 270Gb) into smaller chunks to provide an optimal spooldisk for
> > INN (with a feed of about 90Gb a day).  The reason for doing this would
> > be to have as little as possible downtime in case a machine crashes and
> > the OS performs an fsck.

<SNIP>
> if you want to use traditional
> spool rather than CNFS for your other newsgroups, my personal strong
> preference is to use RAID, either hardware or software, and turn the
> remaining space into one logical partition with spares.  Of course, that
> does have the fsck problem, but you may be able to run a logging file
> system on it to solve that problem.  And RAID means you can dedicate hot
> spares and thus have less downtime from disk failures.
Sounds fair enough...  Another solution to resolve the fsck problem
would
be installing Veritas.  Are there any know problems with this except for
the performance degradation ?
Since we're already using a RAID (devided into 4 logical drives of
270Gb)
the disk failure is not really an issue.  What scares me is having the
OS
fscking a TeraByte which prolly takes a whole day :(


---

regardz,
BWare

---
Since before the Earth was formed and before the sun burned hot in
space,
cosmic forces of inexorable power have been working relentlessly toward
this moment in space-time -- your receiving this fortune.

Re: Optimal usage of disks as INN-spooldir
#46164
Author: Joe Greco
Date: Fri, 28 Apr 2000 00:00
62 lines
3804 bytes
In news.software.nntp article <39097E1E.FD29A654@freeler.nl>, BWare <bware@freeler.nl> wrote:
:Russ Allbery wrote:
:> 
:> > Does anyone have recommendations on how to divide several large disks
:> > (about 270Gb) into smaller chunks to provide an optimal spooldisk for
:> > INN (with a feed of about 90Gb a day).  The reason for doing this would
:> > be to have as little as possible downtime in case a machine crashes and
:> > the OS performs an fsck.
:
:<SNIP>
:> if you want to use traditional
:> spool rather than CNFS for your other newsgroups, my personal strong
:> preference is to use RAID, either hardware or software, and turn the
:> remaining space into one logical partition with spares.  Of course, that
:> does have the fsck problem, but you may be able to run a logging file
:> system on it to solve that problem.  And RAID means you can dedicate hot
:> spares and thus have less downtime from disk failures.
:Sounds fair enough...  Another solution to resolve the fsck problem
:would
:be installing Veritas.  Are there any know problems with this except for
:the performance degradation ?
:Since we're already using a RAID (devided into 4 logical drives of
:270Gb)
:the disk failure is not really an issue.  What scares me is having the
:OS
:fscking a TeraByte which prolly takes a whole day :(

I can do it in 30 seconds flat.

How?

The thing that takes a long time with fsck is that you generally have an
inode for every 1K or 2K of disk space.  For traditional spool, this is
the correct behaviour (approximately) - but results in at least half a
million inodes at terabyte filesystem sizes.  If you do not plan to use
traditional spool format, and instead use large files, increase the 
blocks per inode.  I use 256K or 1M on my Diablo machines (depending on
the intended content), which lowers the number of inodes to something
on the order of a few thousand - probably less than your average small
UNIX filesystem!

I also build many (8-9) smaller filesystems out of the space in order to
gain some parallelization benefits.  More importantly, I don't bother
with RAID, but that way, in the event of a drive loss, I only lose 1/8
or 1/9th my spool.  With one big multi-terabyte FS, it may actually take
about 120 seconds to fsck, because most of the drives are sleeping...
and of course, you lose one drive, you lose the FS.

When I was first deploying my new Diablo architecture, and was
demonstrating this to people, I invariably took the theatrical route, by
describing how much disk space was on the server, and then I'd go and
slam the Big Red Button - reactions were always funny, since everybody
had more or less that same idea about fsck times.  Then I'd sit back,
grin, and describe how the fsck's for /news took less time than the fscks
for the rest of the system, or even the memory test, for that matter.
It would be back up and running before I completed my discussion of why.

Grin,

... JG

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