🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Joshua Gould Wed, 15 Aug 2001 13:01
RAID segment size
#53771
Author: Joshua Gould
Date: Wed, 15 Aug 2001 13:01
12 lines
1571 bytes
I'm upgrading our existing news server (pretty small one by most
standards) and am going to use hardware RAID5 storage for the spool.

Silly question but.... do I want a small or large segment size? I
currently set it to 16 blocks. My thought was that about 3-4 articles
would be written to each disk before going to the next one. Or... do I
want a large segment size?


  Joshua
Re: RAID segment size
#53783
Author: Joe Greco
Date: Thu, 16 Aug 2001 04:32
24 lines
2148 bytes
In news.software.nntp article <vaklmkl8ojs.fsf@darkstar.cis.ohio-state.edu>, Joshua Gould <gould@cis.ohio-state.edu> wrote:
:
:I'm upgrading our existing news server (pretty small one by most
:standards) and am going to use hardware RAID5 storage for the spool.
:
:Silly question but.... do I want a small or large segment size? I
:currently set it to 16 blocks. My thought was that about 3-4 articles
:would be written to each disk before going to the next one. Or... do I
:want a large segment size?

Huge.  Especially if you have binaries.

You want one drive to be able to process a complete transaction.  When a
client fetches an article, if all your drives need to seek in order to
fetch it, there's something else they aren't doing right now - such as
writing new news, or serving other clients.

I make my stripe size equal to a UNIX cylinder group (I did say 'huge',
remember?) on the theory that FFS tends to cluster files in the same CG
as the directory entry for them.  This leads to uneven use patterns while
the spool fills, but works great after things have been running a bit.

... JG
Re: RAID segment size
#53791
Author: Ed Clarke
Date: Thu, 16 Aug 2001 10:32
20 lines
1996 bytes
On 15 Aug 2001 23:32:44 -0500, Joe Greco <jgreco@ns.sol.net> wrote:
>In news.software.nntp article <vaklmkl8ojs.fsf@darkstar.cis.ohio-state.edu>, Joshua Gould <gould@cis.ohio-state.edu> wrote:
>:
>:I'm upgrading our existing news server (pretty small one by most
>:standards) and am going to use hardware RAID5 storage for the spool.
>:
>:would be written to each disk before going to the next one. Or... do I
>:want a large segment size?
>
>Huge.  Especially if you have binaries.

Why in God's name do you want Raid-5 for a news spool???  There's a lot
of overhead keeping the three drives synchronized and it's going to be
slow.  Are you sure you don't mean Raid-0?

I've abandoned even Raid-0 and switched to cycbuffs on seperate drives to
do the spool here.  There's just too much coming in too fast (most of it
awful junk) to worry about backups and error recovery.  If the spool goes
bad, just wack the cycbuffs clean and restart.
Re: RAID segment size
#53794
Author: Joshua Gould
Date: Thu, 16 Aug 2001 12:30
19 lines
1940 bytes
clarke@spanker.cilia.org (Ed Clarke) writes:

> 
> Why in God's name do you want Raid-5 for a news spool???  There's a lot
> of overhead keeping the three drives synchronized and it's going to be
> slow.  Are you sure you don't mean Raid-0?
> 

Why would I use just three drives? My RAID5 array as 12 disks. It also
has 128MB cache memory and a RAID co-processor. The overhead you speak
of will be handled by the RAID co-processor.

Since our feeds aren't super huge, most of the writes should easily
fit in cache memory and give the RAID co-processor time to do the
parity calculations. What's the big deal exactly?


  Joshua
Re: RAID segment size
#53795
Author: Curt Welch
Date: Thu, 16 Aug 2001 13:54
44 lines
3069 bytes
clarke@spanker.cilia.org (Ed Clarke) wrote:
> On 15 Aug 2001 23:32:44 -0500, Joe Greco <jgreco@ns.sol.net> wrote:
> >In news.software.nntp article
> ><vaklmkl8ojs.fsf@darkstar.cis.ohio-state.edu>, Joshua Gould
> ><gould@cis.ohio-state.edu> wrote:
> >:
> >:I'm upgrading our existing news server (pretty small one by most
> >:standards) and am going to use hardware RAID5 storage for the spool.
> >:
> >:would be written to each disk before going to the next one. Or... do I
> >:want a large segment size?
> >
> >Huge.  Especially if you have binaries.
>
> Why in God's name do you want Raid-5 for a news spool???  There's a lot
> of overhead keeping the three drives synchronized and it's going to be
> slow.  Are you sure you don't mean Raid-0?

When done correctly, there's not much overhead at all.  Good controlers
will have plenty of cache which will keep the amount of IO to a very
reasonable level.

Many people have used Raid-5 for spool space.  Some even made it work well.
:)

You do have to make sure that whatever technology you use to create the
Raid-5 array has enought disk bandwidth to support news.

> I've abandoned even Raid-0 and switched to cycbuffs on seperate drives to
> do the spool here.  There's just too much coming in too fast (most of it
> awful junk) to worry about backups and error recovery.  If the spool goes
> bad, just wack the cycbuffs clean and restart.

Yep, that's a very common strategy as well.  But how well it works is a
function of your retention.  If you only have a weeks worth of retention,
then no matter what happens, it will only take a week for a full recovery.
But if you have 3 months of retention (which some do), then it hurts a lot
more to loose a drive because it will take 3 months before the system has
recovered.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
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