🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Dave Rose Tue, 08 Apr 1997 00:00
Request for Comments RAID soln
#16779
Author: Dave Rose
Date: Tue, 08 Apr 1997 00:00
34 lines
1622 bytes
Hello,

I'd just like to get some comments from people regarding what I'm
planning on doing. I'd like to know if perhaps this is an acceptable
method or not.

Our current news box is hosed, not enough spool etc. So I'm planning the
following:

Sparc 20 (dual 61s)
400+MB RAM
4 - 9GB F/W (sun) hard drives (RAID 5 - with disksuite) - spool
1 - 4GB F Seagate hard drive for overview
1 - 1GB F Seagate hard drive for history etc

The box will be a newsreader/feeder box. About 15 full feeds out, 2
primaries in. ~50 - 100 readers.

I've heard comments that RAID 5 with disksuite is not a good idea.

Any comments would be appreciated.

-- 
===============================================================
                           ___      c/o Computer Services
      Dave Rose           |   |__   The University of Manitoba
                          |MBnet/   603 Engineering Building
System Administrator      |    /    15 Gilson Street
Voice: (204) 474-7465     |    |    Winnipeg, Manitoba
FAX:   (204) 275-5420     |____|    R3T 5V6
===============================================================

Re: Request for Comments RAID soln
#16840
Author: Ragnar Lonn
Date: Wed, 09 Apr 1997 00:00
63 lines
3042 bytes
In article <334A8108.689C@MBnet.MB.CA>, Dave Rose <Dave_Rose@MBnet.MB.CA> 
wrote:
>
>Our current news box is hosed, not enough spool etc. So I'm planning the
>following:
>
>Sparc 20 (dual 61s)

We've have good experiences with our SS20/712.

>400+MB RAM

RAM always helps.

>4 - 9GB F/W (sun) hard drives (RAID 5 - with disksuite) - spool

Be careful with RAID 5 - writes are painfully slow. Also, don't use 9GB
drives. It's much better to use 9 x 4GB than 4 x 9GB. Our reader machine
has 6 x 4GB spool and it works fine with over 400 simultaneous readers. 
The disks are setup as a RAID-0 (stripe) metadisk. If one disks fails, we lose 
the whole spool, so this may be an unwanted configuration for some in which 
case I'd recommend using RAID 1+ 0 - mirroring + striping. You'd need twice
the amount of disk for the spool space you want but reads would be very
fast, writes would be fast, and reliability high on such a system. If you get
10 x 4GB you'd have a 20GB spool with such a setup. You will need more
than one SCSI channel though so get an extra SCSI adapter for your Sun.
(but don't use 4x9GB just to be able to squeeze all the disks in on one
controller. Nobody recommends 9GB drives for news)

>1 - 4GB F Seagate hard drive for overview
>1 - 1GB F Seagate hard drive for history etc
>

Looks good. We're keeping overview on the spool partition - I'm not sure
how much of the load is overview reads (and some writes) but it could be
that a single disk will be a bottleneck. If you have a killer spool filesystem
you might as well put the overviews there too, i think.

>The box will be a newsreader/feeder box. About 15 full feeds out, 2
>primaries in. ~50 - 100 readers.
>

It will handle it but I'd recommend setting up a smaller machine with
a dedicated feeder software (Diablo, Cyclone or NNTPrelay if you don't mind
running Windows NT) to handle the feeds and make this machine a dedicated
reader machine with only one feed to/from your feed machine. I'm convinced
this means saving computer power and also that it makes administration
easier.

>I've heard comments that RAID 5 with disksuite is not a good idea.
>

No, we used it on a mailserver for a while and it was very slow in the
end and couldn't handle the load at all. If you have few writes and many
reads, RAID-5 is supposed to be decent but in a write-intensive environment
I wouldn't use it.

Regards,

  /Ragnar, Algonet

Re: Request for Comments RAID soln
#16858
Author: Ragnar Lonn
Date: Wed, 09 Apr 1997 00:00
32 lines
1733 bytes
In article <5ifsv4$aj0@leivo.inet.fi>, jarkko.jormanainen@tele.fi-no.spam.org 
(Jarkko Jormanainen) wrote:
>Dave Rose wrote something like...
>
>DR:Sparc 20 (dual 61s)
>DR:400+MB RAM
>DR:4 - 9GB F/W (sun) hard drives (RAID 5 - with disksuite) - spool
>
>   whoa.. RAID 5 with Disksuote should be really slow, since
>   it is a software solution - according to my calculations
>   you should double the CPU power, since the real work of RAID 5 is
>   done in CPU.
>

Actually, an Ultra will probably have enough CPU. The problem with
RAID-5 is that writes involves several physical disks and write-read-write
sequences which are a major performance bottleneck.

>  If you need some kind of redundancy (as I suggest) the
>  cheapest way with small storage is to use mirroring (RAID 0)
>  (+ striping, RAID 1). It doubles the disks, but is fairly
>  fast and reliable.
>

Yeah, and if possible use RAID 1+0 instaed of 0+1 as you get
higher reliability with a 1+0 setup (where each stripe component
is mirrored, rather than having two stripes mirror eachother).

  /Ragnar, Algonet

Re: Request for Comments RAID soln
#16865
Author: Ragnar Lonn
Date: Wed, 09 Apr 1997 00:00
40 lines
2392 bytes
In article <m2vi5wm3xi.fsf@xian.grumblesmurf.net>, Darrell Fuhriman 
<darrell@grumblesmurf.net> wrote:
>prl@algonet.se (Ragnar Lonn) writes:
>
>> Actually, an Ultra will probably have enough CPU. The problem with
>> RAID-5 is that writes involves several physical disks and write-read-write
>> sequences which are a major performance bottleneck.
>
>Using ODS RAID-5, you *need* a log based system.. preferably with
>e log on a seperate disk.  I don't have numbers, but some one
>posted them (you can find it on dejanews) showing about a five
>time performance gain for writes when you turn on
>logging.. (something to keep in mind)
>

Yeah, a more suitable filesystem than UFS always helps. Veritas is
supposed to be very good. I think I was wrong about the write-read-write
sequence above though, it's really a read-modify-write sequence; when a disk 
block is to be written to a RAID-5 metadevice this happens:

The previous data block, residing on disk A, is read
The previous parity block, residing on disk B, is read
A new parity is computed
The new datablock is written to disk A
The new parity is written to disk B

The first two operations can be done in parallel, and so can the
last two. The computation of parity can be ignored if one assumes
one has a fair amount of available CPU power. However, the single
write operation involves two disks and it also involves BOTH reads
and writes from/to both disks so in reality you should get a 3-4
times better performance by using separate disks as opposed
to RAID-5. A RAID-0 stripe, on the other hand, should perform 
much like using separate disks - with some overhead maybe.

  /Ragnar, Algonet


Re: Request for Comments RAID soln
#16870
Author: Darrell Fuhriman
Date: Wed, 09 Apr 1997 00:00
16 lines
1214 bytes
prl@algonet.se (Ragnar Lonn) writes:

> Actually, an Ultra will probably have enough CPU. The problem with
> RAID-5 is that writes involves several physical disks and write-read-write
> sequences which are a major performance bottleneck.

Using ODS RAID-5, you *need* a log based system.. preferably with
e log on a seperate disk.  I don't have numbers, but some one
posted them (you can find it on dejanews) showing about a five
time performance gain for writes when you turn on
logging.. (something to keep in mind)

Darrell Fuhriman

Re: Request for Comments RAID soln
#16886
Author: Karl Sierka
Date: Thu, 10 Apr 1997 00:00
62 lines
3473 bytes
prl@algonet.se (Ragnar Lonn) writes:

> 
> In article <m2vi5wm3xi.fsf@xian.grumblesmurf.net>, Darrell Fuhriman 
> <darrell@grumblesmurf.net> wrote:
> >prl@algonet.se (Ragnar Lonn) writes:
> >
> >> Actually, an Ultra will probably have enough CPU. The problem with
> >> RAID-5 is that writes involves several physical disks and write-read-write
> >> sequences which are a major performance bottleneck.
> >
> >Using ODS RAID-5, you *need* a log based system.. preferably with
> >e log on a seperate disk.  I don't have numbers, but some one
> >posted them (you can find it on dejanews) showing about a five
> >time performance gain for writes when you turn on
> >logging.. (something to keep in mind)
> >
> 
> Yeah, a more suitable filesystem than UFS always helps. Veritas is
> supposed to be very good. I think I was wrong about the write-read-write
> sequence above though, it's really a read-modify-write sequence; when a disk 
> block is to be written to a RAID-5 metadevice this happens:
> 
> The previous data block, residing on disk A, is read
> The previous parity block, residing on disk B, is read
> A new parity is computed
> The new datablock is written to disk A
> The new parity is written to disk B
    
    An Ultra 1 is not fast enough for RAID 5 using ODS. We tried it. It
    works, as long as you don't need to run expire. We went back to using
    RAID 0 with ODS. It balances the load among 5 4gig drives perfectly.
    
    Here is the sar report, for the curious.
    
Average    sd0              22     3.8      17     309   101.5   121.1
           sd1              15     0.2      11     239     0.0    19.8
           sd5               3     0.0       2      51     0.0    16.1
           sd16             33     1.4      24     294     0.0    59.0
           sd17             35     1.7      25     298     0.0    66.9
           sd30             34     1.6      24     292     0.0    64.8
           sd31             34     1.5      25     296     0.0    62.1
           sd32             36     1.9      25     301     0.0    77.0

    sd0 is the history/active file disk. sd1 is root/usr. sd5 is spare
    swap. sd16-sd32 are the 5 4 gig drives, bound up in ODS RAID 0 config.

    We had a real problem with sd0 blocking, until we bumped up
    
##  How many article-writes between active and history updates?
#### =()<ICD_SYNC_COUNT         @<ICD_SYNC_COUNT>@>()=
ICD_SYNC_COUNT          200

    to 200 from some smaller number. Is this going to cause problems? What
    are the implications of increasing this number on an xfer-only (no reader
    access) machine? We have seen a real performance improvement, at least
    with respect to sar reports. :-)
    


Re: Request for Comments RAID soln
#16899
Author: Darrell Fuhriman
Date: Thu, 10 Apr 1997 00:00
12 lines
1102 bytes
Karl Sierka <karl@smoke.csn.net> writes:

>     An Ultra 1 is not fast enough for RAID 5 using ODS. We tried it. It
>     works, as long as you don't need to run expire. We went back to using
>     RAID 0 with ODS. It balances the load among 5 4gig drives perfectly.

were you using a log based filesystem?

Darrell Fuhriman

Re: Request for Comments RAID soln
#16902
Author: Per Hedeland
Date: Fri, 11 Apr 1997 00:00
22 lines
1447 bytes
In article <12ragizg06.fsf@smoke.csn.net> Karl Sierka
<karl@smoke.csn.net> writes:
>    We had a real problem with sd0 blocking, until we bumped up
>    
>##  How many article-writes between active and history updates?
>#### =()<ICD_SYNC_COUNT         @<ICD_SYNC_COUNT>@>()=
>ICD_SYNC_COUNT          200
>
>    to 200 from some smaller number. Is this going to cause problems? What
>    are the implications of increasing this number on an xfer-only (no reader
>    access) machine?

None, I believe - but why not use MMAP (for both history - i.e. put
-DMMAP in DBZCFLAGS - and active)? In this case the "sync" is a no-op.
Just be sure to use 1.5.1 or expire will kill you!:-)

--Per Hedeland
per@erix.ericsson.se


Re: Request for Comments RAID soln
#16911
Author: Karl Sierka
Date: Fri, 11 Apr 1997 00:00
18 lines
1030 bytes
Darrell Fuhriman <darrell@grumblesmurf.net> writes:

> 
> Karl Sierka <karl@smoke.csn.net> writes:
> 
> >     An Ultra 1 is not fast enough for RAID 5 using ODS. We tried it. It
> >     works, as long as you don't need to run expire. We went back to using
> >     RAID 0 with ODS. It balances the load among 5 4gig drives perfectly.
> 
> were you using a log based filesystem?
> 
> Darrell Fuhriman

    nope. That could have helped, I suppose.
    

Re: Request for Comments RAID soln
#16915
Author: Hans J Jakobsen
Date: Fri, 11 Apr 1997 00:00
67 lines
3226 bytes
Here are some figures from news1.tele.dk:


Pemtium 166 128M RAM
2 Adaptec 3940
2 3com509
all disks Quantum Atlas 2G
Solaris 2.4, disksuite 4.0

INNunoff4

News 270000-330000 artiles, 2-5GBytes
2 incomming feeds 5 outgoing feeds

Readers up to 35, some sucking.

Stats for 20 days:
                                 extended disk statistics          cpu
disk      r/s  w/s   Kr/s   Kw/s wait actv  svc_t  %w  %b  us sy wt id
fd0       0.0  0.0    0.0    0.0  0.0  0.0    0.0   0   0   7 44 27 22
sd0       1.1  2.9    8.6   17.0  0.0  0.0   19.4   1   2 system
sd10      0.0  0.0    0.0    0.0  0.0  0.0    0.4   0   0
sd11      0.0  0.0    0.0    0.0  0.0  0.0    0.9   0   0
sd12      1.2  1.2   11.4    8.3  0.0  0.0    4.7   0   1 active file
sd13      5.6  0.4   22.3   21.1  0.0  0.1    9.7   0   5 swap

          spool 7 striped 64K  UFS 4K 512
sd14      7.1  3.3   36.6    5.9  0.0  0.1   12.0   0  11
sd15      7.1  3.3   36.7    5.9  0.0  0.1   12.3   0  11
sd16      7.1  3.3   36.6    5.9  0.0  0.1   12.1   0  11
sd17      7.2  3.3   37.1    5.9  0.0  0.1   11.8   0  10
sd18      7.2  3.4   37.1    6.3  0.0  0.1   11.9   0  11
sd19      7.3  3.3   37.1    5.9  0.0  0.1   12.1   0  11
sd20      7.1  3.3   36.6    5.9  0.0  0.1   12.1   0  11
          logging for spool
sd2       5.7  9.5   45.0  123.6  0.0  0.0    2.4   0   3

sd7       4.8  3.0   43.9   15.5  0.1  0.1   22.6   1   7 history
sd8      11.8  7.4   89.2   48.6  1.6  0.3  101.8   5  23 overview
sd9       1.0  2.0   31.1   57.6  0.0  0.0    8.1   0   2 queue files

The above figures are averages! The peaks are worse!

Before this configuration history, overview, queue and active
was part of spool. I was possible to receive 4 articles per sec.
(And before this sd7-13 was a mirror of sd14-20 but it was unstable
so the mirror was remove)

With this config it is possible to receive 6.2 per sec.

Problems:
More RAM needed (but motherboard filled)
CPU often high. ( Why is system so high? Netcard?)
Overview partition has long servicetime. Candidate for
a striped partition. Or make sd7, sd8, sd9, sd12 into one striped system.
Spool to small.

/hjj
-- 
Tele Danmark Erhverv, Data Divisionen      TLF: +45 8947 3339
Hans J Jakobsen                            FAX: +45 8947 3308
Skanderborgvej 234 st tv                   X400:C=dk;admd=DK400;PRMD=DATACOM;
DK 8620 Viby J                                  S=Jakobsen;G=Hans
Danmark                                    Internet:hjj@datacom.dk400.dk

Re: Request for Comments RAID soln
#16988
Author: Anthony Talltree
Date: Fri, 11 Apr 1997 00:00
8 lines
879 bytes
>Be careful with RAID 5 - writes are painfully slow. Also, don't use 9GB
>drives. It's much better to use 9 x 4GB than 4 x 9GB.

That depends on what they're trying to do.  If they're trying to just keep
articles for a long time, it's not such a big deal.

Re: Request for Comments RAID soln
#17022
Author: Ragnar Lonn
Date: Tue, 15 Apr 1997 00:00
17 lines
1360 bytes
In article <12ragizg06.fsf@smoke.csn.net>, Karl Sierka <karl@smoke.csn.net> 
wrote:
>
>    An Ultra 1 is not fast enough for RAID 5 using ODS. We tried it. It
>    works, as long as you don't need to run expire. We went back to using
>    RAID 0 with ODS. It balances the load among 5 4gig drives perfectly.
>

I think your disks aren't fast enough. Unless you saw the CPU being
very busy of course but I suspect it spent more time in iowait. Computing
a little parity should be no match for an Ultra but the disks can only do
so many operations per second.
    
  /Ragnar, Algonet

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