🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by astrashe Thu, 12 Nov 1998 00:00
INN & software raid on sparc solaris
#32899
Author: astrashe
Date: Thu, 12 Nov 1998 00:00
16 lines
1488 bytes
I'm setting up INN on an old sparc 5 with 4 4G disks, and I'm not sure whether
to use a striped or concated file system for the spool.  I've heard
contradictory advice from different people -- some recommend striping, and
others recommend concating.

Specifically, one person told that a feeble sparc 5 can get bogged down doing
the calculations necessary for striping, and another told me that striping is
better than concating because the virtual file system is faster than the
underlying physical disks.  This was back in the old "traditional" spool days,
and I don't know if or how CNFS affects things.


-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: INN & software raid on sparc solaris
#32900
Author: Kjetil Torgrim Homme
Date: Thu, 12 Nov 1998 00:00
47 lines
3171 bytes
[astrashe@my-dejanews.com]

>   I'm setting up INN on an old sparc 5 with 4 4G disks, and I'm not
>   sure whether to use a striped or concated file system for the
>   spool.  I've heard contradictory advice from different people --
>   some recommend striping, and others recommend concating.
>   
>   Specifically, one person told that a feeble sparc 5 can get bogged
>   down doing the calculations necessary for striping, and another
>   told me that striping is better than concating because the virtual
>   file system is faster than the underlying physical disks.  This
>   was back in the old "traditional" spool days, and I don't know if
>   or how CNFS affects things.

I've got a SPARCstation 10[1] with 10 _old_ disks, mostly 1GB.  The
disks are slow, like 1-2MB/s sustained write.  Their access time is
pretty bad, too.  I use three of these striped to get the necessary
oomph to handle all the history accesses.  The rest are used
separately, with 500 MB[2] cycbuffs on each which I've tried to
"stripe" by hand.  The philosophy is that if one of the disks holding
cycbuffs explodes, only a fraction of the spool is lost.  If I had
striped all the disks together[3], all the spool would be gone when a
disk broke.  We backup newslib, but not the spool.

In your case, I would stripe two of the disks[4].  (Concatenation will
give you no benefits unless you plan to use traditional spool.)  You
will need approx. 1.5 GB for newslib, and 2-3 GB for overview+uniover.
That leaves 4 GB of space which I would use for 2x2GB cycbuffs for
some low volume hierarchies (i.e. Big8).  The other disks will give
you another 8 cycbuffs to allocate however you like.


Kjetil T.

[1] A SPARCstation 10 is quite a bit slower than a SPARCstation 5.
[2] It gives curious effects when the cycbuffs in a metacycbuff are of
    different size.  Some articles will be expired before others.
    When I think about it, you can get that effect even when they are
    of the same size, if most of the large articles happen to land in
    one cycbuff.
[3] All the partitions handed to md must be of equal size.  If you
    stripe 1 GB and 2 GB, only 1 GB will be used of the second disk.
    So in my case, striping all disks would not be any good.
[4] Preferably on different SCSI-controllers if you have a spare card
    lying around.  I use four controllers in my box.

Re: INN & software raid on sparc solaris
#33021
Author: Greg Andrews
Date: Thu, 19 Nov 1998 00:00
51 lines
3084 bytes
prl@algo.net (Ragnar Lonn) writes:
>In article <1rvhkl80ya.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme 
><kjetilho@haey.ifi.uio.no> wrote:
>>
>>[4] Preferably on different SCSI-controllers if you have a spare card
>>    lying around.  I use four controllers in my box.
>
>IMHO I doubt you actually need those four controllers to get good
>performance. People tend to believe that you shouldn't put more than
>3 disks on a single controller but it all depends on what kind of load
>you have. 
>
>If you have a system for e.g. delivering streaming video from very
>large, consecutive files you might not want to put more than 3 SCSI
>disks on a single controller because all three disks can deliver quite
>a large sustained data flow under these circumstances and that might
>prove to be about as much as the bus can handle. 
>
>However, in most applications, like news, you aren't streaming data
>at a high, sustained rate to/from a single large file. You are doing lots
>of seeks and small reads/writes. This kind of work is not bandwidth-
>intensive and most of the time, the SCSI bus will be idle waiting for
>a disk to complete a seek or small read/write operation, so usually
>I'd guess it is pretty safe to put more disks on a single bus. The
>real bottleneck will almost always be the number of physical disks
>on the system. More disks means more simultaneous seeks/reads/writes.
>Of course, there's a limit to how many operations/second the controllers
>themselves can do but I've never heard of anyone hitting that limit either, 
>AFAIK.
>
>I've never had more than two controllers on a news server (including
>the onboard one), and I've had six spooldisks on a single controller
>with no problems whatsoever.
>

You're ignoring the type of SCSI bus involved.  A narrow bus can handle
3-4 busy disks before the bus becomes a bottleneck.  A fast/wide bus
can handle 7 or more before the bus becomes a bottleneck.

In theory, using multiple controllers can also improve performance,
depending on the way you combine your disks.  Put the different halves
of your mirror on same controller, and writes to both halves of the
mirror must be issued serially (one after the other).  Put the halves
of your mirror on different controllers and the controllers can issue
the write commands in parallel.  In practice, you might not see any
difference on fast/wide SCSI buses that are mostly idle.


  -Greg

Re: INN & software raid on sparc solaris
#33034
Author: Ragnar Lonn
Date: Thu, 19 Nov 1998 00:00
39 lines
2327 bytes
In article <1rvhkl80ya.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme 
<kjetilho@haey.ifi.uio.no> wrote:
>
>[4] Preferably on different SCSI-controllers if you have a spare card
>    lying around.  I use four controllers in my box.

IMHO I doubt you actually need those four controllers to get good
performance. People tend to believe that you shouldn't put more than
3 disks on a single controller but it all depends on what kind of load
you have. 

If you have a system for e.g. delivering streaming video from very
large, consecutive files you might not want to put more than 3 SCSI
disks on a single controller because all three disks can deliver quite
a large sustained data flow under these circumstances and that might
prove to be about as much as the bus can handle. 

However, in most applications, like news, you aren't streaming data
at a high, sustained rate to/from a single large file. You are doing lots
of seeks and small reads/writes. This kind of work is not bandwidth-
intensive and most of the time, the SCSI bus will be idle waiting for
a disk to complete a seek or small read/write operation, so usually
I'd guess it is pretty safe to put more disks on a single bus. The
real bottleneck will almost always be the number of physical disks
on the system. More disks means more simultaneous seeks/reads/writes.
Of course, there's a limit to how many operations/second the controllers
themselves can do but I've never heard of anyone hitting that limit either, 
AFAIK.

I've never had more than two controllers on a news server (including
the onboard one), and I've had six spooldisks on a single controller
with no problems whatsoever.

Regards,

  /Ragnar


Re: INN & software raid on sparc solaris
#33087
Author: Ragnar Lonn
Date: Sat, 21 Nov 1998 00:00
43 lines
2743 bytes
In article <7322po$i6l$1@shell1.ncal.verio.com>, gerg@shell1.ncal.verio.com 
(Greg Andrews) wrote:
>You're ignoring the type of SCSI bus involved.  A narrow bus can handle
>3-4 busy disks before the bus becomes a bottleneck.  A fast/wide bus
>can handle 7 or more before the bus becomes a bottleneck.

Have you experienced a narrow bus becoming a bottleneck with more
than 3-4 disks and a usage pattern consisting of mainly seeks and small 
read/write operations?

The point I was trying to make is that in theory, on a bus with a say 20MB/sec
bandwidth, more than 4 disks that can deliver sustained (read) transfer rates
of 5MB/second each will be too much for the bus to handle.

In practice, however, the disks will never even come close to that figure 
because they spend most of their time seeking and when they do perform a
read or write operation, it is usually a small one. So it is fairly safe to 
put more, perhaps twice as many disks on the bus. This is not dependent on 
the bus type/speed but a general rule. Of course, the actual number of disks
you can have depend on a lot of factors but it is usually underestimated by
people.

>In theory, using multiple controllers can also improve performance,
>depending on the way you combine your disks.  Put the different halves
>of your mirror on same controller, and writes to both halves of the
>mirror must be issued serially (one after the other).  Put the halves
>of your mirror on different controllers and the controllers can issue
>the write commands in parallel.  In practice, you might not see any
>difference on fast/wide SCSI buses that are mostly idle.
>

Yeah, more controllers may improve performance, sure, but it's very much 
dependent on the situation and the configuration. The fact that
using bus bandwidth divided by disk bandwidth to determine the
number of disks you can have on a system is the wrong formula is
true in most cases (hmm, complicated sentence there - well you'll
probably figure out what I meant :-)

Regards,

  /Ragnar

Re: INN & software raid on sparc solaris
#33250
Author: Kjetil Torgrim Homme
Date: Tue, 24 Nov 1998 00:00
17 lines
1458 bytes
[Ragnar Lonn]

>   [you can have 4-6 drives on one SCSI-bus without problems since
>    news is I/O-intensive rather than bandwidth-intensive]

Probably quite true, I seldom see more than 200-300 kB/s on any SCSI
bus.  However, there are limits to SCSI-cabling as well, and on my
system with 10 old disks each in their own large cabinet (you know,
the 5 1/4" size), that is actually a factor[1] ;-)


Kjetil T.

[1] Each cable is 0.5 m, internal cabling is another 20 cm, giving a
    maximum of four cabinets (if any of the disks are SCSI 2).

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