🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
41 messages
41 total messages Started by Alex French Sat, 20 Feb 1999 00:00
INN 2.2, FreeBSD, NFS, hangs!
#35533
Author: Alex French
Date: Sat, 20 Feb 1999 00:00
20 lines
1317 bytes
Hi,

I'm running inn-2.2 Release, FreeBSD 2.2.7-STABLE, CNFS. All hunky
dory. 

Now I'm moving stuff over to a partition NFS-mounted from a NetApp
Filer (NFS v.3), and I'm having problems.
- I can happily put all the overview and uniover data onto the
NFS-mounted partition.
- Trying to run with the db directory on the NFS-mounted partition
hangs things
- Trying to run with a cycbuff on the NFS-mounted partition hangs
things.

When the box hangs, it's still pingable but seems unable to fire up
any new processes. Innd dies, too.

Suggestions anyone?

Re: INN 2.2, FreeBSD, NFS, hangs!
#35557
Author: Alex French
Date: Tue, 23 Feb 1999 00:00
38 lines
2237 bytes
Hmmm NetApp filers use RAID 4, not RAID 5 (right?). Do your comments
still apply? And if my architecture isn't good, what do you suggest?


On Tue, 23 Feb 1999 22:10:55 +0100, brad@shub-internet.org (Brad
Knowles) was rumoured to have said:

>In article <36cf15ee.3051947@news.clubi.ie>, alex@clubi.ie (Alex French) wrote:
>
>> Now I'm moving stuff over to a partition NFS-mounted from a NetApp
>> Filer (NFS v.3), and I'm having problems.
>
>    NFS writes are about the worst performing solution that I can
>imagine.  They should technically work, if the data (and metadata) write
>rate is low enough, but write throughput is a *real* performance problem.
>
>> - I can happily put all the overview and uniover data onto the
>> NFS-mounted partition.
>
>    These are typically things you would want to put on a local
>striped-only filesystem as opposed to RAID-5, because it's write
>performance sucks too much.  Putting them on an NFS-mounted RAID-5
>partition is likely to make the situation even worse.
>
>> - Trying to run with the db directory on the NFS-mounted partition
>> hangs things
>
>    Ditto.
>
>> - Trying to run with a cycbuff on the NFS-mounted partition hangs
>> things.
>
>    This is about the only thing I would expect that should technically
>work okay and for which the write rate shouldn't be that much of an issue,
>at least not with CNFS.


Re: INN 2.2, FreeBSD, NFS, hangs!
#35560
Author: Alex French
Date: Tue, 23 Feb 1999 00:00
32 lines
1875 bytes
On Tue, 23 Feb 1999 23:25:25 +0100, brad@shub-internet.org (Brad
Knowles) was rumoured to have said:

>In article <36d322c9.3280092@news.clubi.ie>, alex@clubi.ie (Alex French) wrote:
>
>> Hmmm NetApp filers use RAID 4, not RAID 5 (right?). Do your comments
>> still apply? And if my architecture isn't good, what do you suggest?
>
>    I believe that they use RAID-5, which would prevent a single "parity"
>disk from becoming too hot and burning out before the others in the array.

I'm pretty sure  they use RAID 4. From the docs:

---
Product Features

Reliability, Availability and Data Integrity 

     RAID Manager Level 4 
---

So does your argument still apply? I presume so, if NFS writing is the
bottleneck.

So what would you advocate? Something like a big server with fast
disks as the feeder, exporting the spool and overview to reader
machines? Would this really beat the performance of a NetApp on a
fastethernet connection?

>

Re: INN 2.2, FreeBSD, NFS, hangs!
#35562
Author: Brad Knowles
Date: Tue, 23 Feb 1999 00:00
38 lines
2697 bytes
In article <36d322c9.3280092@news.clubi.ie>, alex@clubi.ie (Alex French) wrote:

> Hmmm NetApp filers use RAID 4, not RAID 5 (right?). Do your comments
> still apply? And if my architecture isn't good, what do you suggest?

    I believe that they use RAID-5, which would prevent a single "parity"
disk from becoming too hot and burning out before the others in the array.


    Personally, I always prefer local disk writes.  If you've got big
honking enough hardware (and you've got enough of it), you can always
brute-force your way around the NFS/RAID-5 write throughput problem, but
that takes a lot of money, time, and effort, and my experience is that it
typically results in a system that isn't very elegant.

    NFS reads are okay (especially if the filesystem is exported
read-only, with "no attribute caching" and "no access time updates" turned
on).  It's NFS writes that you want to avoid, especially those that would
involve metadata (disk directory updates, among other things) or file
locking (the lock manager is a separate process, and none of the work on
NFS 2 through NFS 4 have addressed serious shortcomings in it).  You can
even host these NFS reads on the same box that does local disk writes --
so a news server can also be an NFS server.


    Of course, there are others on this newsgroup who have architected
their *huge* news systems using NetApp servers, but I've heard a few
complaints from them in private about this equipment.  However, I don't
know how the same architecture would scale down (or fail to scale down) to
your level.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35569
Author: Alex French
Date: Tue, 23 Feb 1999 00:00
42 lines
2564 bytes
On Wed, 24 Feb 1999 00:15:16 +0100, brad@shub-internet.org (Brad
Knowles) was rumoured to have said:

>In article <36d52d6d.6003880@news.clubi.ie>, alex@clubi.ie (Alex French) wrote:
>
>> I'm pretty sure  they use RAID 4. From the docs:
>
>    I'd be real surprised if that's true.  We had quite a few of them when
>I worked at AOL, and I'm pretty sure that they only supported RAID-5
>(whereas Auspex only supported mirroring+striping, until they relatively
>recently added RAID-5 support).

I'm going to have to insist here :-) I have a couple of these boxes,
and they do use Raid 4, and they do have a dedicated parity disk.



>    RAID-4 is still going to have to calculate parity, and RAID-5 is an
>improvement over RAID-4 in that it doesn't have a single parity disk that
>gets hotter than the others and therefore is more likely to be a
>bottleneck or to prematurely fail before the rest.

That's what support contracts are for :-)

>    We have Diablo doing our news peering.  We have INN 2.x as our central
>news server, with a feed from the Diablo server.  The central news spool
>server exports via NFS the entire news spool read-only to the news client
>servers, where nnrpd runs exclusively.  This works pretty well for us,
>although we're not yet at the point where I think we need Fast Ethernet
>(although my next-generation system will use 100Base-TX exclusively).

So news goes

Diablo Server -> Central Inn Server -> NNrpd Client Server -> Client

Is that right? Why the Diablo server and not feed directly to inn?

Thanks,

Alex.

Re: INN 2.2, FreeBSD, NFS, hangs!
#35582
Author: Brad Knowles
Date: Tue, 23 Feb 1999 00:00
36 lines
2156 bytes
In article <36cf15ee.3051947@news.clubi.ie>, alex@clubi.ie (Alex French) wrote:

> Now I'm moving stuff over to a partition NFS-mounted from a NetApp
> Filer (NFS v.3), and I'm having problems.

    NFS writes are about the worst performing solution that I can
imagine.  They should technically work, if the data (and metadata) write
rate is low enough, but write throughput is a *real* performance problem.

> - I can happily put all the overview and uniover data onto the
> NFS-mounted partition.

    These are typically things you would want to put on a local
striped-only filesystem as opposed to RAID-5, because it's write
performance sucks too much.  Putting them on an NFS-mounted RAID-5
partition is likely to make the situation even worse.

> - Trying to run with the db directory on the NFS-mounted partition
> hangs things

    Ditto.

> - Trying to run with a cycbuff on the NFS-mounted partition hangs
> things.

    This is about the only thing I would expect that should technically
work okay and for which the write rate shouldn't be that much of an issue,
at least not with CNFS.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35588
Author: Alex French
Date: Wed, 24 Feb 1999 00:00
29 lines
1859 bytes
In article <brad-2402991022470001@brad.techos.skynet.be>,
brad@shub-internet.org (Brad Knowles) wrote:


> 
>     Of course, you get to throw all that away if you were to use Diablo
> and dreaderd instead.


Maybe, but how about this for a diablo + dreaderd scenario:

1 diablo feeder machine
1 dreaderd main reader machine, which receives a headers-only feed and
writes an overview
n other reader machines, which NFS-mount the overview data from the main
reader box (read-only)

Would that work? 


On a more general note, I've been reading the diablo docs and its main
selling points seem to be its great feeder performance. Can anyone give an
oppinion on the dreaderd performance versus nnrpd?

Thanks,

Alex.

Re: INN 2.2, FreeBSD, NFS, hangs!
#35593
Author: Brad Knowles
Date: Wed, 24 Feb 1999 00:00
27 lines
2247 bytes
In article <d2MA2.8968$yv3.5389@news2.giganews.com>,
barron@nospam.giganews.com wrote:

> Remember, Netapp uses NVRAM to cache writes.  Our Netapps have 32M of
> write cache which helps writes tremendously.

    That doesn't do anything for file locking, and only helps for writes
up until the point where the cache fills up.  However, I understand from
other messages that WAFL is smarter than I thought, and the way in which
files are written makes using RAID-4 in this particular scheme pretty
effective.

> *Shrug* I have seen writes of 20-30M/sec on our F630 netapps.

    Is that with lots of little files being created, written, closed and
then later opened, read, and then ultimately removed?  Or is that with a
more CNFS-like scenario?  Even with a log-structured filesystem, I would
expect that writing to lots of little files would perform badly enough
that you would want to avoid that.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35603
Author: Brad Knowles
Date: Wed, 24 Feb 1999 00:00
45 lines
3014 bytes
In article <36d52d6d.6003880@news.clubi.ie>, alex@clubi.ie (Alex French) wrote:

> I'm pretty sure  they use RAID 4. From the docs:

    I'd be real surprised if that's true.  We had quite a few of them when
I worked at AOL, and I'm pretty sure that they only supported RAID-5
(whereas Auspex only supported mirroring+striping, until they relatively
recently added RAID-5 support).

> So does your argument still apply? I presume so, if NFS writing is the
> bottleneck.

    RAID-4 is still going to have to calculate parity, and RAID-5 is an
improvement over RAID-4 in that it doesn't have a single parity disk that
gets hotter than the others and therefore is more likely to be a
bottleneck or to prematurely fail before the rest.

> So what would you advocate? Something like a big server with fast
> disks as the feeder, exporting the spool and overview to reader
> machines? Would this really beat the performance of a NetApp on a
> fastethernet connection?

    We have Diablo doing our news peering.  We have INN 2.x as our central
news server, with a feed from the Diablo server.  The central news spool
server exports via NFS the entire news spool read-only to the news client
servers, where nnrpd runs exclusively.  This works pretty well for us,
although we're not yet at the point where I think we need Fast Ethernet
(although my next-generation system will use 100Base-TX exclusively).

    An even better solution would be to use Diablo in reader mode, with a
headers-only feed going from the master Diablo server to the slave Diablo
clients.  I believe that articles are then read via an http-like protocol
from the slave servers to the master, and the slave servers handle the
connections to/from the users.


    Either of the above solutions works, and avoids the problem of NFS writes.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35604
Author: Brad Knowles
Date: Wed, 24 Feb 1999 00:00
25 lines
2145 bytes
In article <alex-2402991106290001@gzunda.medianet.ie>, alex@medianet.ie
(Alex French) wrote:

> Maybe, but how about this for a diablo + dreaderd scenario:
> 
> 1 diablo feeder machine
> 1 dreaderd main reader machine, which receives a headers-only feed and
> writes an overview
> n other reader machines, which NFS-mount the overview data from the main
> reader box (read-only)
> 
> Would that work?

    Probably, but I don't know for sure.  A number of n.s.n regulars have
suggested using Diablo and dreaderd to completely replace INN, but we
haven't actually gone that route (yet) at my place of employment.  If you
find out the answer to this question, please let me know.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35606
Author: barron
Date: Wed, 24 Feb 1999 00:00
32 lines
2345 bytes
Brad Knowles <brad@shub-internet.org> wrote:
: In article <36d538aa.8881831@news.clubi.ie>, alex@clubi.ie (Alex French) wrote:

:> I'm going to have to insist here :-) I have a couple of these boxes,
:> and they do use Raid 4, and they do have a dedicated parity disk.

:     Well, then -- I think they've made a serious mistake.  Not only will
: the parity disk give you a guaranteed bottleneck on your write
: performance, it will also make that mechanism much "hotter" than the
: others, and it will almost certainly fail long before the others.

Remember, Netapp uses NVRAM to cache writes.  Our Netapps have 32M of
write cache which helps writes tremendously.

:     In my experience, RAID-5 writes are something like 1/10 the speed of
: writes to "normal" disk, and NFS writes are something like 1/10 the speed
: of local RAID-5 writes.  Take out a disk from the RAID array, and writes
: will probably drop by another factor of ten.

*Shrug* I have seen writes of 20-30M/sec on our F630 netapps. We have
moved away from Netapps for news, but that decision had nothing to do with
writes. A full feed is ~30gig/day now. That is a very small amount of
writes IMO. I am assuming a reader only scenario.

Jonah

-- 
Jonah Barron Yokubaitis	
http://www.texas.net    	<--- The ISP	   
http://www.giganews.com 	<--- News Outsourcing

Re: INN 2.2, FreeBSD, NFS, hangs!
#35607
Author: Curt Welch
Date: Wed, 24 Feb 1999 00:00
33 lines
2358 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Alex French]
>
> >   I'm going to have to insist here :-) I have a couple of these
> >   boxes, and they do use Raid 4, and they do have a dedicated parity
> >   disk.
>
> [Brad Knowles]
>
> >       Well, then -- I think they've made a serious mistake.  Not
> >   only will the parity disk give you a guaranteed bottleneck on your
> >   write performance, it will also make that mechanism much "hotter"
> >   than the others, and it will almost certainly fail long before the
> >   others.
> >
> >       There's a reason why RAID-5 was designed to answer all these
> >   issues.
>
> NetApp argues that RAID-4 is superior to RAID-5, but it requires file
> system support.  A fairly good white paper about it is available at
> <URL:http://www.netapp.com/technology/level3/3001.html>

Interesting.  They went with Raid-4 because it makes adding single disks
to the array easy (with Raid-5 you have to re-build the entire array if
you try to add a single drive).  And they solved the "hot parity disk"
problem by designing a file systems which is optimized for dealing with the
issue.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: INN 2.2, FreeBSD, NFS, hangs!
#35608
Author: Kjetil Torgrim Homme
Date: Wed, 24 Feb 1999 00:00
26 lines
1795 bytes
[Alex French]

>   I'm going to have to insist here :-) I have a couple of these
>   boxes, and they do use Raid 4, and they do have a dedicated parity
>   disk.

[Brad Knowles]

>       Well, then -- I think they've made a serious mistake.  Not
>   only will the parity disk give you a guaranteed bottleneck on your
>   write performance, it will also make that mechanism much "hotter"
>   than the others, and it will almost certainly fail long before the
>   others.
>   
>       There's a reason why RAID-5 was designed to answer all these
>   issues.

NetApp argues that RAID-4 is superior to RAID-5, but it requires file
system support.  A fairly good white paper about it is available at
<URL:http://www.netapp.com/technology/level3/3001.html>


Kjetil T.


Re: INN 2.2, FreeBSD, NFS, hangs!
#35609
Author: Brad Knowles
Date: Wed, 24 Feb 1999 00:00
30 lines
2413 bytes
In article <19990223213730.586$3K@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:

> Interesting.  They went with Raid-4 because it makes adding single disks
> to the array easy (with Raid-5 you have to re-build the entire array if
> you try to add a single drive).  And they solved the "hot parity disk"
> problem by designing a file systems which is optimized for dealing with the
> issue.

    Hmm.  Sounds like WAFL is a lot brighter than I had thought.  However,
they still haven't solved the issue of the lock manager, and I think that
there's only so much that they can do to accelerate writes of lots of
small files versus a smaller number of large files.

    IMO, in the long run, I believe that I can get significantly better
performance with local disk writes to a log-structured filesystem, and
then have that same system be its own NFS server to the (read-only,
no-attribute-caching, no-access-time-updating) clients.


    Of course, you get to throw all that away if you were to use Diablo
and dreaderd instead.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35613
Author: Brad Knowles
Date: Wed, 24 Feb 1999 00:00
46 lines
2951 bytes
In article <36d538aa.8881831@news.clubi.ie>, alex@clubi.ie (Alex French) wrote:

> I'm going to have to insist here :-) I have a couple of these boxes,
> and they do use Raid 4, and they do have a dedicated parity disk.

    Well, then -- I think they've made a serious mistake.  Not only will
the parity disk give you a guaranteed bottleneck on your write
performance, it will also make that mechanism much "hotter" than the
others, and it will almost certainly fail long before the others.

    There's a reason why RAID-5 was designed to answer all these issues.

> That's what support contracts are for :-)

    A support contract doesn't give you anything if the brains of your
news server is splattered all over the floor because the NFS server died
on it.  NFS writes are bad enough, but when you've got a failed disk,
they'll slow down even more.


    In my experience, RAID-5 writes are something like 1/10 the speed of
writes to "normal" disk, and NFS writes are something like 1/10 the speed
of local RAID-5 writes.  Take out a disk from the RAID array, and writes
will probably drop by another factor of ten.

    Compare this to local striped+mirrored writes, which can scale to as
many controller cards you can put in your system and as many disk drives
as you can attach to those controllers.

> So news goes
> 
> Diablo Server -> Central Inn Server -> NNrpd Client Server -> Client
> 
> Is that right? Why the Diablo server and not feed directly to inn?

    Diablo handles peering *much* better than INN does.  It uses it's own
version of CNFS, is a completely re-written system, etc....  It's also
much lower maintenance and more rock-solid than INN.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35615
Author: Mike Fagan
Date: Thu, 25 Feb 1999 00:00
53 lines
3575 bytes
Brad Knowles <brad@shub-internet.org> wrote in message
news:brad-2402991019350001@brad.techos.skynet.be...
>In article <d2MA2.8968$yv3.5389@news2.giganews.com>,
>barron@nospam.giganews.com wrote:
>
>> Remember, Netapp uses NVRAM to cache writes.  Our Netapps have 32M of
>> write cache which helps writes tremendously.

The one we just bought has 256 megs of cache memory, and 8 megs of NVRAM in
case it crashes, so it can finish writing all of (hopefully) the files it
was currently writing when it crashed.

>    That doesn't do anything for file locking, and only helps for writes
>up until the point where the cache fills up.  However, I understand from
>other messages that WAFL is smarter than I thought, and the way in which
>files are written makes using RAID-4 in this particular scheme pretty
>effective.
>
>> *Shrug* I have seen writes of 20-30M/sec on our F630 netapps.
>
>    Is that with lots of little files being created, written, closed and
>then later opened, read, and then ultimately removed?  Or is that with a
>more CNFS-like scenario?  Even with a log-structured filesystem, I would
>expect that writing to lots of little files would perform badly enough
>that you would want to avoid that.

The F720 we baught, which is their current low end model, is speced out at
2,691 NFS I/Os per second.  I'm thinking that it should be able to keep up
with our news feed nicely.  If not, it can be upgraded to a system that'll
do 7000+ I/Os.  The megs/second should really be a function of your
bandwidth of the network you're connecting it to.  We're doing direct
connect FDDI handling no trafic other than the NFS.  It can be upgraded to
Gigabit ethernet, ATM, or any number of other network connects, and it can
handle several network adapters at once.

Of course we have yet to see it in action, I'm still waiting for them to
ship the damn thing! :)

My question to everyone whos used a netapp on a news server really is, would
you recommend CNFS or Traditional spool over the NetApp?  Obviously, the CNF
S would probably be better as far as writes go, but the overview problem in
INN 2.1 (we'll probably upgrade to 2.2 when we get the new hardware) with
CNFS is such a mess that I'm worried about the impact of exporting it over
NFS.  Any suggestions?

Sheesh, I used too many acronyms in this message :)

Mike Fagan, Info Avenue Internet Services




Re: INN 2.2, FreeBSD, NFS, hangs!
#35618
Author: Greg Andrews
Date: Thu, 25 Feb 1999 00:00
21 lines
1406 bytes
brad@shub-internet.org (Brad Knowles) writes:
>
>    Now, maybe you can convince me that WAFL (on top of fast disks) over
>NFS has enough aspects of delayed (but safe!) metadata writes such that it
>could potentially perform better than local disk writes (when compared to
>slower disks with a standard Berkeley FFS-like filesystem on top of them),
>but you're going to have a very hard time convincing me that they've
>solved the file locking issue.
>

In the context of Usenet News, *what* file locking issue are
you talking about Brad?

In the context of delivery to Unix-style mailbox files, there
definitely is an issue.  However news doesn't use file locking
the way e-mail does.


  -Greg

Re: INN 2.2, FreeBSD, NFS, hangs!
#35619
Author: Mike Fagan
Date: Thu, 25 Feb 1999 00:00
22 lines
1824 bytes
>>In article <36d52d6d.6003880@news.clubi.ie>, alex@clubi.ie (Alex French)
wrote:
>>
>>> I'm pretty sure  they use RAID 4. From the docs:
>>
>>    I'd be real surprised if that's true.  We had quite a few of them when
>>I worked at AOL, and I'm pretty sure that they only supported RAID-5
>>(whereas Auspex only supported mirroring+striping, until they relatively
>>recently added RAID-5 support).
>
>I'm going to have to insist here :-) I have a couple of these boxes,
>and they do use Raid 4, and they do have a dedicated parity disk.

You're right.  We just purchased one and we had one of the NetApp people in
our office a few weeks ago giving a demo, and she talked for a few minutes
on why it used raid 4 instead of raid 5.

Mike Fagan, Info Avenue Internet Services



Re: INN 2.2, FreeBSD, NFS, hangs!
#35621
Author: Greg Andrews
Date: Thu, 25 Feb 1999 00:00
20 lines
1354 bytes
barron@nospam.giganews.com writes:
>
>Why do you keep harping on the write performance issue?  Who /really/
>cares if an article arrives within 3.5ms or 5.5ms once it hits the nnrp
>box? Readers won't even notice 1minute delays, much less 2ms.
>

Write performance sets a limit on how much news you can
receive in a 24-hour period.  It doesn't do you any good
to have server hardware and software that can handle,
for example, 20 articles per second, when NFS writes
can only handle 6 articles per second.

As soon as the combined size of your incoming feeds exceeds
the rate at which you can write to your spool, you'll start
falling behind.

  -Greg

Re: INN 2.2, FreeBSD, NFS, hangs!
#35625
Author: Brad Knowles
Date: Thu, 25 Feb 1999 00:00
20 lines
1738 bytes
In article <ylk8x6jqfj.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

> Um, half of the ISP world runs news off NetApp filers these days.  You may
> want to recheck your knowledge of NFS performance; a lot of things have
> changed recently.

    They're still going to have a hard time comparing to local disk write
performance, especially if you're talking about a system with hardware
RAID controllers (or perhaps multiple levels of hardware RAID controllers)
with lots of battery-backed up write-back cache, using 10000 rpm disks, no
more than four disks per Ultra2 SCSI channel, etc....

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35627
Author: bill davidsen
Date: Thu, 25 Feb 1999 00:00
28 lines
1971 bytes
In article <ylk8x6jqfj.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| Brad Knowles <brad@shub-internet.org> writes:
| > alex@clubi.ie (Alex French) wrote:
| 
| >> Now I'm moving stuff over to a partition NFS-mounted from a NetApp
| >> Filer (NFS v.3), and I'm having problems.
| 
| > NFS writes are about the worst performing solution that I can imagine.
| > They should technically work, if the data (and metadata) write rate is
| > low enough, but write throughput is a *real* performance problem.
| 
| Um, half of the ISP world runs news off NetApp filers these days.  You may
| want to recheck your knowledge of NFS performance; a lot of things have
| changed recently.

I ran benchmarks 15 months ago, and went with Hitachi (same performance
as EMC, half the price). CNFS really helps the data performance, but I
can't see that the overview is any better.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Politicians and diapers have one thing in common. They should both be
changed regularly and for the same reason.
	--Ted Symons(?)


Re: INN 2.2, FreeBSD, NFS, hangs!
#35630
Author: bill davidsen
Date: Thu, 25 Feb 1999 00:00
27 lines
2053 bytes
In article <sthB2.14100$yv3.8381@news2.giganews.com>,
 <barron@nospam.giganews.com> wrote:

| :     They're still going to have a hard time comparing to local disk write
| : performance, especially if you're talking about a system with hardware
| : RAID controllers (or perhaps multiple levels of hardware RAID controllers)
| : with lots of battery-backed up write-back cache, using 10000 rpm disks, no
| : more than four disks per Ultra2 SCSI channel, etc....
| 
| Brad,
| 
| You seem a bit thick headed here....news is /not/ very write intensive.
| Why do you keep harping on the write performance issue?  Who /really/
| cares if an article arrives within 3.5ms or 5.5ms once it hits the nnrp
| box? Readers won't even notice 1minute delays, much less 2ms.

Have you noticed all the postings lately about overchan not keeping up
with innd? Think about slowing the overchan by far more than the innd
article writes.
-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Politicians and diapers have one thing in common. They should both be
changed regularly and for the same reason.
	--Ted Symons(?)


Re: INN 2.2, FreeBSD, NFS, hangs!
#35634
Author: barron
Date: Thu, 25 Feb 1999 00:00
29 lines
1969 bytes
Brad Knowles <brad@shub-internet.org> wrote:
: In article <ylk8x6jqfj.fsf@windlord.stanford.edu>, Russ Allbery
: <rra@stanford.edu> wrote:

:> Um, half of the ISP world runs news off NetApp filers these days.  You may
:> want to recheck your knowledge of NFS performance; a lot of things have
:> changed recently.

:     They're still going to have a hard time comparing to local disk write
: performance, especially if you're talking about a system with hardware
: RAID controllers (or perhaps multiple levels of hardware RAID controllers)
: with lots of battery-backed up write-back cache, using 10000 rpm disks, no
: more than four disks per Ultra2 SCSI channel, etc....

Brad,

You seem a bit thick headed here....news is /not/ very write intensive.
Why do you keep harping on the write performance issue?  Who /really/
cares if an article arrives within 3.5ms or 5.5ms once it hits the nnrp
box? Readers won't even notice 1minute delays, much less 2ms.

Jonah

 -- 
Jonah Barron Yokubaitis	
http://www.texas.net    	<--- The ISP	   
http://www.giganews.com 	<--- News Outsourcing

Re: INN 2.2, FreeBSD, NFS, hangs!
#35637
Author: Mike Fagan
Date: Thu, 25 Feb 1999 00:00
37 lines
2420 bytes
Greg Andrews <gerg@shell1.ncal.verio.com> wrote in message
news:7b4ggi$nhn$1@shell1.ncal.verio.com...
>brad@shub-internet.org (Brad Knowles) writes:
>>In article <7b4d25$jqq$1@shell1.ncal.verio.com>,
>>gerg@shell1.ncal.verio.com (Greg Andrews) wrote:
>>
>>> In the context of Usenet News, *what* file locking issue are
>>> you talking about Brad?
>>
>>    Okay, I'm obviously demonstrating my ignorance yet once again.  I was
>>under the impression that, when using traditional spool, INN (and similar
>>programs) would use file locking when creating a message, and that this
>>would introduce a lot of additional overhead that could be a real killer
>>with NFS.
>>
>
>Think about it.  With mail, you have multiple processes trying to
>write to the common mailbox file (multiple delivery processes, and
>at least one reader process).  That's why locking is necessary.
>
>With news, only one process is writing an article file.  All the
>others are merely reading article files, not writing them. The only
>exceptions are the expire process and the overchan/expireover
>combination.

I think he was thinking of running multiple feed machines accessing the same
disks, this would require file locking, as writing to the
history/overview/spool would be a mess without it.  However, for INN to work
like this it would pretty much have to be totaly re-written.

Mike Fagan, Info Avenue Internet Services




Re: INN 2.2, FreeBSD, NFS, hangs!
#35638
Author: Mike Fagan
Date: Thu, 25 Feb 1999 00:00
97 lines
6005 bytes
Brad Knowles <brad@shub-internet.org> wrote in message
news:brad-2502992203540001@brad.techos.skynet.be...
>In article <brad-2502992138570001@brad.techos.skynet.be>,
>brad@shub-internet.org (Brad Knowles) wrote:
>
>> In article <sthB2.14100$yv3.8381@news2.giganews.com>,
>> barron@nospam.giganews.com wrote:
>>
>> > You seem a bit thick headed here....news is /not/ very write intensive.
>>
>>     Well, maybe I'm wrong, but unless you're using CNFS (or something
>> comparable), it's my belief that the synchronous metadata writes for
>> traditional spool and the file locking issues are going to be relatively
>> major performance problems with NFS file servers.
>
>    There is one other factor here, one which has been in my thoughts but
>which I have not explicitly stated (until now).
>
>
>    To wit, if I'm not mistaken, a NetApp is a relatively expensive piece
>of hardware.  Using CNFS (or Diablo, with it's own built-in equivalent) I
>believe I can build a server using FreeBSD, some high-capacity disks (but
>relatively inexpensive, at least on a cost/bit ratio) and a
>commodity-grade PC server with a boatload of RAM.
>
>    Mind you, I am a MacFanatic, and saying something like this really
>sticks in my craw.  Nevertheless, I believe it to be true, and for far
>less than I believe you would be likely to spend on a NetApp, I believe
>that I could get a local disk solution that would perform at least as well
>(for my purposes), and which could then quite effectively act as an NFS
>server (or, if you're using Diablo, a dreaderd server) to however many
>clients you would care to attach to it.
>
>    In fact, I don't believe that you'd even need to use hardware
>mirroring+striping or RAID, since software alone should be able to handle
>the relatively low amount of data writes that would occur with a CNFS (or
>CNFS-like) solution.
>
>
>    However, all this said, I'm quite obviously the newbie.  I'm perfectly
>willing to shut up and listen to the voice of experience (or at least,
>more experience more recent than mine ;-), but I need convincing counter
>examples.
>
>    We've gotten some of that already with comments and URLs to more
>information about WAFL, but I don't think we're all the way there, at
>least not yet.

The kind of people who are running NetApp fileservers for their news servers
are not the same people who would want to run FreeBSD with a bunch of local
attached disks.  The cost of the NetApp makes it a serious product to
purcachse for your system, and it's not for everybody who's running a news
server.

However for those of us who run servers for big ISPs or other companies to
serve news to hundreds of thousands of users, it's a godsend.  Our current
news machine is an Alpha 4100 with 1 gig of memory and 100 gigs of locally
attached UW SCSI disks - deffinatly not a weak machine, but it isnt enough
to handle the load....  We run into a major problem with readers, not with
the feeds themselves, they are next to nothing compared to the impact of the
readers.  So we decided to go with the NetApp and have several servers
connected to it.  The reason for the NetApp?  Well first off the performance
is pretty impressive.  Second is the price.  To put together a system
comparable to the NetApp F720, we'd have to put together a pretty hefty
machine.  It's not like we could just put a couple of disks in a desktop
class machine and serve them via NFS and get the same performance level.

The cost/performance on the NetApp is good... but only at the high end, yes,
if you're only doing 20-30 gigs, it is not cost effective, but if you're
doing 100GB, 200GB, even 1 TB of disks, it's MUCH more cost effective than
going with any other solution I could find.

What I'm trying to say here is that unless you are an idiot, you won't go
with a NetApp unless you need it.  If you do have a load high enough that
you'd need something like a NetApp with multiple machines attached to it,
you probably also have the budget to pay for it.  For 99% of the news
servers out there, a Intel/FreeBSD machine with some locally attached disks
is great... that's all they need, but some of us have the misfortune of
trying to support a server for hundreds of thousands of customers, and for
us, that just won't cut it, we have to go with something else.  We also want
something that we know we can get support for, and that has a proven
track-record... some home brewed system is soarly lacking in that area.  We
also wanted something that has an easy upgrade path for the future.  We
found that the NetApp was the product for us - it isn't for everyone though.

Anyways, after that rant I'll say that we haven't yet had our NetApp shipped
to us, so my mind may be changed in the comming weeks... I'll keep you guys
posted with my experiences. :)

Mike Fagan, Info Avenue Internet Services






Re: INN 2.2, FreeBSD, NFS, hangs!
#35639
Author: Russ Allbery
Date: Thu, 25 Feb 1999 00:00
18 lines
1250 bytes
Brad Knowles <brad@shub-internet.org> writes:
> alex@clubi.ie (Alex French) wrote:

>> Now I'm moving stuff over to a partition NFS-mounted from a NetApp
>> Filer (NFS v.3), and I'm having problems.

> NFS writes are about the worst performing solution that I can imagine.
> They should technically work, if the data (and metadata) write rate is
> low enough, but write throughput is a *real* performance problem.

Um, half of the ISP world runs news off NetApp filers these days.  You may
want to recheck your knowledge of NFS performance; a lot of things have
changed recently.

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

Re: INN 2.2, FreeBSD, NFS, hangs!
#35640
Author: Brad Knowles
Date: Thu, 25 Feb 1999 00:00
27 lines
2014 bytes
In article <7b4d25$jqq$1@shell1.ncal.verio.com>,
gerg@shell1.ncal.verio.com (Greg Andrews) wrote:

> In the context of Usenet News, *what* file locking issue are
> you talking about Brad?

    Okay, I'm obviously demonstrating my ignorance yet once again.  I was
under the impression that, when using traditional spool, INN (and similar
programs) would use file locking when creating a message, and that this
would introduce a lot of additional overhead that could be a real killer
with NFS.

    Of course, in the context of a CNFS-like solution, that should cease
to be a problem.  However, I wasn't thinking of CNFS at the time of my
previous posts.


    I guess it really is time for me to sit down, shut up, and listen to
the people who've got a lot more experience in this area.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35641
Author: Greg Andrews
Date: Thu, 25 Feb 1999 00:00
40 lines
2261 bytes
brad@shub-internet.org (Brad Knowles) writes:
>In article <7b4d25$jqq$1@shell1.ncal.verio.com>,
>gerg@shell1.ncal.verio.com (Greg Andrews) wrote:
>
>> In the context of Usenet News, *what* file locking issue are
>> you talking about Brad?
>
>    Okay, I'm obviously demonstrating my ignorance yet once again.  I was
>under the impression that, when using traditional spool, INN (and similar
>programs) would use file locking when creating a message, and that this
>would introduce a lot of additional overhead that could be a real killer
>with NFS.
>

Think about it.  With mail, you have multiple processes trying to
write to the common mailbox file (multiple delivery processes, and
at least one reader process).  That's why locking is necessary.

With news, only one process is writing an article file.  All the
others are merely reading article files, not writing them. The only
exceptions are the expire process and the overchan/expireover
combination.

Expire doesn't need locking because it's deleting *different*
files than are being created.  It's deleting old articles and the
incoming articles are being written to new files.  Expireover may
lock the .overview file (I don't remember), but the consequences
of a lock failure on overview data aren't nearly as bad as they
are with e-mail.


If I understand CNFS properly, the expire process is taken out of
the picture.  The overchan/expireover combination may even be
gathered into the same process that writes article data, so once
again, no NFS locking is needed.


  -Greg

Re: INN 2.2, FreeBSD, NFS, hangs!
#35648
Author: bill davidsen
Date: Thu, 25 Feb 1999 00:00
20 lines
1675 bytes
In article <7b40t5$4hh$1@news3.infoave.net>,
Mike Fagan <mfagan@nospam.infoave.net> wrote:

| >I'm going to have to insist here :-) I have a couple of these boxes,
| >and they do use Raid 4, and they do have a dedicated parity disk.
| 
| You're right.  We just purchased one and we had one of the NetApp people in
| our office a few weeks ago giving a demo, and she talked for a few minutes
| on why it used raid 4 instead of raid 5.

Well don't keep us in suspense, why? I've done enough benchmarks to be
reasonably convinced that RAID-4 is a real performance killer.
-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Politicians and diapers have one thing in common. They should both be
changed regularly and for the same reason.
	--Ted Symons(?)


Re: INN 2.2, FreeBSD, NFS, hangs!
#35649
Author: Brad Knowles
Date: Thu, 25 Feb 1999 00:00
53 lines
3394 bytes
In article <brad-2502992138570001@brad.techos.skynet.be>,
brad@shub-internet.org (Brad Knowles) wrote:

> In article <sthB2.14100$yv3.8381@news2.giganews.com>,
> barron@nospam.giganews.com wrote:
> 
> > You seem a bit thick headed here....news is /not/ very write intensive.
> 
>     Well, maybe I'm wrong, but unless you're using CNFS (or something
> comparable), it's my belief that the synchronous metadata writes for
> traditional spool and the file locking issues are going to be relatively
> major performance problems with NFS file servers.

    There is one other factor here, one which has been in my thoughts but
which I have not explicitly stated (until now).


    To wit, if I'm not mistaken, a NetApp is a relatively expensive piece
of hardware.  Using CNFS (or Diablo, with it's own built-in equivalent) I
believe I can build a server using FreeBSD, some high-capacity disks (but
relatively inexpensive, at least on a cost/bit ratio) and a
commodity-grade PC server with a boatload of RAM.

    Mind you, I am a MacFanatic, and saying something like this really
sticks in my craw.  Nevertheless, I believe it to be true, and for far
less than I believe you would be likely to spend on a NetApp, I believe
that I could get a local disk solution that would perform at least as well
(for my purposes), and which could then quite effectively act as an NFS
server (or, if you're using Diablo, a dreaderd server) to however many
clients you would care to attach to it.

    In fact, I don't believe that you'd even need to use hardware
mirroring+striping or RAID, since software alone should be able to handle
the relatively low amount of data writes that would occur with a CNFS (or
CNFS-like) solution.


    However, all this said, I'm quite obviously the newbie.  I'm perfectly
willing to shut up and listen to the voice of experience (or at least,
more experience more recent than mine ;-), but I need convincing counter
examples.

    We've gotten some of that already with comments and URLs to more
information about WAFL, but I don't think we're all the way there, at
least not yet.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35652
Author: Brad Knowles
Date: Thu, 25 Feb 1999 00:00
48 lines
3182 bytes
In article <sthB2.14100$yv3.8381@news2.giganews.com>,
barron@nospam.giganews.com wrote:

> You seem a bit thick headed here....news is /not/ very write intensive.

    Well, maybe I'm wrong, but unless you're using CNFS (or something
comparable), it's my belief that the synchronous metadata writes for
traditional spool and the file locking issues are going to be relatively
major performance problems with NFS file servers.

    Now, maybe you can convince me that WAFL (on top of fast disks) over
NFS has enough aspects of delayed (but safe!) metadata writes such that it
could potentially perform better than local disk writes (when compared to
slower disks with a standard Berkeley FFS-like filesystem on top of them),
but you're going to have a very hard time convincing me that they've
solved the file locking issue.


    Now, if you're assuming CNFS (or something like it), then write
performance becomes much less of an issue.

> Why do you keep harping on the write performance issue?  Who /really/
> cares if an article arrives within 3.5ms or 5.5ms once it hits the nnrp
> box? Readers won't even notice 1minute delays, much less 2ms.

    We're talking issues of server load here, which I believe will
translate into issues of how well that server handles the reader
connections and how well those readers perform when using that server.


    I've got a few friends and former co-workers at AOL who have played
around with NFS servers twelve ways from Sunday, and have called in all
the biggest performance tuning guns from the various vendors, etc....

    These guys can build their own NFS servers using relatively standard
off-the-shelf parts that not only have a better price/performance ratio
than either NetApp or Auspex, but also have better raw performance than
either of them.  And those servers can scale better, too -- no more
hitting a 1TB limit, just because that's the maximum that Auspex or NetApp
supports.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35658
Author: Russ Allbery
Date: Thu, 25 Feb 1999 00:00
13 lines
1215 bytes
Mike Fagan <mfagan@nospam.infoave.net> writes:

> I think he was thinking of running multiple feed machines accessing the
> same disks, this would require file locking, as writing to the
> history/overview/spool would be a mess without it.  However, for INN to
> work like this it would pretty much have to be totaly re-written.

Does anyone do this?  Does anyone *want* to do this?  Why?

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

Re: INN 2.2, FreeBSD, NFS, hangs!
#35656
Author: Brad Knowles
Date: Fri, 26 Feb 1999 00:00
21 lines
1899 bytes
In article <7b4h7b$5c3$1@news3.infoave.net>, "Mike Fagan"
<mfagan@nospam.infoave.net> wrote:

> I think he was thinking of running multiple feed machines accessing the same
> disks, this would require file locking, as writing to the
> history/overview/spool would be a mess without it.

    Nope, Greg was right -- I was thinking about a single machine
accessing the disks, I was just under the impression that all those
separate processes accepting news from various different sources would be
forced to do lots of file locking (in the same way that sendmail does) in
order to keep from stepping all over each other's toes.  Obviously I was
wrong.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35665
Author: Brad Knowles
Date: Fri, 26 Feb 1999 00:00
153 lines
9195 bytes
In article <7b4gq6$tbi$1@news3.infoave.net>, "Mike Fagan"
<mfagan@nospam.infoave.net> wrote:

> However for those of us who run servers for big ISPs or other companies to
> serve news to hundreds of thousands of users, it's a godsend.  Our current
> news machine is an Alpha 4100 with 1 gig of memory and 100 gigs of locally
> attached UW SCSI disks - deffinatly not a weak machine, but it isnt enough
> to handle the load....  We run into a major problem with readers, not with
> the feeds themselves, they are next to nothing compared to the impact of the
> readers.

    Well, I don't believe that we would qualify as a "big ISP", as we only
recently celebrated our 100,000th customer (although we technically are
the largest residential ISP in the country, it is still a relatively small
country the size of Maryland and with only eleven million residents).


    However, based on what I believe were earlier comments in this
newsgroup from guys like Joe Greco and Russell Vincent (two guys who are
running news servers in the Freenix Top 50, as well as being much more
knowledgable about this process than I am), it's my understanding that
using Diablo and dreaderd, you can use some *much* less powerful hardware
and still handle very large numbers of customers, etc....

    I know that Matt Dillon is doing this at best.net (after all, he wrote
Diablo to serve just this purpose), although I don't know how many
customers they have.  It's my understanding that they are a relatively
"large" ISP, with hundreds of thousands of customers.  I also happen to
know that FreeBSD is his "reference" platform, and I believe that he's
using the kind of configuration that I have mentioned previously (in fact,
that's one of the primary places where I got my ideas on the subject).


    What kind of news server software are you using?  In what kind of
configuration?  Is it a Highwind product or is it INN?  Are you using a
CNFS-like storage method?

>                                              To put together a system
> comparable to the NetApp F720, we'd have to put together a pretty hefty
> machine.  It's not like we could just put a couple of disks in a desktop
> class machine and serve them via NFS and get the same performance level.

    With a DEC Alpha 4100 (or the new DS 20/EV-6 machines that they're
coming out with), it's my belief that you could plug in some HSZ-80
controllers using Ultra SCSI 2 with sixteen 80MBps channels to four 18GB
Seagate "Cheetah" disks per channel (around 20MBps sustained per disk),
running ADVfs (synchronized with the latest Veritas VxFS product) and get
a pretty nice little 1TB fileserver.  In fact, if you used a pair of
HSZ-80 controllers in dual-active/fail-over mode, you could plug 2TB into
that machine.

    If you're concerned about the bandwidth back to the host, you could
plug in more HSZ-80 controllers to more host controllers and use fewer
disks per controller (or use the new switched fibrechannel controllers to
get the bandwidth back to the host, and then plug in as many Ultra SCSI 2
disks as you can cram into that bandwidth).


    Alternatively, you could do something along the lines of what Clayton
O'Neill is doing with Symbios external RAID arrays and 20 or 25 Seagate
18GB "Cheetah" drives.

    Or, you could build a next-generation version of ftp.cdrom.com (nīŋŊe
wcarchive, the world's largest anonymous ftp server) with multiple Mylex
DAC960SXI SCSI-SCSI RAID controllers (no more than four Seagate 18GB
"Cheetah" drives per channel and six channels per maxxed-out controller,
so you'd need more controllers with this option).


   However, recent posts from Matt Dillon lead me to believe that you no
longer need to throw in the absolute fastest disk mechanisms around, since
with Diablo and a *boatload* of RAM, you can get suitable performance out
of the ultra-high-capacity drives such as the Seagate 50GB "Barracuda"
drives.

    If you go with this option, I figured you could use nine 50GB
mechanisms with seven disk RAID-5 for alt.binaries.* (seven day retention)
and two disk mirroring for !alt.binaries.* (around a forty day retention),
once you allow for 20% loss due to RAID-5 (or 50% loss due to mirroring)
plus 10% loss due to filesystem overhead and an additional 10% loss to
keep enough disk space left over for maximum performance.

    I don't know whether you'd need to actually use a hardware RAID
controller (such as the Mylex DAC960SXI mentioned above), or whether you'd
even need to put a softupdates filesystem on there, although I'd probably
do both just to be sure.

> What I'm trying to say here is that unless you are an idiot, you won't go
> with a NetApp unless you need it.

    The thing is, configuration-wise, I'm not sure that anyone needs it
for Usenet news.  Unless you're concerned about what it takes to roll your
own fileserver and you just want to buy purely off-the-shelf components, I
think I could probably build a better performing (and lower cost)
fileserver with either commodity PC components plus some carefully
selected hardware, or by using properly configured hardware from
"standard" system vendors such as DEC/Compaq or Sun (when combined with
appropriate external battery-backed-up write-back caching hardware RAID
controllers).

    This is basically the same thing that my friends and former co-workers
at AOL are telling me.

>                                                   For 99% of the news
> servers out there, a Intel/FreeBSD machine with some locally attached disks
> is great... that's all they need, but some of us have the misfortune of
> trying to support a server for hundreds of thousands of customers, and for
> us, that just won't cut it, we have to go with something else.

    I would submit that my friends and former co-workers at AOL are
supporting slightly more than "hundreds of thousands of customers" with
their systems (more like tens of millions of customers), and they were the
first folks to tell me that they were no longer using the standard
off-the-shelf NFS fileservers from Auspex and Network Appliance, but were
instead building their own using relatively standard off-the-shelf systems
from vendors such as DEC/Compaq, SGI, Sun, etc... and high-performance
external disk subsysttems, such as the Symbios units mentioned previously,
or the really high-end EMC Symmetrix disk farms.

>                                                                 We also want
> something that we know we can get support for, and that has a proven
> track-record... some home brewed system is soarly lacking in that area.  We
> also wanted something that has an easy upgrade path for the future.  We
> found that the NetApp was the product for us - it isn't for everyone though.

    I had some serious technical problems with their OS, where someone
else might be logged into the server from somewhere else, preventing me
from logging into the server until such time as I find out who they were
and either killing their login session (if they're away on vacation), or
getting them to either log out or perform some administrative function on
my behalf.

    I also don't care for the fact that their command set is very
restricted, and that you can't use all the same standard Unix commands I'm
used to in order to administer the server.

    In my experience, there have also been some serious reliability
problems with NetApp.


    On a political level, I don't care for *any* company that screws all
their existing customers in order to try and meet a huge order from a
single customer.  NetApp has done it before, and if they have that kind of
a cavalier attitude towards their customers, my guess is that they will
probably do it again in the future.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35666
Author: Cliff Daniel
Date: Fri, 26 Feb 1999 00:00
18 lines
1369 bytes
On Thu, 25 Feb 1999 22:27:46 +0100, brad@shub-internet.org (Brad
Knowles) wrote:
>
>    Of course, in the context of a CNFS-like solution, that should cease
>to be a problem.  However, I wasn't thinking of CNFS at the time of my
>previous posts.
>

If you are implementing a CNFS-like solution over NFS I would imagine
file locking becomes more of an issue since in order for an article to
be wrtten out to the cybuff it would have to lock the entire file.
I've been wrong before though :-)

--
Cliff


Re: INN 2.2, FreeBSD, NFS, hangs!
#35673
Author: Brad Knowles
Date: Sat, 27 Feb 1999 00:00
21 lines
2161 bytes
In article <36d728d3.24948854@news.sanjose1.level3.net>,
cdaniel-this-remove@Level3.net (Cliff Daniel) wrote:

> If you are implementing a CNFS-like solution over NFS I would imagine
> file locking becomes more of an issue since in order for an article to
> be wrtten out to the cybuff it would have to lock the entire file.


    It's my understanding that with CNFS there is no file locking at all,
because you only ever have one process at a time writing to a particular
file, and if they do any locking at all, they probably use a region of
shared memory to coordinate those locks.  They certainly wouldn't be using
per=file locking on cycbuffs that are multiple GB each.

--
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: INN 2.2, FreeBSD, NFS, hangs!
#35680
Author: Per Hedeland
Date: Sun, 28 Feb 1999 00:00
21 lines
1526 bytes
In article <brad-2702990038120001@194.78.31.227> brad@shub-internet.org
(Brad Knowles) writes:
>In article <36d728d3.24948854@news.sanjose1.level3.net>,
>cdaniel-this-remove@Level3.net (Cliff Daniel) wrote:
>
>> If you are implementing a CNFS-like solution over NFS I would imagine
>> file locking becomes more of an issue since in order for an article to
>> be wrtten out to the cybuff it would have to lock the entire file.
>
>    It's my understanding that with CNFS there is no file locking at all,
>because you only ever have one process at a time writing to a particular
>file

With INN, there is always (and has always been) only ever one process at
a time writing the actual article files - innd. It's a fundamental part
of the design.

--Per Hedeland
per@erix.ericsson.se

Re: INN 2.2, FreeBSD, NFS, hangs!
#35701
Author: Sasha Mikheev
Date: Mon, 01 Mar 1999 00:00
34 lines
1799 bytes
Are you using memory mapped access to the cycbuff ? We have similar
setup here but with Solaris box and it used to crash. Removing
mmap solved this problem completely. 

On Sat, 20 Feb 1999 20:14:15 GMT, Alex French <alex@clubi.ie> wrote:
>Hi,
>
>I'm running inn-2.2 Release, FreeBSD 2.2.7-STABLE, CNFS. All hunky
>dory. 
>
>Now I'm moving stuff over to a partition NFS-mounted from a NetApp
>Filer (NFS v.3), and I'm having problems.
>- I can happily put all the overview and uniover data onto the
>NFS-mounted partition.
>- Trying to run with the db directory on the NFS-mounted partition
>hangs things
>- Trying to run with a cycbuff on the NFS-mounted partition hangs
>things.
>
>When the box hangs, it's still pingable but seems unable to fire up
>any new processes. Innd dies, too.
>
>Suggestions anyone?


-- 
--
 Sasha Mikheev                      Linux -- put a penguin in your processor

 System Manager at Netvision Israel, Ltd
 Tel  +972-4-8560600 
 http://aldan.netvision.net.il/~sasha

Re: INN 2.2, FreeBSD, NFS, hangs!
#35702
Author: Matt Dillon
Date: Mon, 01 Mar 1999 00:00
30 lines
2081 bytes
:In article <brad-2302992211100001@194.78.31.228>,
:Brad Knowles <brad@shub-internet.org> wrote:
:>In article <36cf15ee.3051947@news.clubi.ie>, alex@clubi.ie (Alex French) wrote:
:>
:>> Now I'm moving stuff over to a partition NFS-mounted from a NetApp
:>> Filer (NFS v.3), and I'm having problems.
:>
:>    NFS writes are about the worst performing solution that I can
:>imagine.  They should technically work, if the data (and metadata) write
:>rate is low enough, but write throughput is a *real* performance problem.

    Traditionally, NFS centric servers have non-volatile memory to hold writes
    in order to be able to acknowledge them immediately, thus getting around
    the synchronous-write latency issue with NFS V2.

    NFS V3 solves the problem by allowing the server to acknowledge a write
    immediately by telling the client that the write is in 'unstable' storage
    ( i.e. the server's volatile cache ).  The client must later do a 'commit'
    rpc to guarentee that the data has been written to physical media.  The 
    idea is to hold off doing the commit as long as possible so when you 
    finally do get to it, the server has already written the data to disk.

						-Matt

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

Re: INN 2.2, FreeBSD, NFS, hangs!
#35738
Author: Brad Knowles
Date: Tue, 02 Mar 1999 00:00
35 lines
2523 bytes
In article <7bg4o4$1ct$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote:

>     Traditionally, NFS centric servers have non-volatile memory to hold writes
>     in order to be able to acknowledge them immediately, thus getting around
>     the synchronous-write latency issue with NFS V2.

    True, but if your write rate is sufficiently high, you fill the cache
and then you're right back where you were.  Now, I'm not saying that news
will have a write rate this high (especially if you're using something
like CNFS), but this is a problem with high data rate applications on NFS
servers.

>     NFS V3 solves the problem by allowing the server to acknowledge a write
>     immediately by telling the client that the write is in 'unstable' storage
>     ( i.e. the server's volatile cache ).

    Also true.  However, this requires support for NFSv3 on both ends,
which even these days, is not all that common (especially at the
application level, where the program would have to consciously acknowledge
that it was on an NFSv3 partition and issue the "commit" operation when it
considers the action to be necessary).  And this still doesn't address the
file locking issue.


    However, this is probably a pretty moot point with regards to news on
NFS, because if you're smart you'll be doing something like CNFS, which
should allow you to avoid most of these problems to begin with.

-- 
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: INN 2.2, FreeBSD, NFS, hangs!
#35748
Author: Kjetil Torgrim Homme
Date: Tue, 02 Mar 1999 00:00
35 lines
2177 bytes
[Matt Dillon]

>   Traditionally, NFS centric servers have non-volatile memory to
>   hold writes in order to be able to acknowledge them immediately,
>   thus getting around the synchronous-write latency issue with NFS
>   V2.

[Brad Knowles]

>   True, but if your write rate is sufficiently high, you fill the
>   cache and then you're right back where you were.

No.  It's the latency that kills NFS.  Throughput is limited by disks,
which is the same whether you are using a local or remote server.  SGI
have demonstrated 50 MB/s over a Hippi LAN (this was years ago, so the
number may be a bit off).  Anyone[1] can fill a 10 Mbps Ethernet with
NFS v2 traffic.  NFS v3 is even easier.

>   However, this is probably a pretty moot point with regards to news
>   on NFS, because if you're smart you'll be doing something like
>   CNFS, which should allow you to avoid most of these problems to
>   begin with.

You need NFS v3 to support large files, so CNFS is out if you have old
clients.  In any case, I'd feel safer with traditional spool over NFS,
since there is less risk of strange cache effects.  This is only an
issue if you have slave reader servers, of course.


Kjetil T.

[1] Well, except Linux, although things have improved by magnitudes in
    2.2.2ac5 :-)

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