🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
29 messages
29 total messages Started by Richard Lewin Thu, 11 Feb 1999 00:00
Disk space for overview
#35335
Author: Richard Lewin
Date: Thu, 11 Feb 1999 00:00
20 lines
1644 bytes
We are running a news server using INN 2.2 and are receiving a full news
feed - around 1.5 Gb per day.  We are using the cnfs storage method and
have around 15 Gb of space on two separate hard disks for the articles.
We have a problem, though, on the 3Gb root partition.  After about two
weeks of running inn it becomes completely full.  It appears that it is
the unified overview which is taking up most of the space.  It appears to
use about an extra 200-300 Mb per day and shows no sign of slowing down.
Surely it should reach a particular value and then hover at around that
level.

My question is, is it normal that the unified overview is this large (in
which case we will probably need a new disk) or is something configured
wrongly?

I would appreciate replies by email.  Thanks very much in advance.

Richard Lewin


Re: Disk space for overview
#35314
Author: Clayton O'Neill
Date: Thu, 11 Feb 1999 00:00
22 lines
2106 bytes
On Thu, 11 Feb 1999 13:33:48 +0100, Brad Knowles <brad@shub-internet.org> wrote:
|In article <slrn7c5irk.hr6.usenet@luser.oneill.net>, usenet@oneill.net
|(Clayton O'Neill) wrote:
|
|> On 11 Feb 1999 12:14:27 GMT, Clayton O'Neill <usenet@oneill.net> wrote:
|> ||    Are these the SYM22910 64-bit PCI dual-channel UltraSCSI2 controllers
|> ||at <http://www.lsilogic.com/products/sym22910.htm>?
|> |
|> |Looks like
|> 
|> Actually, I'm wrong.  We're using the SYM22802 which is the dual channel
|> differential card at (http://www.lsilogic.com/products/sym22802.htm).
|
|    Hmm.  I don't suppose you could tell me why you went with one
|particular card over the other, could you?  From the quick glance at the
|spec sheet, it would appear to me that the 22910 is the better card, but
|then perhaps it's a driver issue?

It's the card with supported drivers for solaris.  Also, I think the 22910
wasn't out when we bought the 22802.

Re: Disk space for overview
#35316
Author: Brad Knowles
Date: Thu, 11 Feb 1999 00:00
55 lines
3475 bytes
In article
<Pine.GSO.4.05.9902110844370.13272-100000@lily.csv.warwick.ac.uk>,
r.lewin@twinwave.net wrote:

> We are running a news server using INN 2.2 and are receiving a full news
> feed - around 1.5 Gb per day.

    Full newsfeeds run 24-30GB/day, not 1.5GB.  If you're getting only
1.5GB/day, that might be a full !alt.binaries.* feed, but there's no way
you could be getting anything close to a true full feed at only 1.5GB/day.

>                               We are using the cnfs storage method and
> have around 15 Gb of space on two separate hard disks for the articles.
> We have a problem, though, on the 3Gb root partition.  After about two
> weeks of running inn it becomes completely full.  It appears that it is
> the unified overview which is taking up most of the space.  It appears to
> use about an extra 200-300 Mb per day and shows no sign of slowing down.

    I continue to hear of a lot of problems with CNFS, especially with the
overview stuff.  Even with INN 2.2-REL, my recommendation would be to go
with traditional spool, and try putting that on multiple fast disks
(striped or striped and mirrored, you don't want the extremely slow write
rate of RAID-5).


    From posts to this newsgroup (and other sources), it is my
understanding that the optimal number of spindles for a news spool is
around twelve.

    So, if you really only want 15GB of disk space for the spool, then it
would seem that you would want twelve *fast* 1.4GB hard drives to give you
16.8GB raw disk space, and 15.12GB after putting a filesystem on there. 
You can go with fewer disk drives, but I wouldn't recommend any less than
eight.  You can also go with more disk drives, but I wouldn't recommend
any more than sixteen.  Ideally, these would all be on some sort of
hardware RAID controller, but so long as you're doing only striping or
striping+mirroring, software should be sufficient.


    If you're running on PCs, I would recommend FreeBSD 3.0, since that
has the softupdates filesystem as an available option.  Using async disk
writes on an ext2fs under Linux is one of the fastest ways I know of to
hose up a news spool filesystem, so much so that it can't possibly be
recovered with fsck, and you just have to newfs the sucker.

    Of course, you also want to make sure you have sufficient RAM.  I
would encourage at least 128MB, if not 256MB.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Disk space for overview
#35321
Author: Clayton O'Neill
Date: Thu, 11 Feb 1999 00:00
128 lines
6761 bytes
On Thu, 11 Feb 1999 13:01:14 +0100, Brad Knowles <brad@shub-internet.org> wrote:
|In article <slrn7c5f0k.hr6.usenet@luser.oneill.net>, usenet@oneill.net
|> I tend to refer to them as Symbios, but they were just bought by LSI Logic. 
|> Take a look at the Metastor section at www.symbios.com.
|
|    You mean <http://www.lsilogic.com/products/metaprod.htm>?

Yes.

|>                                                          Not much
|> information online unfortunately.
|
|    Yeah, mostly just marketing garbage.  What I want are the detailed
|technical specs (including architecture overview) of the MetaStor
|"Department" system.

I'd suggest calling them up.  They put me in contact w/a local rep that was
very helpful.

|>                                                  The ones we have are
|> configured with one redundant controller pair per 25 drives.
|
|    So, this is with the "Department" system half-populated with disks? 
|Do you really have three of these things with each of them only
|half-populated, or is there some trick to this configuration that I'm
|missing?

Each of the trays can be split into two scsi buses with 5 drives each.  So I
have a unit w/3 controller modules, and 80 disk modules.  

|>                                                               The new FC
|> controllers are supposed to be about twice as fast and have 6 backend
|> ultra-2 scsi buses, so we're going to bump it up to about 30 drives per
|> controller.
|
|    Only adding five more drives to a controller that's supposed to be
|twice as fast?  It would seem to me that you should at least be able to
|safely add 10-15 drives, and still be unlikely to run into controller
|overload problems.  Is there some other reason you're being so very
|conservative with the number of drives you're planning on having on each
|controller?

My benchmarks indicated for the workloads I was looking at that performance
per drive started to taper off around 20 drives and that 25 drives was the
point of no return.  I'd rather have the controller be too fast for the
drives than the other way around.  Also, think about the cabling issues. 
It's pretty much 25, 30, 50, or 60 drives per controller module to do it
cleanly.

|
|>                  FWIW, I'm using the dual port PCI symbios ultra-scsi
|> controllers.  Work well.
|
|    Are these the SYM22910 64-bit PCI dual-channel UltraSCSI2 controllers
|at <http://www.lsilogic.com/products/sym22910.htm>?

Looks like

|
|> E4000, 8x167, 8gb ram, Solaris 2.6.
|
|    WOOF!  That's some serious hardware!  I think we have only one or two
|E10k servers in the entire country [0], and there are probably only a
|handful of E4k servers.  I know that we don't have anything anywhere near
|that powerful anywhere around here -- our biggest servers are an E450 and
|several E250s. [1]

E4k's are fairly common around here.  We have about 4-5 of them just for
internet services.

|>                                      It services around 2400-2500 readers
|> during peak times with a load of about 4-5.  Most of that is context switch
|> overhead, so unless I get the time to thread nnrpd that's not going to get
|> much better.
|
|    When  you say "2400-2500 readers at peak", is this instantaneous
|reader processes, or is this actually only this number of users who are
|currently reading news, of whom only a small percentage would actually be
|connected to the machine and receiving or transmitting news?

That's nnrpd processes on the reader.

|    For example, we have only 100,000 customers, but we have around 5,000
|users logged on at peak.  I don't know how many of them are reading news
|at any one time (we're not tracking that information yet), but it can't be
|any more than two or three hundred.  And we're serving this many users
|with *much* less powerful hardware than you're talking about.

We have about 600k with about 60k logged on at any given point.  We also
have about 3500 cable mode customers and last I checked they accounted for
about 7-8% of all of our the news traffic. Also, how are telco costs billing
in belgium?  I tend to think it's billed per minute based on your user to
modem ratio. I think that if it is then you probably see a drasticly
different usage pattern than I do.  What is your peak users and peak
bandwidth usage?

|> Yes, but you have to remember to beef that up also if you go for higher
|> density disks.
|
|    So, if you double your spool (and double the period of time you keep
|news before it gets expired), then you need to double the number of
|spindles you're using for the overview database (or perhaps find some way
|to cut their seek time in half), right?  Or is there something else I'm
|missing?

I'm not sure that the math works quite like that, but it's definitely most
disk.  I tend to think that this there is a point of diminishing returns
where adding more spool space doesn't cost you much more overview
performance because people don't request the older records as often.

|
|
|
|[0] Belgium.
|
|[1] The E450 was bought at a time when they didn't have a mid-range model
|between the E450 and the Ultra10, so we bought the smallest machine that
|would serve the purpose.  It has since been replaced by a pair of E250s in
|failover mode, and we haven't yet decided what we're going to do with the
|older machine.
|
|-- 
|Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
|    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
|        If you wouldn't take out a one-page ad in the Wall Street
|        Journal to say something, then don't say it by email.

Re: Disk space for overview
#35323
Author: Clayton O'Neill
Date: Thu, 11 Feb 1999 00:00
14 lines
1558 bytes
On 11 Feb 1999 12:14:27 GMT, Clayton O'Neill <usenet@oneill.net> wrote:
||    Are these the SYM22910 64-bit PCI dual-channel UltraSCSI2 controllers
||at <http://www.lsilogic.com/products/sym22910.htm>?
|
|Looks like

Actually, I'm wrong.  We're using the SYM22802 which is the dual channel
differential card at (http://www.lsilogic.com/products/sym22802.htm).

-- 
Looking for a job as a full time news admin with cool toys?  If you're
interested mail me at the above address.

Re: Disk space for overview
#35330
Author: Brad Knowles
Date: Thu, 11 Feb 1999 00:00
40 lines
2844 bytes
In article <slrn7c5d07.hr6.usenet@luser.oneill.net>, usenet@oneill.net
(Clayton O'Neill) wrote:

> No, I'm using 75 9gb barracudas and will be switching to the Cheetahs on our
> next order.  We're using the older Symbios Ultra SCSI RAID controllers and
> will be eval'ing the newer Fibre Channel controllers as soon as they can
> ship me one of them.  We get a little under 500gb usable on those drives
> w/raid5 and spares.

    Hmm.  You're actually using RAID-5 and not pure striping or
striping+mirroring?  Don't the write rates on RAID-5 really suck?  And
what is your read vs. write rate on those machines?


    Out of curiosity, what are these Symbios RAID controllers?  I've heard
of DG Aviion, HP AutoRAID, DEC StorageWorks, DPT & Mylex PCI cards (as
well as the Mylex DAC960SXI SCSI-SCSI controller), but I don't recall
having heard of Symbios.  And is that an external RAID array, or an
internal RAID SCSI controller, and if the former, what are you using as
the SCSI controller that they are attached to? 

    Of course, once I start asking about the disk subsystem and the
controller, I'm also extremely curious to know what kind of host they're
attached to, and how it's configured.  ;-)

>                                            Keep in mind that if you decide
> to go for 18gb drives instead of 9gb drives that you're going to have twice
> as much overview to service requests for.  With the stock INN overview code
> that can really suck.

    I'm really confused.  Overview should be on a totally separate disk
subsystem, right?  What am I missing?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Disk space for overview
#35333
Author: Joe Greco
Date: Thu, 11 Feb 1999 00:00
46 lines
2706 bytes
In news.software.nntp article <brad-1102991131580001@brad.techos.skynet.be>, brad@shub-internet.org (Brad Knowles) wrote:
:In article <slrn7c5b89.hr6.usenet@luser.oneill.net>, usenet@oneill.net
:(Clayton O'Neill) wrote:
:
:> My management would be very happy with me if this were the case.  I guess
:> all those people with 500gb spools must be using the new barracuda 43's.

Barracuda 43's?  There are new 36's (not-quite-available) and 50's (not-
likely-avail-until-summer), and the big slow Elite 47.  IBM 36's are now
available.

:   Well, you're a hell of a lot more of an expert on this topic than I
:am.  I was just repeating my interpretation of what I can recall of the
:various posts I've read from Joe Greco on this topic.

Depending on what he's doing...  well, here's what I'm doing, with a wide
variety of FreeBSD R's, and the inn1.4u4 with-lots-of-hacks that I've
devised over the years...  most of my news spools are broken into:

/news
/news/alt
/news/alt/binaries
/nov

I do weed misplaced binaries, though, so that factors into the following.

/news is 4 4GB Barra drives		~30 days retention
/news/alt is 3 4GB Barra drives		~40 days retention
/n/a/b is 4 18GB Barra drives		~2-3 days retention except for
						weekends
/nov is a pair of drives, usually 2GB'ers but you can use 4GB'ers if you
can't find 2's.

The machines in question see peaks of perhaps 600 readers and I don't
feel that they are I/O constrained during those times.  For a smaller
configuration, you might be able to get by with using fewer drives and
FreeBSD's softupdates.

Disclaimer: I've been intending for a year and a half to dump INN and
all of that, and go to a much more distributed reader system based on
Diablo (or, failing that, Typhoon).  At that time, I'll be buying the
larger drives.

... JG

Re: Disk space for overview
#35334
Author: Russell Vincent
Date: Thu, 11 Feb 1999 00:00
36 lines
2515 bytes
Brad Knowles <brad@shub-internet.org> wrote:
>     Just how *does* the distributed reader system of Diablo work?  Is it
> essentially like what we have today, where there is a central INN spool
> server that accepts articles from our peering server, then exports
> /var/spool/news read-only to the two newsreader machines (which run
> nnrpd), and user posts are directed through another server that feeds back
> to the main spool server?

Nope - not quite. There is no NFS involved. The way I understand it is:

The central (big) spool sends header-only feeds to the client-facing
machines, which effectively store something like the overview files
on their disks. The articles are then fetched from the central spool
(via an ARTICLE/BODY - I think - command) when requested and (optionally)
cached locally on the reader facers.

I like this concept a lot, as a lot of newsreading access is
in the overview browsing and this effectively moves this function
away from the central spool to machines that can easily be added
as load demands and which have a relatively low cost (few disks).

There are quite a few variations possible, including having all
the above on one machine and being able to fetch articles from
different central spools, with priority settings and including
from INN machines. The documentation in the distribution
(README.DREADER) covers all this quite well.  Every time I think
of the concept, I get that warm fuzzy feeling.  :-)

All I am trying to do, before testing it live, is to come to grips
with the overview mechanism and expiry. It is probably quite
simple, but the basics keep eluding me.  :-)

 -Russell


Re: Disk space for overview
#35338
Author: Matt Dillon
Date: Thu, 11 Feb 1999 00:00
66 lines
4004 bytes
:In article <slrn7c5d07.hr6.usenet@luser.oneill.net>,
:Clayton O'Neill <usenet@oneill.net> wrote:
:>On Thu, 11 Feb 1999 11:31:58 +0100, Brad Knowles <brad@shub-internet.org> wrote:
:>|In article <slrn7c5b89.hr6.usenet@luser.oneill.net>, usenet@oneill.net
:>|(Clayton O'Neill) wrote:
:>|
:>|> My management would be very happy with me if this were the case.  I guess
:>|> all those people with 500gb spools must be using the new barracuda 43's.
:>|
:>|   Well, you're a hell of a lot more of an expert on this topic than I
:>|am.  I was just repeating my interpretation of what I can recall of the
:>|various posts I've read from Joe Greco on this topic.
:>|
:>|
:>|    I don't suppose that you could share with us what your experience has
:>|been in this area, could you?
:>|
:>|    Are you really using 130 4.3GB Seagate "Cheetah" mechanisms to make
:>|your 500GB spool?  What kind of disk controllers are you using?
:>
:>No, I'm using 75 9gb barracudas and will be switching to the Cheetahs on our
:>next order.  We're using the older Symbios Ultra SCSI RAID controllers and
:>will be eval'ing the newer Fibre Channel controllers as soon as they can
:>ship me one of them.  We get a little under 500gb usable on those drives
:>w/raid5 and spares.
:>
:>To be honest, I'd be using 4gb drives except for two reasons: 1) I don't
:>currently have the floor space for them.  2) It's fairly clear that Seagate
:>won't be making any new 4gb mechanisms in the Cheetah line.
:>
:>Spool size is really only incidental to the amount of spindles.  What you
:>should be looking at is the number of io/s you need to sustain during peak
:...

    I used to be a big proponent of having lots of spindles, but I ran 
    an experiment on BEST's latest news reader box and used three 18G drives
    Instead of six 9G ( or 12 4G ) drives.  I came to the conclusion that
    you get the same performance at much, much lower cost if you spend 
    your money on ram for caching rather then on supporting lots of 
    spindles.  I'm still a proponent of having several spindles, but not a
    huge number of spindles.  This particular machine is running with 256MB
    of ram and can handle ( running Diablo ) up to around 800 readers.  
    More if I put in more ram.  It's also running FreeBSD-3.x with softupdates
    enabled, which makes a big difference on write/file-create/file-delete
    latencies all by itself.

    I think that for a big spool, having 8 modern 25G+ drives and two gigs of 
    ram would perform just as well as having 50 4G drives and 512MB of ram.
    Why spend the money on an insanely huge RAID box just to support a large
    number of spindles when you can spend that same money on ram?  Not to
    mention saving on the power and cooling costs!

    Another point: It would be pretty hard to saturate 50 spindles.  If your
    hardware is not capable of saturating all the spindles seek-wise, having
    all those spindles is a waste of money.

						-Matt



-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: Disk space for overview
#35342
Author: Clayton O'Neill
Date: Thu, 11 Feb 1999 00:00
41 lines
2798 bytes
On Thu, 11 Feb 1999 11:31:58 +0100, Brad Knowles <brad@shub-internet.org> wrote:
|In article <slrn7c5b89.hr6.usenet@luser.oneill.net>, usenet@oneill.net
|(Clayton O'Neill) wrote:
|
|> My management would be very happy with me if this were the case.  I guess
|> all those people with 500gb spools must be using the new barracuda 43's.
|
|   Well, you're a hell of a lot more of an expert on this topic than I
|am.  I was just repeating my interpretation of what I can recall of the
|various posts I've read from Joe Greco on this topic.
|
|
|    I don't suppose that you could share with us what your experience has
|been in this area, could you?
|
|    Are you really using 130 4.3GB Seagate "Cheetah" mechanisms to make
|your 500GB spool?  What kind of disk controllers are you using?

No, I'm using 75 9gb barracudas and will be switching to the Cheetahs on our
next order.  We're using the older Symbios Ultra SCSI RAID controllers and
will be eval'ing the newer Fibre Channel controllers as soon as they can
ship me one of them.  We get a little under 500gb usable on those drives
w/raid5 and spares.

To be honest, I'd be using 4gb drives except for two reasons: 1) I don't
currently have the floor space for them.  2) It's fairly clear that Seagate
won't be making any new 4gb mechanisms in the Cheetah line.

Spool size is really only incidental to the amount of spindles.  What you
should be looking at is the number of io/s you need to sustain during peak
and make your choices based on that.  Spool size is just a product of how
much extra money you're willing to spend.  Keep in mind that if you decide
to go for 18gb drives instead of 9gb drives that you're going to have twice
as much overview to service requests for.  With the stock INN overview code
that can really suck.

-- 
Looking for a job as a full time news admin with cool toys?  If you're
interested mail me at the above address.

Re: Disk space for overview
#35343
Author: Brad Knowles
Date: Thu, 11 Feb 1999 00:00
24 lines
2190 bytes
In article <slrn7c5irk.hr6.usenet@luser.oneill.net>, usenet@oneill.net
(Clayton O'Neill) wrote:

> On 11 Feb 1999 12:14:27 GMT, Clayton O'Neill <usenet@oneill.net> wrote:
> ||    Are these the SYM22910 64-bit PCI dual-channel UltraSCSI2 controllers
> ||at <http://www.lsilogic.com/products/sym22910.htm>?
> |
> |Looks like
> 
> Actually, I'm wrong.  We're using the SYM22802 which is the dual channel
> differential card at (http://www.lsilogic.com/products/sym22802.htm).

    Hmm.  I don't suppose you could tell me why you went with one
particular card over the other, could you?  From the quick glance at the
spec sheet, it would appear to me that the 22910 is the better card, but
then perhaps it's a driver issue?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Disk space for overview
#35347
Author: Brad Knowles
Date: Thu, 11 Feb 1999 00:00
24 lines
1857 bytes
In article <slrn7c5b89.hr6.usenet@luser.oneill.net>, usenet@oneill.net
(Clayton O'Neill) wrote:

> My management would be very happy with me if this were the case.  I guess
> all those people with 500gb spools must be using the new barracuda 43's.

   Well, you're a hell of a lot more of an expert on this topic than I
am.  I was just repeating my interpretation of what I can recall of the
various posts I've read from Joe Greco on this topic.


    I don't suppose that you could share with us what your experience has
been in this area, could you?

    Are you really using 130 4.3GB Seagate "Cheetah" mechanisms to make
your 500GB spool?  What kind of disk controllers are you using?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Disk space for overview
#35354
Author: Brad Knowles
Date: Thu, 11 Feb 1999 00:00
167 lines
9155 bytes
In article <slrn7c5id2.hr6.usenet@luser.oneill.net>, usenet@oneill.net
(Clayton O'Neill) wrote:

> I'd suggest calling them up.  They put me in contact w/a local rep that was
> very helpful.

    I have some of the spec sheets (including the one for the 22910 card),
and there's a European Sales Headquarters number (in Germany -- I hope
they speak English, too ;-).  I'll call them up and try to get some more
detailed information.

    Thanks for the pointer!

> Each of the trays can be split into two scsi buses with 5 drives each.  So I
> have a unit w/3 controller modules, and 80 disk modules.

    You mean 80 disk drives, spread across 8 disk modules (each running in
split-bus mode, kind of like the DEC StorageWorks), right?

> My benchmarks indicated for the workloads I was looking at that performance
> per drive started to taper off around 20 drives and that 25 drives was the
> point of no return.  I'd rather have the controller be too fast for the
> drives than the other way around.

    Agreed.

>                                    Also, think about the cabling issues. 
> It's pretty much 25, 30, 50, or 60 drives per controller module to do it
> cleanly.

    Hmm.  How many back-end SCSI channels per controller module?  How many
drives per channel?  Obviously I need to get the detailed specs, because
there is some important information you have that influenced your
decisions, and I don't have that information.

> E4k's are fairly common around here.  We have about 4-5 of them just for
> internet services.

    Yeah, well.  You are slightly larger than we are, and you should most
definitely be better funded.  We have to spend most of our $$$ on
terrestrial WAN connectivity.

> That's nnrpd processes on the reader.

    Ahh.  We have two reader boxes that NFS mount (read-only) the server,
so I'll have to start watching how many nnrpd processes we have on those
puppies.

> We have about 600k with about 60k logged on at any given point.  We also
> have about 3500 cable mode customers and last I checked they accounted for
> about 7-8% of all of our the news traffic.

    Yeah, rather larger than we are.  By about a factor of ten, at least
in terms of simultaneous online customers.

>                                           Also, how are telco costs billing
> in belgium?

    Expensive as *HELL*.  I don't know the numbers for even local
telephone calls, but our WAN costs are *OUTRAGEOUS*.  Over here, when
bought in bulk, an E-1 line (about 2Mbps) costs around 1.1 million Belgian
Francs per month (1.1mBEF/mo), or around 31.5kUSD/mo.  Actually, that's
for an E-1 equivalent, since you have to buy in larger quantities than
that to get prices knocked down that low.


    If I can save 1Mbps on our terrestrial WAN and could apply those cost
savings directly to the budget this year for Usenet news (including server
upgrades, satellite news feeds, etc...), I could increase the annual
budget for Usenet news by 660%.  If applied to the mail system instead, I
could increase it's budget by 66%.

    Unfortunately, 1Mbps is around 15GB/day, and there's just not enough
alt.binaries.* news traffic that we're not already getting via satellite
to justify those kinds of cost savings.  I could only save in the vicinity
of 1GB/day in terms of alt.binaries.* traffic (by asking our one
non-satellite feed to add a one hour time-delay to the alt.binaries.*
articles they feed us), and that's just not enough money to justify adding
a second satellite news feed.


    In fact, if we take the money we're paying for the current news feed
and apply that towards the cost of a feed with another company, that's
*still* not enough money to cover the cost of switching.

    If you want to justify switching to another satellite news feed
provider, It's only when you compare the cost of transiting a full
newsfeed across our terrestrial WAN (which we're not doing today, so this
is a non-existant cost savings), or get to considering how much it's
costing us to have our customers go across our terrestrial WAN to other
news/web servers in the world to get the news that we're not storing for
them that I think you could probably justify the additional cost.  Of
course, then you've also got to consider how much the servers would cost
that would be able to support that kind of news transit and spool storage.


    Anyway, we've started the process of collecting the statistics to tell
us just how much it's costing us to have a 4GB/day newsfeed (pretty
complete !alt.binaries.* plus a small sampling of alt.binaries.*), and
instead have our customers read the news articles they want anyway via
some other news or news-via-web provider.

    Once we get those numbers (and compare them to our terrestrial WAN
costs), we'll have a better idea of what kind of machines and supporting
satellite news feeds we could afford to put in.

>              I tend to think it's billed per minute based on your user to
> modem ratio. I think that if it is then you probably see a drasticly
> different usage pattern than I do.

    I think we see a *very* different usage pattern, in part because even
local calls are billed on a per-minute rate, and that rate hits it's low
point over the weekend.  We don't see peak every night from eight to
eleven PM, as was common at the time when I worked at AOL (although we do
see heavier usage at night than we typically get during the day).  We tend
to see *huge* peaks every weekend.

    I think ADSL is going to *radically* change our usage patterns,
however.  It's going to be billed flat-rate, and Belgacom is going to try
*very* hard to compete with cable modems (which have gotten a pretty big
head start over here).  Imagine everyone having their own dedicated 1Mbps
up/8Mbps down pipe to the 'net, and it now being flat-rate instead of
paying per byte/minute.  Oy.

> I'm not sure that the math works quite like that, but it's definitely most
> disk.  I tend to think that this there is a point of diminishing returns
> where adding more spool space doesn't cost you much more overview
> performance because people don't request the older records as often.

    Hmm.  Interesting.


    Anyway, let's assume for the moment that you didn't work at a provider
that could afford to buy E4k servers.  Instead, let's assume that you were
going to try to build a big news server (~250-500GB) from relatively
standard PC parts.  Any ideas where you'd start?


    Would it be with a system like the VA Research 3500 server (see
<http://www.varesearch.com/index.cgi?systems=vs3500B>), perhaps with DPT
SmartRAID IV SCSI RAID host controllers or Mylex DAC960SXI SCSI-SCSI RAID
controllers (no more than four drives per controller channel), or would
you not even bother with hardware RAID and simply do software striping
(alt.binaries.*) and striping+mirroring (!alt.binaries.*)?

    What OS would you use?  Perhaps FreeBSD?  What kind of a filesystem
would you use?  Maybe softupdates?  I presume that the disks would be
Seagate "Cheetah" mechanisms, but would you go for 9GB or 18GB, or would
you even try to find the new 36GB models?

    Any thoughts on what kind of expiration times you'd use (maybe 4 days
for alt.binaries.* and 40 days for !alt.binaries.*)?  Would you buy/build
a server that could handle a doubling of growth in twelve to eighteen
months (so that it's actually twice as big as you need/want today, and
you've got room to grow), or would you buy a server that could handle
today's load and then plan on replacing it relatively quickly?


    Thanks for letting me suck your brain dry!  ;-)

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Disk space for overview
#35355
Author: Clayton O'Neill
Date: Thu, 11 Feb 1999 00:00
93 lines
6354 bytes
On Thu, 11 Feb 1999 14:10:17 +0100, Brad Knowles <brad@shub-internet.org> wrote:
|In article <slrn7c5id2.hr6.usenet@luser.oneill.net>, usenet@oneill.net
|(Clayton O'Neill) wrote:
|>                                    Also, think about the cabling issues. 
|> It's pretty much 25, 30, 50, or 60 drives per controller module to do it
|> cleanly.
|
|    Hmm.  How many back-end SCSI channels per controller module?  How many
|drives per channel?  Obviously I need to get the detailed specs, because
|there is some important information you have that influenced your
|decisions, and I don't have that information.

Well, 5 backend disk buses on the ultra-scsi version, 6 on the FC version. 
I think they only support up to 10 drives per bus, but I only use 5 per bus.

|> I'm not sure that the math works quite like that, but it's definitely most
|> disk.  I tend to think that this there is a point of diminishing returns
|> where adding more spool space doesn't cost you much more overview
|> performance because people don't request the older records as often.
|
|    Hmm.  Interesting.
|    Anyway, let's assume for the moment that you didn't work at a provider
|that could afford to buy E4k servers.  Instead, let's assume that you were
|going to try to build a big news server (~250-500GB) from relatively
|standard PC parts.  Any ideas where you'd start?


I'd have to know how many readers you want to support and with what kind of
workload.  There isn't really any antecdotal formula for this kind of thing. 
I'd suggest you figure out how many io/s your drives can do, estimate how
many overview and article requests per second you want to be able to do, and
figure out how many drives that ends up being.  Personally I'd take that
number and multiply that by 3-4x so that you get decent latency and to allow
for future growth.  Take into account that an article request with
traditional spool takes on the order of 3-5 io's to open the file, much less
transfer the article, and that's probably best case.  This is where CNFS
starts to make a lot of sense.  The problem is that the overview performance
sucks so badly that on stock INN that you blow the performance advantage of
CNFS completely.

|    Would it be with a system like the VA Research 3500 server (see
|<http://www.varesearch.com/index.cgi?systems=vs3500B>), perhaps with DPT
|SmartRAID IV SCSI RAID host controllers or Mylex DAC960SXI SCSI-SCSI RAID
|controllers (no more than four drives per controller channel), or would
|you not even bother with hardware RAID and simply do software striping
|(alt.binaries.*) and striping+mirroring (!alt.binaries.*)?

I'd tend to go for external raid stuff or else do raid 0+1 and go for
commidity drives.  If you don't need the support you get from an
integrator/vendor then you can make raid 0+1 quite competitive from a price
standpoint.

|    What OS would you use?  Perhaps FreeBSD?  What kind of a filesystem
|would you use?  Maybe softupdates?  I presume that the disks would be
|Seagate "Cheetah" mechanisms, but would you go for 9GB or 18GB, or would
|you even try to find the new 36GB models?

I'm sticking w/9gb drives for all my stuff.  Vendors keep looking at me like
I'm crazy, but they don't seem to understand that the most important thing
is the number of spindles you have.  More disk space is useless if you can't
utilize it.  As far as OS's go, I'd use FreeBSD or Solaris, depending on
what I was familiar with.  I don't think the filesystem makes much of a
difference since I'd be using CNFS and my overview code.  I'd personally
lean towards Solaris since I know it better and last I checked the mmap code
was better about read-ahead and such, but FreeBSD's sendfile() code would
make me curious enough to give it a try.

|    Any thoughts on what kind of expiration times you'd use (maybe 4 days
|for alt.binaries.* and 40 days for !alt.binaries.*)?  Would you buy/build
|a server that could handle a doubling of growth in twelve to eighteen
|months (so that it's actually twice as big as you need/want today, and
|you've got room to grow), or would you buy a server that could handle
|today's load and then plan on replacing it relatively quickly?

We're doing that retention right now with about 170gb split in half.  Half
to binaries and half to everything else.  I plan on replacing storage about
ever 12-18 months.  I also plan on being able to double or triple storage in
the existing system and then passing it down to someone else after that.

Another thing to consider is that news, IMHO, is one thing that it makes
sense to try to scale vertically in a small number of large boxes instead of
a large number of small boxes.  My justification is basically, that you need
x spindles to justify y users.  If you have z servers, then you end up with
x/z spindles per server, If all things are equal then you end up with more
spindles on less servers, making management easier and you end up with
larger spools.  This has the downside that when a box crashes it takes out
more of your capacity, but that's something I'm willing to live with.

|    Thanks for letting me suck your brain dry!  ;-)

Not a problem.

Re: Disk space for overview
#35357
Author: Clayton O'Neill
Date: Thu, 11 Feb 1999 00:00
64 lines
4094 bytes
On Thu, 11 Feb 1999 12:04:36 +0100, Brad Knowles <brad@shub-internet.org> wrote:
|In article <slrn7c5d07.hr6.usenet@luser.oneill.net>, usenet@oneill.net
|(Clayton O'Neill) wrote:
|
|> No, I'm using 75 9gb barracudas and will be switching to the Cheetahs on our
|> next order.  We're using the older Symbios Ultra SCSI RAID controllers and
|> will be eval'ing the newer Fibre Channel controllers as soon as they can
|> ship me one of them.  We get a little under 500gb usable on those drives
|> w/raid5 and spares.
|
|    Hmm.  You're actually using RAID-5 and not pure striping or
|striping+mirroring?  Don't the write rates on RAID-5 really suck?  And
|what is your read vs. write rate on those machines?

About 90-10, favoring reads.  Sure, the write rate sucks, but I don't do
many writes compared to reads.  It's a good tradeoff.

|    Out of curiosity, what are these Symbios RAID controllers?  I've heard
|of DG Aviion, HP AutoRAID, DEC StorageWorks, DPT & Mylex PCI cards (as
|well as the Mylex DAC960SXI SCSI-SCSI controller), but I don't recall
|having heard of Symbios.  And is that an external RAID array, or an
|internal RAID SCSI controller, and if the former, what are you using as
|the SCSI controller that they are attached to? 

I tend to refer to them as Symbios, but they were just bought by LSI Logic. 
Take a look at the Metastor section at www.symbios.com.  Not much
information online unfortunately.  They're external raid controllers where
most everything is hot swappable and redundant.  The ones we have are
configured with one redundant controller pair per 25 drives.  The new FC
controllers are supposed to be about twice as fast and have 6 backend
ultra-2 scsi buses, so we're going to bump it up to about 30 drives per
controller.

As far as SCSI controllers, I think the role of them is vastly overstated. 
I tend to think it's a reaction to the fact that the esp scsi controllers on
older sun's really sucked because just about anything today can max out a
ultra-scsi bus. FWIW, I'm using the dual port PCI symbios ultra-scsi
controllers.  Work well.

|    Of course, once I start asking about the disk subsystem and the
|controller, I'm also extremely curious to know what kind of host they're
|attached to, and how it's configured.  ;-)

E4000, 8x167, 8gb ram, Solaris 2.6.  It services around 2400-2500 readers
during peak times with a load of about 4-5.  Most of that is context switch
overhead, so unless I get the time to thread nnrpd that's not going to get
much better.

|>                                            Keep in mind that if you decide
|> to go for 18gb drives instead of 9gb drives that you're going to have twice
|> as much overview to service requests for.  With the stock INN overview code
|> that can really suck.
|
|    I'm really confused.  Overview should be on a totally separate disk
|subsystem, right?  What am I missing?

Yes, but you have to remember to beef that up also if you go for higher
density disks.

-- 
Looking for a job as a full time news admin with cool toys?  If you're
interested mail me at the above address.

Re: Disk space for overview
#35359
Author: Clayton O'Neill
Date: Thu, 11 Feb 1999 00:00
9 lines
1154 bytes
On Thu, 11 Feb 1999 11:09:20 +0100, Brad Knowles <brad@shub-internet.org> wrote:
|    From posts to this newsgroup (and other sources), it is my
|understanding that the optimal number of spindles for a news spool is
|around twelve.

My management would be very happy with me if this were the case.  I guess
all those people with 500gb spools must be using the new barracuda 43's.

Re: Disk space for overview
#35360
Author: Brad Knowles
Date: Thu, 11 Feb 1999 00:00
91 lines
5101 bytes
In article <slrn7c5f0k.hr6.usenet@luser.oneill.net>, usenet@oneill.net
(Clayton O'Neill) wrote:

> I tend to refer to them as Symbios, but they were just bought by LSI Logic. 
> Take a look at the Metastor section at www.symbios.com.

    You mean <http://www.lsilogic.com/products/metaprod.htm>?

>                                                          Not much
> information online unfortunately.

    Yeah, mostly just marketing garbage.  What I want are the detailed
technical specs (including architecture overview) of the MetaStor
"Department" system.

>                                                  The ones we have are
> configured with one redundant controller pair per 25 drives.

    So, this is with the "Department" system half-populated with disks? 
Do you really have three of these things with each of them only
half-populated, or is there some trick to this configuration that I'm
missing?

>                                                               The new FC
> controllers are supposed to be about twice as fast and have 6 backend
> ultra-2 scsi buses, so we're going to bump it up to about 30 drives per
> controller.

    Only adding five more drives to a controller that's supposed to be
twice as fast?  It would seem to me that you should at least be able to
safely add 10-15 drives, and still be unlikely to run into controller
overload problems.  Is there some other reason you're being so very
conservative with the number of drives you're planning on having on each
controller?

>                  FWIW, I'm using the dual port PCI symbios ultra-scsi
> controllers.  Work well.

    Are these the SYM22910 64-bit PCI dual-channel UltraSCSI2 controllers
at <http://www.lsilogic.com/products/sym22910.htm>?

> E4000, 8x167, 8gb ram, Solaris 2.6.

    WOOF!  That's some serious hardware!  I think we have only one or two
E10k servers in the entire country [0], and there are probably only a
handful of E4k servers.  I know that we don't have anything anywhere near
that powerful anywhere around here -- our biggest servers are an E450 and
several E250s. [1]

>                                      It services around 2400-2500 readers
> during peak times with a load of about 4-5.  Most of that is context switch
> overhead, so unless I get the time to thread nnrpd that's not going to get
> much better.

    When  you say "2400-2500 readers at peak", is this instantaneous
reader processes, or is this actually only this number of users who are
currently reading news, of whom only a small percentage would actually be
connected to the machine and receiving or transmitting news?

    For example, we have only 100,000 customers, but we have around 5,000
users logged on at peak.  I don't know how many of them are reading news
at any one time (we're not tracking that information yet), but it can't be
any more than two or three hundred.  And we're serving this many users
with *much* less powerful hardware than you're talking about.

> Yes, but you have to remember to beef that up also if you go for higher
> density disks.

    So, if you double your spool (and double the period of time you keep
news before it gets expired), then you need to double the number of
spindles you're using for the overview database (or perhaps find some way
to cut their seek time in half), right?  Or is there something else I'm
missing?



[0] Belgium.

[1] The E450 was bought at a time when they didn't have a mid-range model
between the E450 and the Ultra10, so we bought the smallest machine that
would serve the purpose.  It has since been replaced by a pair of E250s in
failover mode, and we haven't yet decided what we're going to do with the
older machine.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Disk space for overview
#35364
Author: Brad Knowles
Date: Thu, 11 Feb 1999 00:00
112 lines
5906 bytes
In article <79v101$asj@newsops.execpc.com>, jgreco@ns.sol.net (Joe Greco) wrote:

> I do weed misplaced binaries, though, so that factors into the following.
> 
> /news is 4 4GB Barra drives             ~30 days retention
> /news/alt is 3 4GB Barra drives         ~40 days retention

    It's my understanding that disk latency is the biggest single killer,
so I'd be inclined to make that the place where I spend most of my $$$,
and go for Seagate "Cheetah" mechanisms across the board (or maybe IBM
UltraStar, if the performance is comparable and the capacity is
sufficient).


   What do you think of putting /news and /news/alt on the same 8 disks? 
You'd have one more spindle working for you over that amount of space, and
if you used 9GB Cheetah mechanisms, you'd have room for either ~60 days
retention or a year's worth of growth.

    Of course, I'd want to do it as mirrored + striped and not just
striped, so maybe those should be 18GB Cheetah mechanisms instead
(although I'd end up cutting in half the number of spindles that are
working in parallel).

> /n/a/b is 4 18GB Barra drives           ~2-3 days retention except for
>                                                 weekends

    Is it weekends where the amount of traffic really spikes up through
the roof?

    What about using eight 18GB Cheetah mechanisms to get 5-6 days
retention?  Or maybe using eight 36GB mechanisms to get 9-12 days of
retention today, with growth space to handle 5-6 days retention in 12-18
months?

> /nov is a pair of drives, usually 2GB'ers but you can use 4GB'ers if you
> can't find 2's.

    A separate filesystem for NOV.  Okay, I can deal with that.  About how
much disk space do you need for the amount of storage that you've laid out
in the above example?  Do you really need all 4GB?  How about using a pair
of 9GB Cheetah mechanisms for NOV?

> The machines in question see peaks of perhaps 600 readers and I don't
> feel that they are I/O constrained during those times.

    Do you have any idea what the disk I/O wait queues are like for this
system, and how heavily stressed the machine is?

    I'd really like to be able to find some performance monitoring/tuning
tools for FreeBSD that are similar to the SymbEL 3.x package from Rich
Petit (and documented in Adrian Crockcraft's book _Sun Performance and
Tuning: Java and the Internet_) for Solaris.

>                                                         For a smaller
> configuration, you might be able to get by with using fewer drives and
> FreeBSD's softupdates.

    As you can see, I'd really like to have more than just a couple days
retention for alt.binaries.*, and on the order of a month retention for
!alt.binaries.*.


    Questions that I have which remain are:

        1)  Does it make sense to try to build the machine to handle only
today's traffic load at those retention periods (and assume that I'll
replace the machine quickly, once the retention periods start having to
slip too terribly much), or if I should build it to handle a doubling of
traffic in 12-18 months?

        2)  Is it feasible to plan on going with striping only for
alt.binaries.*?

        3)  Can I somehow manage to shoehorn this into the machine itself
(plus perhaps two or three internal disks) plus only a couple of external
cabinets?

        4)  Does it make sense to use only software mirroring/striping, or
would hardware mirroring/striping really buy a big benefit for the amount
of $$$ outlaid?

        5)  Can FreeBSD + softupdates help buy me enough additional
performance that I can feasibly build a machine based on a relatively
standard PC server configuration with some high-speed SCSI disks added, or
are we starting to get into the levels of expense where it would probably
make more sense to spring for a Sun server with "real" RAID systems (such
as the Symbios that Clayton mentioned)?

> Disclaimer: I've been intending for a year and a half to dump INN and
> all of that, and go to a much more distributed reader system based on
> Diablo (or, failing that, Typhoon).  At that time, I'll be buying the
> larger drives.

    That's an interesting question.

    Just how *does* the distributed reader system of Diablo work?  Is it
essentially like what we have today, where there is a central INN spool
server that accepts articles from our peering server, then exports
/var/spool/news read-only to the two newsreader machines (which run
nnrpd), and user posts are directed through another server that feeds back
to the main spool server?

    And how does this compare to Typhoon?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Disk space for overview
#35367
Author: Michael Faurot
Date: Fri, 12 Feb 1999 00:00
29 lines
2507 bytes
Mike Fagan <mfagan@nospam.infoave.net> wrote:

: Okay, sort of off topic here, but I wanted to know what kind of experience
: you had running reader boxes mounted via NFS.  Are you using 2.1/2.2?  CNFS?
: What kind of hardware have you got?

: The reason I ask is that just yesterday I put in the order for some new
: hardware, our setup will look something like this: One 300mhz Alpha 4100
: will handle all the feeds, two 500mhz Alpha 800s will handle readers (all
: the machines have 1 gig of memory), and they all will connect to a NetApp
: (http://www.netapp.com) F720 NFS fileserver running with 8 18 gig
: FiberChannel Drives and 4 9 gig FC drives.  They'll be connected via FDDI
: for the NFS, and if that doesn't cut it, I plan to upgrade to Gigabit
: Ethernet.

I've done something similar, although without that much firepower.
In particular I used a NetApp F520 with 12 9G drives to host a traditional
spool.  The primary reader server was on a Sparc box (512M RAM) running
INN v1.7.2insync and the secondary reader-only box was Linux system.
This configuration, with a traditonal spool works very nicely.  NFS access
was over a private 100M ethernet LAN.  With the hardware you've described
it should run pretty well indeed.

-- 
------------------------------------------------------------------------------
 Michael |     mfaurot     | Half of being smart is knowing what you're
 Faurot  | phzzzt.atww.org | dumb at.

Re: Disk space for overview
#35399
Author: Mike Fagan
Date: Fri, 12 Feb 1999 00:00
33 lines
2538 bytes
>    Ahh.  We have two reader boxes that NFS mount (read-only) the server,
>so I'll have to start watching how many nnrpd processes we have on those
>puppies.


Okay, sort of off topic here, but I wanted to know what kind of experience
you had running reader boxes mounted via NFS.  Are you using 2.1/2.2?  CNFS?
What kind of hardware have you got?

The reason I ask is that just yesterday I put in the order for some new
hardware, our setup will look something like this: One 300mhz Alpha 4100
will handle all the feeds, two 500mhz Alpha 800s will handle readers (all
the machines have 1 gig of memory), and they all will connect to a NetApp
(http://www.netapp.com) F720 NFS fileserver running with 8 18 gig
FiberChannel Drives and 4 9 gig FC drives.  They'll be connected via FDDI
for the NFS, and if that doesn't cut it, I plan to upgrade to Gigabit
Ethernet.

I'll probably be re-installing all the software when I do the upgrade (we're
currently running INN 2.1/CNFS on the 4100 with directly attatched
StorageWorks drives) do you guys recommend doing anything special with the
software?

We're not quite at 600,000 users - only 160,000 :)  But we're looking to
grow, and any pointers from the other 'big boys' out there would be much
apreciated!

Mike Fagan, Info Avenue Internet Services




Re: Disk space for overview
#35411
Author: Brad Knowles
Date: Sat, 13 Feb 1999 00:00
95 lines
6022 bytes
In article <7a1gnb$fqr$1@news3.infoave.net>, "Mike Fagan"
<mfagan@nospam.infoave.net> wrote:

> Okay, sort of off topic here, but I wanted to know what kind of experience
> you had running reader boxes mounted via NFS.  Are you using 2.1/2.2?  CNFS?
> What kind of hardware have you got?

    INN 2.1 with traditional spool, although we're not taking a full feed
(only 4GB/day vice 30GB/day).  Our transit server is a Linux box running
Diablo 1.21-test05, our news spool server is a DEC Alpha 1000, and our
news reader boxes are also Linux.  The news reader boxes mount the news
spool server read-only via NFS.

    The news spool server has something like 256MB RAM and 48G of raw
spool connected through a DEC intelligent external HSZ-40 SCSI-SCSI
controller (24GB is mirrored+striped for !alt.binaries, the other 24GB is
striped only for alt.binaries).  The news reader boxes have 128MB and
192MB RAM respectively, but otherwise are pretty stock slightly older
hardware running Linux 2.0.34.

> The reason I ask is that just yesterday I put in the order for some new
> hardware, our setup will look something like this: One 300mhz Alpha 4100
> will handle all the feeds, two 500mhz Alpha 800s will handle readers (all
> the machines have 1 gig of memory), and they all will connect to a NetApp
> (http://www.netapp.com) F720 NFS fileserver running with 8 18 gig
> FiberChannel Drives and 4 9 gig FC drives.  They'll be connected via FDDI
> for the NFS, and if that doesn't cut it, I plan to upgrade to Gigabit
> Ethernet.

    YOWCH!!!  That's some pretty honking hardware!

    However, even then, I believe that you will be sub-optimally
configured.  RAID-5 writes suck enougn, but doing them on an NFS server
sucks even more -- there's nothing worse I can think of than NFS writes,
unless it's a totally dead server.  I'd much rather have a DEC Alpha
server writing to local disk spool and then acting as it's own NFS server
to the news reader boxes.


    Besides, if you're only going to push in the vicinity of 144GB of
spool (about three days of alt.binaries.* and twenty days of
!alt.binaries.*?), I think there are much better (and cheaper) ways to do
it.

    For example, a Diablo "dreader" server running on FreeBSD-stable
(3.1?) with 1GB RAM and three Seagate Baracuda 50GB hard drives would
serve the same amount of disk space, and do so for a lot less $$$ (maybe
as little as 1/10th the cost, with most of the money tied up in the disk
drives?).  Hook them up with Diablo reader clients (which need virtually
no local disk space) and a Diablo news transit server (everything on
FreeBSD-current), and you'd have a pretty good news server configuration.

    Note that you'd also come pretty close to mirroring the news server
configuration at best.com, where Matt Dillon (author of Diablo) works.


    Myself, I'm checking out hardware configurations for a new set of
hardware for news transit, spool, readers, etc... and I'm looking to
hopefully be able to manage to have in the vicinity of 500GB of storage on
the news spool server.  With Baracuda 50GB drives, I'd only need ten of
them (or twenty if I were going with full mirrored+striping), and I
probably wouldn't even need the softupdates filesystem, because Diablo has
it's own version of the CNFS filesystem internally.

> We're not quite at 600,000 users - only 160,000 :)  But we're looking to
> grow, and any pointers from the other 'big boys' out there would be much
> apreciated!

    We're serving "only" 100,000 residential customers so far (I have no
idea how many business customers), and for the kind of money you're
talking about spending, I'd be willing to bet I could build a Diablo-based
news system that kicks ass and would beat your INN-based news system into
a bloody pulp.

    Increasing my rating on the Freenix Top 1000 would only be part of the
game -- I'd also want to have several times as much spool as you have, and
I think I could manage it at that price.  Heck, I might even give a little
trouble to those outsourcing guys over at remarQ/supernews.  ;-)


    For my part, wanting to make the company grow depends as much on
spending your money wisely as it does in having the absolute fastest
possible systems around.  In fact, I think I could argue that the single
*most* important thing is spending your money wisely.

    And I'd have to say that, at this stage, I don't think an Alpha-based
solution is likely to be all that cost-effective.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

Re: Disk space for overview
#35440
Author: Kjetil Torgrim Homme
Date: Mon, 15 Feb 1999 00:00
18 lines
1933 bytes
[Brad Knowles]

>       However, even then, I believe that you will be sub-optimally
>   configured.  RAID-5 writes suck enougn, but doing them on an NFS
>   server sucks even more -- there's nothing worse I can think of
>   than NFS writes, unless it's a totally dead server.  I'd much
>   rather have a DEC Alpha server writing to local disk spool and
>   then acting as it's own NFS server to the news reader boxes.

Ahem, I see that you have never tried a NetApp :-) NetApp uses RAID4,
not RAID5, it has NVRAM to cache writes (the synchronous writes of NFS
is usually the largest performance problem), and in many cases
outperforms a local file system.


Kjetil T.

Re: Disk space for overview
#35447
Author: Mike Fagan
Date: Mon, 15 Feb 1999 00:00
66 lines
4250 bytes
Brad Knowles wrote in message ...
>In article <7a1gnb$fqr$1@news3.infoave.net>, "Mike Fagan"
><mfagan@nospam.infoave.net> wrote:
>
>
>    YOWCH!!!  That's some pretty honking hardware!
>
>    However, even then, I believe that you will be sub-optimally
>configured.  RAID-5 writes suck enougn, but doing them on an NFS server
>sucks even more -- there's nothing worse I can think of than NFS writes,
>unless it's a totally dead server.  I'd much rather have a DEC Alpha
>server writing to local disk spool and then acting as it's own NFS server
>to the news reader boxes.


As another reply here I read said, the NetApp is quite a nice little device.
It's got an Alpha CPU, 256 megs of Cache, and has an NFS microkernel - it
does nothing but NFS and it does it well.  I can't remember all the exact
specs, but I believe the model we purchased (the F720) can do around 5000
NFS I/Os per second.  It's a fairly expensive peice of hardware, but the
reason we went with it is because we plan to expand over time.  It should be
very easy to just pop more reader machines onto the FDDI if we have
increased load.

If we wanted to build our own NFS server to handle that kind of load, and be
expandable into the future (which is one of the key issues here) we'd
probably need to go with an Alpha 4100 (the lower end model Alphas are not
quite as upgradable as the 4100) with a Dec Raid Array 7000.  The price for
this without any disks in it would be around $70,000, and it doesn't support
FiberChannel.

Though you are right, it probably is a bit overkill.  Overkill is good
though, as we were really looking for a solution that will be easily
upgradable in the future.  We currently run on one Alpha 4100 with a gig of
memory and about 100 gigs of local SCSI attached drives, and it just isn't
cutting it for the load we have.

>    And I'd have to say that, at this stage, I don't think an Alpha-based
>solution is likely to be all that cost-effective.


We've got Gold Support from Digital/Compaq, and we pretty much have all
Alphas.  In the past we've mixed OS's (Some FreeBSD, BSDI, Linux... etc) but
we've gotten away from that, it's much nicer to just have two OS's (Digital
Unix and VMS) to deal with, and the support we can get for them makes it
well worth the money.

In any case, one of the main questions I have here is, has anybody done CNFS
over NFS, the overview with CNFS is a big problem, and doing it over NFS
could make it worse.  Anyone have any experience with this?  If not I'll
probably end up going back to traditional storage, which wouldn't be such a
bad thing IMHO.

As far as Diablo goes, I'd love to look into it, but I've been working with
INN since 1.4, and more importantly, the company I've worked for has always
used INN, and switching from one software platform to another in a
production environment isn't all that easy, or desirable. :(

Thanks for your suggestions!

Mike



Re: Disk space for overview
#35459
Author: Mark-Oliver Wolter
Date: Tue, 16 Feb 1999 00:00
34 lines
2441 bytes
Brad Knowles <brad@shub-internet.org> wrote:
:     If you're running on PCs, I would recommend FreeBSD 3.0, since that
: has the softupdates filesystem as an available option.  Using async disk
: writes on an ext2fs under Linux is one of the fastest ways I know of to
: hose up a news spool filesystem, so much so that it can't possibly be
: recovered with fsck, and you just have to newfs the sucker.

Hm, I never got a ext2fs so fucked up that fsck couldn't recover it -
but then I have fsck -y instead of fsck -a in my startup sequence.

What you see there might be a problem Seagate drives still have:
if tagged command queueing is enabled and a soft error occurs, it seems
they sometimes throw away the rest of the queue.  And soft errors happen
more often than you would think.  I could produce this with several drives
who would hang the filesystem every two days when under heavy load, and
could cure the problem by either replacing the drives with Fujitsu or IBM
stuff or by disabling TCQ.  I'm not sure if I could blame Seagate for
violating a standard because, after all, it's _their_ standard ...

Oh, and btw: noatime is a nice performance boost.

:     Of course, you also want to make sure you have sufficient RAM.  I
: would encourage at least 128MB, if not 256MB.

With current RAM prices, I would suggest much more.  You'll save your
disks a lot of stress.

-- 
   | | | MfG MOW []-)
   | | | Steffensweg 89, 28217 Bremen, Tel. ++49-177-2503055
  M  O  W  http://www.zfn.uni-bremen.de/~g02o/
/'   |   `\  Always logon - the bright side of life !

Re: Disk space for overview
#35491
Author: BARRY BOUWSMA IS A PEDOPHILE
Date: Thu, 18 Feb 1999 00:00
160 lines
8582 bytes
On Thu, 11 Feb 1999, Brad Knowles wrote:

> >                                           Also, how are telco costs billing
> > in belgium?
> 
>     Expensive as *HELL*.  I don't know the numbers for even local
> telephone calls, but our WAN costs are *OUTRAGEOUS*.  Over here, when
> bought in bulk, an E-1 line (about 2Mbps) costs around 1.1 million Belgian
> Francs per month (1.1mBEF/mo), or around 31.5kUSD/mo.

Hey, welcome to Europe.  I once figured out the local phone
rates and then decided to stick with writing letters.  Then
I went to mail the letters, boggled at the prices, and chose
instead to take a train to the destination (at least I can
get discounts that way).


>     If you want to justify switching to another satellite news feed
> provider, It's only when you compare the cost of transiting a full
> newsfeed across our terrestrial WAN (which we're not doing today, so this
> is a non-existant cost savings), or get to considering how much it's
> costing us to have our customers go across our terrestrial WAN to other
> news/web servers in the world to get the news that we're not storing for

That's the question, are your lusers dissatisfied with the
lack of |<0D3Z and copyright infringements so that they will
go elsewhere, or will the cost of remaining on-line keep
them happy to peruse your pr0n?  You do keep a good selection
of pr0n, don't you?

Since you're only getting started with the stats, I can give a
few of my own observations.  Customers here want their pr0n.
If you have enough customers and you bring in the pr0n picture
newsfroups, you should see the bandwidth sucked out of your
news swerver easily surpassing the bandwidth of that much of
a newsfeed.

The local telco costs discourage people from bothering with
the larger binariez posts.  A quick glance at our daily stats
shows that the number of mp3 articles downloaded was only
about 1/10 of the daily number of incoming articles, so that
is a net loss for us.  Particularly since many of those lusers
are probably internal or on the end of some leased line to
somewhere.  The same goez for warez and the like.

I don't know how this will change with more kable modem
kustomers, nor do I know the details about pricing.  It is
clear that if people have to pay effective per-byte costs
for their usage, they'll pay for pr0n, but apart from a
small handful of people, they don't have much interest in
other binariez.

If a satellite feed were available here in Europe for the
prices I've seen in Murka, then it would definitely be
cost-effective for a full feed even with the limited number
of downloads of the larger articles.  I've been pushing to
offload our 5Mbit/sec just for news from our landlines for
a while without much success, and have resigned myself to
just getting radio via satellite instead to keep myself
from going totally insane coping with RealAudio.

Another thing to factor in is that the telco costs encourage
lusers to use suck-style programs to download articles as
quickly as possible in a minimum of connect time.  You're
not going to have me believe that our customer who downloaded
20 000 articles in just over an hour was using a Real
Newsreader, or even a fake one.  One such luser is the
equivalent of several normal lusers, or not, depending on
how you have things configured.  Here, my gut feeling is
that the traditional spool helps, since this luser should
be simply changing to one directory and retrieving a few
hundred or so articles from that directory.

However, if your sucky lusers are downloading binariez like
warez or copyright infringements, they'll really be bleeding
your cache quickly, so I'd definitely want to put more RAM
into service than I've been offered.


>     I think we see a *very* different usage pattern, in part because even
> local calls are billed on a per-minute rate, and that rate hits it's low
> point over the weekend.  We don't see peak every night from eight to
> eleven PM, as was common at the time when I worked at AOL (although we do
> see heavier usage at night than we typically get during the day).  We tend
> to see *huge* peaks every weekend.

Hmm.  Telco costs in every European country are different
with different low periods.  Here we see daily peaks that
correspond with the lower rates at 19.30h, lower on Fridays
and Saturdays, but consistently high Sundays, matching the
weekday evening peaks.

I would guess that the significant differences between Murkin
and European luser patterns due to the telco costs is that the
European ISP needs to be prepared for more rapid-fire sucking
feeds, but need not worry so much about the higher-bandwidth
portion of the binariez posts.  They'll be downloaded if they
are there, but they won't be the clear plus on the bandwidth
scale that the N00D G1fZ are.  Still, some alternative to the
landline delivery of news will almost certainly be a savings.


>     What OS would you use?

One that's forbidden for production use, of course.


>    What kind of a filesystem
> would you use?

A Real Filesystem, similarly off-limits.  Actually, I
wouldn't consider a cyclical filesystem for a reader box
simply because of the ongoing vandalism and flooding that
hasn't let up in months, even if all performance problems
were solved, since I have no guarantee that the binariez
froups for which CNFS would be ideal won't be flooded with
tons of orgy soundtracks or spam that's not easily filtered
in the near future, but then, I try to take a different view
of news than a box that sits noisily and neglected off in
a corner somewhere.  I wonder how the different usage patterns
between Murka and the Real World might make a difference in
setting up a news swerver filesystem...


>     Any thoughts on what kind of expiration times you'd use (maybe 4 days
> for alt.binaries.* and 40 days for !alt.binaries.*)?

Disk space is cheap compared to bandwidth.  The popular
pr0n takes up relatively little space compared with the
less popular \/\/@R3Z, and I'd try to keep the pictures
around for a week or more, so that someone who hasn't been
online in a while or who has just discovered a newsreader
capable of displaying images will have incentive to stay
online and busy for hours.  Some hierarchies like rec.*
have less value for archives than others like comp.* (at
least in theory), so I try to keep groups with useful
information around rather long.  This also means quite a
bit of fine-tuning, weeding down hidden binariez froups
and such that again wouldn't be done on a neglected box
over in the corner.


>  Would you buy/build
> a server that could handle a doubling of growth in twelve to eighteen
> months

Doubling of growth in twelve months?  Try a doubling of growth
every six months if you try to carry everything, such that our
spool which was sufficient for more than a week of news when
I started here now barely would handle things if I set up a
full feed with an expire of one day time on everything.
(That's once-daily expiry so articles hang around for up to
two days)

Those are just a few viewpoints from this side of the pond
to ponder.  Not comprehensive or anything, just maybe of
interest to those who don't know any better.


Re: Disk space for overview
#35507
Author: tedm
Date: Thu, 18 Feb 1999 00:00
24 lines
2221 bytes
In <Pine.BSF.3.96.990218031523.323F-100000@newsmangler.inet.tele.dk>, BARRY BOUWSMA IS A PEDOPHILE <bofh@vsZbr.cZ> writes:
>Those are just a few viewpoints from this side of the pond
>to ponder.  Not comprehensive or anything, just maybe of
>interest to those who don't know any better.

I have to agree on the pr0n, the binaries groups are the most popular.  I have
a question for you though - I've scanned through a few of them and it quickly
became apparent that most of the pictures postings are massivly crossposted.

It kind of seems completely stupid to have alt.binaries.wank.me and alt.binaries
wank.you plus 50 other alt.wank groups when what is posted is invariably
crossposted to all of them.  Since most of the posting is originating from
commercial pr0n shops trying to get subscribers (and treating Usenet as their
free advertising venue) isn't there anything that can be done to lean on those
bastards to quit crossposting?

I'm kind of thinking of wacking out all of the pr0n groups that have less than
10 postings per day in them to cut some of this nonsense down - any suggestions
on how to weed out some more duplication here?

Ted


Re: Disk space for overview
#35514
Author: BARRY BOUWSMA IS A PEDOPHILE
Date: Thu, 18 Feb 1999 00:00
59 lines
4114 bytes
On 18 Feb 1999 tedm@ipinc.net wrote:

> >interest to those who don't know any better.
> 
> I have to agree on the pr0n, the binaries groups are the most popular.  I have
> a question for you though - I've scanned through a few of them and it quickly
> became apparent that most of the pictures postings are massivly crossposted.

Do you do filtering?  We do aggressive filtering, so that we
never even see any of these massively crossposted spamz (nor,
for that matter, legit posts that people think might be on-
topic for half a gazillion froups).


> It kind of seems completely stupid to have alt.binaries.wank.me and alt.binaries
> wank.you plus 50 other alt.wank groups when what is posted is invariably
> crossposted to all of them.  Since most of the posting is originating from
> commercial pr0n shops

I bet you a wank that you don't do filtering -- at least, nowhere
near the filtering we do.  If you did, including seeking out and
destroying the spam that threatens to destroy the froups, so that
you actually get newsfroups that people want to linger around in
for a while, you'd quickly see that there are plenty of real
posts to be found in alt.binariez.wank.hornyrob and alt.binariez.
wank.als as well as the other froups that appear at the top of
our readership (although it's been a while since I've wandered
in for a good wank there, what with HipCrime and the like keeping
me distracted from what should be my Real Job as Smut Quality
Qontrol).


> I'm kind of thinking of wacking out all of the pr0n groups that have less than
> 10 postings per day in them to cut some of this nonsense down - any suggestions

Let your readers be your guide.  I've done the same, by taking
those groups with obviously joke names as well as those which
seem to have too few postings to be legit, and if a scan reveals
only spam, then away with it.  Filtering, unless you're really
on top of things and aggressive about what you whack, won't get
rid of all the spam, so a bit of nosing around will be needed.
Your readers will keep on coming, back to the froups which have
real posts in them, less so to the spam trapz.

As a general rule, anything crossposted to more than five froups
gets whacked here, and then after applying md5 and ph/l filters,
much of the spam that would make the group appear to be alive
is gone.  Yeah, a few posts get hit, but people just have to learn
to be a bit more selective about not crossposting an orgy pic to
all the potentially relevant fetish froups if they want it to be
seen.

mr. smutty, tele danmarQ internet pr0n depT.
YOUR DREAM JOB COULD BE YOURS!!!  APPLY NOW TO FILTER OUR PR0N!!!
(dang, my cover is blown, I'm faking a cold to explain this pile
o' tissues scattered 'round my workplace)


Linux filesystems (was Re: Disk space for overview)
#35541
Author: Matthew Ghio
Date: Sun, 21 Feb 1999 00:00
25 lines
2030 bytes
brad@shub-internet.org (Brad Knowles) wrote:

>     If you're running on PCs, I would recommend FreeBSD 3.0, since that
> has the softupdates filesystem as an available option.  Using async disk
> writes on an ext2fs under Linux is one of the fastest ways I know of to
> hose up a news spool filesystem, so much so that it can't possibly be
> recovered with fsck, and you just have to newfs the sucker.

I suspect the problem you refer to is not with ext2fs, but with the way that
Linux handles disk writes.  I have always found ext2fs to be very reliable;
the worst that's ever happened to me is to lose the files that were being
written to at the time the system went down.

Linux uses a write back disk cache whereby blocks to be written are placed
on a write-queue, and there is a kernel thread which then writes them to
disk, one at a time.  The problem is that if a write stalls for any reason,
all writes on all disks wait until that one write either completes or times
out.  So if you have a slow disk in there that can't keep up, you can
imagine the consequences.  The worst case case scenario is if a disk
crashes with several hundred writes pending, the system is completely
locked up for several minutes until every single one of those write
operations times out.  At least that is how it is in kernel 2.0 - I haven't
looked at how things are done in the recently released 2.2 kernel.

Re: Linux filesystems (was Re: Disk space for overview)
#35567
Author: Brad Knowles
Date: Tue, 23 Feb 1999 00:00
25 lines
2055 bytes
In article <7aqaeb2aq@myriad-nntp>, ghio@do.not.spam.myriad.alias.net
(Matthew Ghio) wrote:

> I suspect the problem you refer to is not with ext2fs, but with the way that
> Linux handles disk writes.  I have always found ext2fs to be very reliable;
> the worst that's ever happened to me is to lose the files that were being
> written to at the time the system went down.

    No, I specifically have a problem with async disk writes for metadata,
which is exactly what ext2fs does in async mode.  Used in sync mode, I
understand that it does async disk writes for data, but synchronous writes
for metadata, which means that it largely uses BSD ffs strategy and is
likely to be fsck-able if the system should crash.  The same cannot be
said for ext2fs in async mode.

    Look at the man page for chattr and see what happens when you do a
"chattr +S /var/spool/mqueue" or somesuch.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
        If you wouldn't take out a one-page ad in the Wall Street
        Journal to say something, then don't say it by email.

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