🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
86 messages
86 total messages Page 1 of 2 Started by Brad Knowles Mon, 02 Aug 1999 00:00
Page 1 of 2 • 86 total messages
Re: NNTP - building the ultimate server
#38912
Author: Brad Knowles
Date: Mon, 02 Aug 1999 00:00
78 lines
4426 bytes
In article <37a5671a.1475189546@news.ftech.net>, kieran@twisted.org.uk
(Kieran) wrote:

> What hardware/software do the Freenix top-10(ish) tend to run their
> peering news servers on? Is there a clear winner? Just what is required to
> make a news server world-class?

    Here's the list I've been able to assemble with queso and telnet to
their port 119:

        Rank[0] Site                    OS      SW
        ----    ----------------------- ------- -------
        1       news.maxwell.syr.edu    NT      NNTPRelay 1.1R2a
        2       newsfeed.cwix.com       Solaris Cyclone 1.4.1
        3       news.gtei.net           Solaris Cyclone 1.3.14
        4       dispose.news.demon.net  Solaris ???
        5       howland.erols.net       Solaris Cyclone 1.3.7
        6       newsfeed.berkeley.edu   NT      NNTPRelay 1.1R2a
        7       newsfeed.gamma.ru       FreeBSD ???
        8       newsfeed.tli.de         Solaris Cyclone 1.3.15
        9       news-peer.gip.net       ???     Cyclone 1.3.14
        11      newspeer.monmouth.com   BSD/OS  INN 1.5.1

> We're currently running a PII/Linux/INN box at work that's _reasonably_
> specced, but beginning to feel the strain as news volumes/article sizes
> constantly follow an upwards trend...

    You could make it into the Top Ten with the right peers, etc... using
FreeBSD (see newsfeed.gamma.ru) or similar OSes (see
newspeer.monmouth.com), but I don't think you're going to get there with
Linux.

    Having recently switched from Linux to FreeBSD for our news peering
server, I can see a *huge* difference in the way the OS handles things
like memory, etc... which I believe will be part of the reason why we're
going to start shooting up in the ratings once again (of course, other
factors are little things like having 1GB RAM, dual 450Mhz PIII
processors, four hardware striped IBM UltraStar 9LZX drives for /news and
/news/spool, finally adding more news peers after four months of
inactivity, etc... ;-).

    The tests that Microsoft recently re-ran with Windows NT against Linux
pretty clearly demonstrate that Linux was designed to eek the last nth
percent out of smaller and older machines, and not for taking full
advantage of larger and faster machines.  I think that FreeBSD is better
at taking full advantage of real "monster" machines, which is part of why
it was selected to be used as the OS for the world's largest anonymous ftp
server at ftp.cdrom.com.


    With regards to news server software, it is my belief that with a lot
of hard work and tweaking on your part, you could get into the Top Ten
with INN (see newspeer.monmouth.com).  However, it would be much easier to
go with commercial software such as Cyclone, although I don't know if they
sell a version for FreeBSD.

    Of course, as I've said before, it's hard to justify buying (or
leasing) a piece of software such as this when there are freely available
programs that can do quite well, but if you're really shooting to be in
the Top Ten, it would be a relatively easy way to claw your way quite a
bit higher in the rankings.

    Myself, I'm pretty happy with Diablo, but frankly, I don't think that
it's capable of being ranked much higher than about #50.  If you want to
get higher than that, I think you probably have to go with different
software.




[0] #10 is "cyberspam", and since I don't know what host(s) use(s) this
path alias, I can't really test it very well.  ;-)

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#38913
Author: Stig Sandbeck Mathisen
Date: Mon, 02 Aug 1999 00:00
26 lines
1885 bytes
brad@shub-internet.org (Brad Knowles) writes:

> I don't know about Cyclone, but it's my understanding that using the
> faster software comes with a price -- it tends to be more finicky
> and more difficult to manage.  But I don't have any direct
> experience to back this up, so of course I'd like to hear from
> others that do.

Cyclone is not particularly difficult to manage.  It does cost a lot
of money, but it pays itself off.

It takes less time to do things on the Cyclone box, than on the INN
boxen I've had.  Of course, you can do lots more on an INN box, but if
you just want a fast feeder, Cyclone seems to be less difficut to
manage.

I also must admit that I'm partial to commercial software that comes
on a single floppy)

YMMV, of course.

-- 
 SSM - Stig Sandbeck Mathisen
  Trust the Computer, the Computer is your Friend

Re: NNTP - building the ultimate server
#38914
Author: Brad Knowles
Date: Mon, 02 Aug 1999 00:00
32 lines
2414 bytes
In article <19990802133651.453$Ou@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:

> I'd really like to see someone put together a Freenix like rating based on
> bytes moved instead of articles moved.  I think that would be a far more
> accurate indication of who was doing the real work on the net.

    Well, it would also need to take the presence or absence of spam into
account.  And even then, if you're pushing the same large articles time
after time to the same news servers, you could artificially raise your
ranking.


    I'd like to see some sort of ranking that shows the diversity of
connections that each server has.  If everyone in the world connects to
the same five servers and ignores the other ninety-five, then they're not
very diverse.  And as a result, the overall "strength" of the fabric of
USENET will suffer.  How many of us prop ourselves up on just a few
inbound feeds from sites like maxwell, berkeley, and howland?

    I think you can move a lot of good news not just by moving large
volumes, but also by making a concerted attempt to make your site as well
connected as possible to as many other widely dispersed news servers out
there as you can arrange, and if that means taking a 950-1150ms RTT from
Belgium to feed a server down in Hong Kong or ~650ms RTTs to feed a site
in Australia, then so be it.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#38921
Author: Brad Knowles
Date: Mon, 02 Aug 1999 00:00
81 lines
5034 bytes
In article <37a87721.1479292265@news.ftech.net>, kieran@twisted.org.uk
(Kieran) wrote:

> I can't believe I didn't think of that. I must be decaffeinated. Anyhow,
> Solaris/Cyclone seems to be the most prevalent... I wonder if that's more
> a case of them being popular anyhow, or if they're really ahead of the
> game?

    It's my understanding that Cyclone has some *very* heavy hardware
requirements (relatively speaking), and that Solaris is one of the
platforms it runs best on (maybe that's their development platform?). 
Since Cyclone is one of the two fastest news router programs on the 'net,
this makes a Cyclone/Solaris combo pretty popular amongst the fastest
machines.

> *nod* hardware specs are appreciated. We've (currently) got the drives
> software-striped, half the RAM, and a single (duals were unstable under
> Linux at the time), PII-300. And more peers than you can shake a stick at.

    If you're really concerned about Freenix ratings, you can't ignore the
importance of having the right peers (and the right number of peers).  You
not only need a sufficient number of highly rated peers (such as maxwell,
cwix, gtei, demon, howland, berkeley, etc...) for your inbound traffic,
but you also need a sufficiently large number of lower-ranked peers, so
that you're their major source for news.

    This is why when our site goes up in the ratings, so does belnet --
they've got a lot of Universities they feed, and when we increase our
input quality, they get the benefit of that by having so many outbound
feeds that end up getting more news through us through them.  The way to
break this effect would be for us to feed the Universities directly, but
that's not going to happen.  The next best thing I can do is just try to
arrange to get as many outbound newsfeeds going as I can.


    Looking at our latest stats, we're feeding about as many articles as
we receive from many of our peers who are currently ranked in the mid to
low 100s (and I've only been adding new feeds for a couple of days), so
I'm hoping that by the time the stats come out for August, we'll have
broken into the Top 100 ourselves.  We'll just have to see what happens.

> More inclined to shoot with FreeBSD/INN and see how it goes. TBH, I think
> we're more interested in having a server that can handle whatever we throw
> at it without too much maintenance rather than one that will actually make
> the top ten. At least, until someone changes their mind...

    I don't know about you, but INN doesn't strike me as something that is
particularly low maintenance.  Diablo is low maintenance, and recent
reports on this newsgroup are that NNTPRelay is even lower maintenance
(although you'd have to swallow running Windows NT, which for me would
more than offset any possible speed and low maintenance advantages that
NNTPRelay could possibly have).

    I don't know about Cyclone, but it's my understanding that using the
faster software comes with a price -- it tends to be more finicky and more
difficult to manage.  But I don't have any direct experience to back this
up, so of course I'd like to hear from others that do.

> No need for me to make the switch from INN, then :)

    It all depends on what you want to do.  If you've read other articles
in this newsgroup from Joe Greco (and mine in response to his), it's clear
that you can build a large and relatively robust news system that can
scale to handle millions of users, and where there are virtually no Single
Points of Failure (with the sole exception of the one machine that issues
the canonical article ids and the XRef: headers), and even then you can
set up warm backup machines that could be dropped into production quite
quickly.

    It would be much harder to make INN do something like this, although
INN could certainly be a part of a reliable distributed news system of
this sort (e.g., as the news spool server software, and perhaps also the
news peering server software).

-- 
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: NNTP - building the ultimate server
#38926
Author: Russ Allbery
Date: Tue, 03 Aug 1999 00:00
18 lines
1440 bytes
Brad Knowles <brad@shub-internet.org> writes:

> It's my understanding that Cyclone has some *very* heavy hardware
> requirements (relatively speaking), and that Solaris is one of the
> platforms it runs best on (maybe that's their development platform?).

Cyclone uses threads.  Solaris does threading better than any other
operating system in existence right now (well, one can argue about NT,
which uses a different threading model that some people like better than
POSIX, but I don't have enough experience with it to really argue that).

Threading is the major reason (apart from Sun hardware) why one would want
to run Solaris rather than one of the free Unixes.

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

Re: NNTP - building the ultimate server
#38930
Author: Jeremy
Date: Tue, 03 Aug 1999 00:00
48 lines
3017 bytes
Brad Knowles <brad@shub-internet.org> wrote:

> It's my understanding that Cyclone has some *very* heavy hardware
> requirements (relatively speaking),

Well, not *that* hefty.  My Cyclone boxes are dual-PII-300s with half
a gig of RAM and a couple of local disks.  Well, one of them uses a
RAID, but that's mainly because we want to be able to keep a couple
full days worth of backlog for our internal feeds, not for performance
reasons.

> and that Solaris is one of the platforms it runs best on (maybe that's
> their development platform?).

Yeah, Solaris is where Cyclone is best, as I understand it.  However,
I think it's also a "because it's popular anyway" thing; if I were
setting up a feeder, and had my choice, I'd choose Solaris -- not because
I've tried everything and think it's best, but because it's what I use,
at work and at home, and I'm comfortable with it, and it's solid.

> I don't know about you, but INN doesn't strike me as something that is
> particularly low maintenance.  Diablo is low maintenance, and recent
> reports on this newsgroup are that NNTPRelay is even lower maintenance
> (although you'd have to swallow running Windows NT, which for me would
> more than offset any possible speed and low maintenance advantages that
> NNTPRelay could possibly have).

Yep, the NT thing is a killer.  They're doing great with it, of course,
but I think I'd rather find another line of work...

> I don't know about Cyclone, but it's my understanding that using the
> faster software comes with a price -- it tends to be more finicky and
> more difficult to manage.  But I don't have any direct experience to
> back this up, so of course I'd like to hear from others that do.

Cyclone is low-maintenance.  You can have a "standard" config up and
running from scratch in like 15 minutes, not counting waiting for big
spool objects to get created if you need to create them.  You can spend
time tweaking it, of course, but I wouldn't call it finicky.  (Except
when you're running it in xref-generate mode, when it can tend to do
some funky things.)

-- 
Jeremy  |  jeremy@exit109.com
"You've never seen the British Parliament in action, have you?
 You ought to.  It's very similar to Usenet."    --Tim Thorne

Re: NNTP - building the ultimate server
#38932
Author: Jeremy
Date: Tue, 03 Aug 1999 00:00
23 lines
1782 bytes
Curt Welch <curt@kcwc.com> wrote:

> Keep in mind that the Freenix list isn't a good measure of who's pushing
> the most news -- or even a good measure of the quality of their feed.  It's
> a measure of who's pushing the most number of articles the fastest. You
> will bost your Freenix rating a lot if you drop the large articles.  I
> suspect (but don't know), that many of the machines in the top 50 don't
> carry the large binary postings.  It's a hell of a lot easier to push a 2GB
> feed to 100 sites than to push a 50GB feed to 100 sites.
> 
> I'd really like to see someone put together a Freenix like rating based on
> bytes moved instead of articles moved.  I think that would be a far more
> accurate indication of who was doing the real work on the net.

I'd be interested to know how many (if any) of the systems higher than mine
on Freenix (#15 last month) are carrying the really big binaries.  My size
limit is 3 megs.

-- 
Jeremy  |  jeremy@exit109.com
"Do you think a princess, and a guy like me..."  --Han Solo

Re: NNTP - building the ultimate server
#38938
Author: Russ Allbery
Date: Tue, 03 Aug 1999 00:00
16 lines
1346 bytes
Curt Welch <curt@kcwc.com> writes:

> I'd really like to see someone put together a Freenix like rating based
> on bytes moved instead of articles moved.  I think that would be a far
> more accurate indication of who was doing the real work on the net.

Except that from the perspective of the Usenet *participant* (not the porn
reader, which I admit is the main user base supporting most ISP news
services at this point but which is a user base I'm almost completely
uninterested in), that wouldn't accurately indicate who's getting the
articles to them that they care about either.

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

Re: NNTP - building the ultimate server
#38939
Author: Russ Allbery
Date: Tue, 03 Aug 1999 00:00
16 lines
1373 bytes
Brad Knowles <brad@shub-internet.org> writes:

> I'd like to see some sort of ranking that shows the diversity of
> connections that each server has.  If everyone in the world connects to
> the same five servers and ignores the other ninety-five, then they're
> not very diverse.  And as a result, the overall "strength" of the fabric
> of USENET will suffer.  How many of us prop ourselves up on just a few
> inbound feeds from sites like maxwell, berkeley, and howland?

Yeah, that's a good point.  I go out of my way to peer with a lot of
smaller sites.

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

Re: NNTP - building the ultimate server
#38945
Author: Kai Henningsen
Date: Wed, 04 Aug 1999 00:00
42 lines
2922 bytes
brad@shub-internet.org (Brad Knowles)  wrote on 02.08.99 in <brad-0208991250220001@brad.techos.skynet.be>:

>     The tests that Microsoft recently re-ran with Windows NT against Linux
> pretty clearly demonstrate that Linux was designed to eek the last nth
> percent out of smaller and older machines, and not for taking full
> advantage of larger and faster machines.  I think that FreeBSD is better
> at taking full advantage of real "monster" machines, which is part of why
> it was selected to be used as the OS for the world's largest anonymous ftp
> server at ftp.cdrom.com.

What I heard of those tests mainly indicated two things: first, you can  
get impressive results if you identify one area where you already are  
about as good as your competitor, then spend a lot of work on improving  
that, and then run benchmarks designed to show exactly that new  
difference. (In that, the important advantage for NT got there via the  
latest service pack.)

And second, from people testing NT/Linux/FreeBSD, I gather that FreeBSD  
showed approximately the same deficits that Linux did, that is, it was  
*NOT* significantly better than Linux in the areas NT was. (The Samba guys  
were involved in those tests.)

Of course, both the Linux and the FreeBSD guys are apparently working on  
those areas. For example, I'm told there is now a in-kernel webserver for  
Linux that can outperform the in-kernel webserver for NT - on  
significantly less hardware. Not that in-kernel webservers are all that  
interesting, but they show where bottlenecks are and explore how to  
improve on them.

I don't know about anyone specifically doing NNTP benchmarks, though.  
Would certainly be interesting, and I gather the linux-kernel guys are  
always interested in pointers to what could be improved (and I expect  
something similar is true for the FreeBSD crowd). The Apache guys  
certainly are talking with them.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Re: NNTP - building the ultimate server
#38948
Author: Igor Timkin
Date: Wed, 04 Aug 1999 00:00
20 lines
1752 bytes
Brad Knowles <brad@shub-internet.org> wrote:
:     Here's the list I've been able to assemble with queso and telnet to
: their port 119:

:         Rank[0] Site                    OS      SW
:         ----    ----------------------- ------- -------
:         1       news.maxwell.syr.edu    NT      NNTPRelay 1.1R2a
:         2       newsfeed.cwix.com       Solaris Cyclone 1.4.1
:         3       news.gtei.net           Solaris Cyclone 1.3.14
:         4       dispose.news.demon.net  Solaris ???
:         5       howland.erols.net       Solaris Cyclone 1.3.7
:         6       newsfeed.berkeley.edu   NT      NNTPRelay 1.1R2a
:         7       newsfeed.gamma.ru       FreeBSD ???
					  FBSD-3.0 inn-2.3 CNFS

:         8       newsfeed.tli.de         Solaris Cyclone 1.3.15
:         9       news-peer.gip.net       ???     Cyclone 1.3.14
:         11      newspeer.monmouth.com   BSD/OS  INN 1.5.1

Re: NNTP - building the ultimate server
#38949
Author: Russ Allbery
Date: Wed, 04 Aug 1999 00:00
35 lines
2318 bytes
Kai Henningsen <kaih=7MCwXhxHw-B@khms.westfalen.de> writes:
> rra@stanford.edu (Russ Allbery) wrote:

>> Cyclone uses threads.  Solaris does threading better than any other
>> operating system in existence right now (well, one can argue about NT,
>> which uses a different threading model that some people like better
>> than POSIX, but I don't have enough experience with it to really argue
>> that).

> From what I've heard - which includes people having worked on Solaris
> internals, such as Larry McVoy - I gather that Solaris threading isn't
> all that great, compared to Linux threading. Well, it's probably more
> polished, but for example I gather Linux switches threads quite a lot
> faster.

Maybe if you're running the 2.3 experimental kernels, but in the latest
stable kernels the OS still holds a global lock for some operations.  The
reason why Solaris's threading support is so nice is because the *kernel*
is fully multithreaded.

Linux threading still doesn't scale beyond four processors (I've been
following it on linux-kernel for a while).  Solaris threading scales well
to many more processes than that.

I have little doubt that eventually Linux will overtake Solaris in this
respect; I have a lot of respect and faith in the people working on Linux.
But it will take a while.  Sun has a pretty impressive lead.

(Note that most of my personal experience is with Solaris on Sun hardware.
Solaris runs noticeably worse on x86 hardware.)

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

Re: NNTP - building the ultimate server
#38956
Author: Kai Henningsen
Date: Wed, 04 Aug 1999 00:00
35 lines
2462 bytes
rra@stanford.edu (Russ Allbery)  wrote on 03.08.99 in <yl672wcwjk.fsf@windlord.stanford.edu>:

> Brad Knowles <brad@shub-internet.org> writes:
>
> > It's my understanding that Cyclone has some *very* heavy hardware
> > requirements (relatively speaking), and that Solaris is one of the
> > platforms it runs best on (maybe that's their development platform?).
>
> Cyclone uses threads.  Solaris does threading better than any other
> operating system in existence right now (well, one can argue about NT,
> which uses a different threading model that some people like better than
> POSIX, but I don't have enough experience with it to really argue that).

From what I've heard - which includes people having worked on Solaris  
internals, such as Larry McVoy - I gather that Solaris threading isn't all  
that great, compared to Linux threading. Well, it's probably more  
polished, but for example I gather Linux switches threads quite a lot  
faster.

> Threading is the major reason (apart from Sun hardware) why one would want
> to run Solaris rather than one of the free Unixes.

In view of the above, that's interesting.

Of course, it may be in the same class as "Linux networking is a lot worse  
than BSD" - i.e., it once was true, some years ago. (These days, you'll  
find work-arounds for BSD bugs in the Linux stack. Go figure.)

Kai
--
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Re: NNTP - building the ultimate server
#38959
Author: Brad Knowles
Date: Wed, 04 Aug 1999 00:00
27 lines
2018 bytes
In article <yl907scwm2.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

> Yeah, that's a good point.  I go out of my way to peer with a lot of
> smaller sites.

    I'm working on that, too.  Of course, having a few of the Top Ten
feeding your site can do wonders for the ratios of articles you send vs.
receive from sites even in in the low 100's, as I have discovered today. 
;-)


    The stats that will come out for us in a few days will suck, since I
didn't bring the new machine online until late in the evening on 30 July,
so we've got pretty much an entire additional month worth of stats from
the old creaky server where I hadn't been able to add news feeds for
months and months.

    But when the stats come out for September, I'm hoping that we'll break
into the Top 100, and finally perhaps be the most rank site in the
country.  ;-)

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#38960
Author: bill davidsen
Date: Thu, 05 Aug 1999 00:00
30 lines
2148 bytes
In article <ylyafqcgb1.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| I submit that Solaris's considerably better SMP support means that threads
| run faster and better on Solaris than on Linux, whether that's related to
| just the threading, to the SMP, or to some combination of the two.

If you run a heavily threaded load against Solaris and Linux, on the
same SPARC system, I believe that you will find with uniprocessor Linux
will have lower overhead, at least if you mean "a CPU bound load runs to
completion in less realtime."

For SMP I think you find that the nature of the load determines which
performs better. Linux has fine grained locking "in most places," and of
course fine is a relative term.

The overhead is pretty low in both cases, so I'm not sure if we're
chasing performance differences down in the noise. Linux networking used
to be below BSD. No longer true. Linux SMP was coarse grained WRT
Solaris/SCO, also questionable.

Haven't run news on SCO or UNIXware in years, wonder how that would be.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: NNTP - building the ultimate server
#38981
Author: Kai Henningsen
Date: Thu, 05 Aug 1999 00:00
54 lines
3385 bytes
rra@stanford.edu (Russ Allbery)  wrote on 04.08.99 in <ylk8rbicj7.fsf@windlord.stanford.edu>:

> Kai Henningsen <kaih=7MCwXhxHw-B@khms.westfalen.de> writes:
> > rra@stanford.edu (Russ Allbery) wrote:
>
> >> Cyclone uses threads.  Solaris does threading better than any other
> >> operating system in existence right now (well, one can argue about NT,
> >> which uses a different threading model that some people like better
> >> than POSIX, but I don't have enough experience with it to really argue
> >> that).
>
> > From what I've heard - which includes people having worked on Solaris
> > internals, such as Larry McVoy - I gather that Solaris threading isn't
> > all that great, compared to Linux threading. Well, it's probably more
> > polished, but for example I gather Linux switches threads quite a lot
> > faster.
>
> Maybe if you're running the 2.3 experimental kernels, but in the latest
> stable kernels the OS still holds a global lock for some operations.  The
> reason why Solaris's threading support is so nice is because the *kernel*
> is fully multithreaded.

That's not a property of threading. (For example, it applies equally to  
threads and separate processes.)

Besides, I think it is misleading to call the kernel property (commonly  
known as "fine-grained locking") you talk about "fully multithreaded".  
Again, those are two separate things; a multi-threaded kernel would be one  
using separate threads in kernel mode (which Linux has indeed been doing  
for some time now).

> Linux threading still doesn't scale beyond four processors (I've been
> following it on linux-kernel for a while).  Solaris threading scales well
> to many more processes than that.

You probably think of Linux SMP here. That may well be; machines with more  
than four processors are kind of hard to find - not many out there, and  
those that are aren't exactly cheap.

Then again, there is no hard limit of four processors anywhere that I ever  
heard of. Depending on what you do, it certainly gets less effective, but  
I doubt it's all that much when you go to five processors.

In general, I think it doesn't help switching technology labels around,  
and calling general systems performance "threading" is certainly a case of  
exactly that.

Kai
--
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Re: NNTP - building the ultimate server
#38983
Author: Russ Allbery
Date: Thu, 05 Aug 1999 00:00
24 lines
1806 bytes
Kai Henningsen <kaih=7MHvYk91w-B@khms.westfalen.de> writes:
> rra@stanford.edu (Russ Allbery) wrote:

>> Maybe if you're running the 2.3 experimental kernels, but in the latest
>> stable kernels the OS still holds a global lock for some operations.
>> The reason why Solaris's threading support is so nice is because the
>> *kernel* is fully multithreaded.

> That's not a property of threading. (For example, it applies equally to
> threads and separate processes.)

Point taken, but it's something that people who are doing threading worry
about.  If your threads aren't getting the benefits of SMP, then there's
much less point in using threads and they'll run quite a bit slower.
Threads will exercise your SMP support more than anything else will.

I submit that Solaris's considerably better SMP support means that threads
run faster and better on Solaris than on Linux, whether that's related to
just the threading, to the SMP, or to some combination of the two.

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

Re: NNTP - building the ultimate server
#39002
Author: Russ Allbery
Date: Sat, 07 Aug 1999 00:00
44 lines
3080 bytes
Brad Knowles <brad@shub-internet.org> writes:

> Having been in a situation where we had to manage dozens and dozens of
> machines, I can tell you that the added administrative cost does not
> scale well as you add more machines.

Hm.  I don't agree at all, and the group I'm part of is currently managing
roughly 483 Unix servers (about 48 servers per person), many of which are
in groups of two or three doing the same thing or even running
distinguished applications.  I think that qualifies as dozens and dozens.
It's all in the tools you use and how much you automate things.  :)

We leverage *very* heavily off an enterprise file system (AFS) and a
uniform authentication infrastructure (Kerberos), automate everything we
possibly can, maintain full templates for all our machines in the
site-wide file system and generally also under CVS, maintain a single
shared software installation for all machines, and have fully automated
the build procedure by leveraging off Solaris Jumpstart.  That lets us
avoid upgrades in place (which is a huge drain of time and very tricky to
schedule and do right) and just build a new machine fresh off Jumpstart
(which takes an hour or two) and swap the hardware whenever we need to
upgrade or apply patches or the like.

Adding more machines doing the same thing as existing machines is, at this
point, practically unnoticeable noise in the work levels.

As an aside, the primary reason why I wouldn't want to move away from
Solaris for servers has little to do with the technology behind the
operating system itself and everything to do with Jumpstart.  Linux's
equivalent makes the fatal mistake of trying to use golden images or
locking you into the native package management system, whereas with
Jumpstart we can execute arbitrary programs in the postinstall phase and
use a cross-platform installation system written in Perl.

Jumpstart is also very stable, has been around for years, and is
supported, which is more than I can say for the alternatives for a lot of
other operating systems.

Another place where Linux is catching up, but a long way behind.

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

Re: NNTP - building the ultimate server
#39003
Author: Russ Allbery
Date: Sat, 07 Aug 1999 00:00
13 lines
1160 bytes
route <route@hitter.net> writes:

> Why would you even consider using Linux for anything that needs power?
> The only free os I could fathom using for any heavy duty app would be
> FreeBSD.

Go troll an advocacy group if you really want this flame war and kindly
spare us the obvious bait.

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

Re: NNTP - building the ultimate server
#39004
Author: Brad Knowles
Date: Sat, 07 Aug 1999 00:00
87 lines
5383 bytes
In article <7ogpms$jga$1@hama.darkmere.gen.nz>, Simon Lyall
<simon@darkmere.gen.nz> wrote:

> At this point I could note that the current cost of a 20GB SCSI Hard drive
> is about $500 more than a 20GB EIDE drive. For the difference in price you
> can ( as the paragraph above shows ) buy a pretty good controller. I'm not
> saying this sort of setup will work for everything but If I was building a
> news system today for a medium customer base (say 200-1000 similtanious
> readers and a full feed) I would most likely go for a dozen commodity PCs
> rather than high end hardware.

    Having been in a situation where we had to manage dozens and dozens of
machines, I can tell you that the added administrative cost does not scale
well as you add more machines.  I'm targetting a system where each machine
is a rather larger, and therefore I have fewer of them.

    However, it's still going to be built on multiple machines, and my
current design should allow for any one or two machines for each role to
be Tango-Uniform, and still have the overall system as a whole operational
and functional (hopefully without the users even being aware of the
failures).


    In the long run, for most of our uses, I do not believe that it makes
sense to economize on things like disk drives and use EIDE instead of
SCSI, because of the reduced system performance, the added administrative
cost of managing that many more machines to make up for the reduced
individual system performance, and the cost of the human beings that would
have to do the work.  Saving $500 for a disk drive is a false economy if
you wind up having to hire another guy to help manage the resulting
systems.

    But each group at each site needs to determine their own "sweet spot"
in terms of individual system performance for specific applications, and
the choices I make for my site may not be at all appropriate for your
site.

> This part of the world has traditionally been a user of Linux rather
> than the various Free BSD versions, ip-accounting for Linux was the big
> reason a few years back and general popularity has kept it there.

    I prefer FreeBSD over Linux myself, but I find that there are cases
where Linux does make sense even in our environment.

    I *certainly* believe that there are a lot of factors that come into
play, such as how easy it is to get other administrators that would be
familiar with your OS of choice (I've been told that in South Africa, the
*BSD variants are just about non-existant, so even if FreeBSD was clearly
technically superior, it probably wouldn't be a very bright idea to select
it over Linux), how easy it is to get local support from your vendors,
etc....

> FreeBSD has had an advantage for higher end and high load servers for some
> time, however there is a definite feeling that Linux is catching up. The
> recent 2.2 kernels ( apart from the pesky file systems bug still to be
> found ) and the forth-coming (end of this year) 2.4 kernels are right up
> there. 

    We've been having some problems with Linux 2.2 on heavily loaded SMP
machines, and we haven't been able to keep the 2.3 kernels running for
more than just a few minutes.  I believe that FreeBSD is clearly superior
in this area, at least for now.

> FreeBSD is still a bit ahead but it doesn't seem to be improving as fast
> as Linux currently is. I think the gap will be pretty minimal in another 6
> months time. Either way it's so close that your should just use whatever
> fits best with the rest of your network.

    Well, FreeBSD is also a moving target, so while they work to improve
Linux, work is also being done on FreeBSD to improve it.


    Regardless, the choice of OSes really comes down to what do you want
the system to do, what software are you going to run, what kind of
administrative talent do you have, and what kind of OS and hardware fits
best into this overall picture?

    And the answer to these questions are likely to be different (more or
less) from site to site, from city to city, from state to state, from
province to province, from country to country, and from continent to
continent.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#39005
Author: route
Date: Sat, 07 Aug 1999 00:00
37 lines
2647 bytes
On 04 Aug 1999 18:39:00 +0200, kaih=7MCwXhxHw-B@khms.westfalen.de (Kai
Henningsen) wrote:

>rra@stanford.edu (Russ Allbery)  wrote on 03.08.99 in <yl672wcwjk.fsf@windlord.stanford.edu>:
>
>> Brad Knowles <brad@shub-internet.org> writes:
>>
>> > It's my understanding that Cyclone has some *very* heavy hardware
>> > requirements (relatively speaking), and that Solaris is one of the
>> > platforms it runs best on (maybe that's their development platform?).
>>
>> Cyclone uses threads.  Solaris does threading better than any other
>> operating system in existence right now (well, one can argue about NT,
>> which uses a different threading model that some people like better than
>> POSIX, but I don't have enough experience with it to really argue that).
>
>From what I've heard - which includes people having worked on Solaris  
>internals, such as Larry McVoy - I gather that Solaris threading isn't all  
>that great, compared to Linux threading. Well, it's probably more  
>polished, but for example I gather Linux switches threads quite a lot  
>faster.
>
>> Threading is the major reason (apart from Sun hardware) why one would want
>> to run Solaris rather than one of the free Unixes.
>
>In view of the above, that's interesting.
>
>Of course, it may be in the same class as "Linux networking is a lot worse  
>than BSD" - i.e., it once was true, some years ago. (These days, you'll  
>find work-arounds for BSD bugs in the Linux stack. Go figure.)
>
>Kai
Why would you even consider using Linux for anything that needs power?
The only free os I could fathom using for any heavy duty app would be
FreeBSD.

Re: NNTP - building the ultimate server
#39009
Author: Simon Lyall
Date: Sat, 07 Aug 1999 00:00
50 lines
3241 bytes
route@hitter.net wrote:
>Why would you even consider using Linux for anything that needs power?
>The only free os I could fathom using for any heavy duty app would be
>FreeBSD.

This is a troll right? . 

Each site is different, where I work is a Linux/Solaris shop with it
looking very likely that all new machines will be running intel based
Linux. The price/performance of off-the-shelf PCs is just too good these
days to really justify using Sun hardware as generic "unix boxes". 

For about US $500 you can get a Linux/FreeBSD box with 300MHz CPU, 256MB
RAM, 4 GB Boot drive and 100 Mb/s ethernet card. There are very few
applications these days for an ISP that would require more than that
amount of power in a single box (most services can be split across
several) . With news your only bottleneck is hard-drive speed for handling
a full-feed. 

At this point I could note that the current cost of a 20GB SCSI Hard drive
is about $500 more than a 20GB EIDE drive. For the difference in price you
can ( as the paragraph above shows ) buy a pretty good controller. I'm not
saying this sort of setup will work for everything but If I was building a
news system today for a medium customer base (say 200-1000 similtanious
readers and a full feed) I would most likely go for a dozen commodity PCs
rather than high end hardware.

This part of the world has traditionally been a user of Linux rather
than the various Free BSD versions, ip-accounting for Linux was the big
reason a few years back and general popularity has kept it there.

FreeBSD has had an advantage for higher end and high load servers for some
time, however there is a definite feeling that Linux is catching up. The
recent 2.2 kernels ( apart from the pesky file systems bug still to be
found ) and the forth-coming (end of this year) 2.4 kernels are right up
there. 

FreeBSD is still a bit ahead but it doesn't seem to be improving as fast
as Linux currently is. I think the gap will be pretty minimal in another 6
months time. Either way it's so close that your should just use whatever
fits best with the rest of your network.


-- 
Simon J. Lyall  |  Very Busy  |  Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention."  |  MT.

And tonight's winner gets to read the FAQ in the style of my choosing.

Re: NNTP - building the ultimate server
#39014
Author: meow
Date: Sat, 07 Aug 1999 00:00
9 lines
1158 bytes
route <route@hitter.net> wrote:

> Why would you even consider using Linux for anything that needs power?
> The only free os I could fathom using for any heavy duty app would be
> FreeBSD.

It seems to work just fine for deja.com...

Re: NNTP - building the ultimate server
#39026
Author: Brad Knowles
Date: Mon, 09 Aug 1999 00:00
44 lines
3380 bytes
In article <ylpv0z1av4.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

> Hm.  I don't agree at all, and the group I'm part of is currently managing
> roughly 483 Unix servers (about 48 servers per person), many of which are
> in groups of two or three doing the same thing or even running
> distinguished applications.  I think that qualifies as dozens and dozens.
> It's all in the tools you use and how much you automate things.  :)

    Well, the environment I was in was AOL, and the service literally had
thousands and thousands of machines, of which the Internet Mail Operations
group had over a couple hundred (and a team of about six people) before I
left.  We had lots of automation tools that we built ourselves, because
none of the standard off-the-shelf stuff we could find would do what we
needed on the scale we needed.

    Sure, anyone can build a "master" SCSI disk and then take it and run
it through a SCSI disk duplication device to come up with dozens of
literally block-for-block identical clone machines, from which you then
log on and change a few items like hostname, IP address, etc... but that
only addresses getting the machines up and running initially.  That was
the easy part.

> As an aside, the primary reason why I wouldn't want to move away from
> Solaris for servers has little to do with the technology behind the
> operating system itself and everything to do with Jumpstart.

    Jumpstart doesn't really begin to compare with doing SCSI disk
duplication, and Sun machines just don't work very well in that kind of an
extreme production environment.  There are all sorts of high availability
features that Sun can only dream of to this day which have been available
for some time from other vendors.

    Sun might work well enough in a smaller shop, but then so do the kinds
of systems that work so well at AOL.  If I'm going to choose a "smaller"
box that will be less expensive and work reasonably well in a smaller
shop, I'd generally prefer to go with FreeBSD than to stop somewhere in
the middle with Sun Solaris.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#39033
Author: Russ Allbery
Date: Mon, 09 Aug 1999 00:00
71 lines
4606 bytes
Brad Knowles <brad@shub-internet.org> writes:

> We had lots of automation tools that we built ourselves, because none of
> the standard off-the-shelf stuff we could find would do what we needed
> on the scale we needed.

Well, yeah.  I'd like to see the large-server environment that this isn't
true of.  (I'm the primary person who writes those tools here.)

> Sure, anyone can build a "master" SCSI disk and then take it and run it
> through a SCSI disk duplication device to come up with dozens of
> literally block-for-block identical clone machines, from which you then
> log on and change a few items like hostname, IP address, etc... but that
> only addresses getting the machines up and running initially.  That was
> the easy part.

Which is why you don't use SCSI disk duplication as your deployment model,
because it sucks for all the maintenance that you have to do down the
road.  For maintenance, you need some way of doing incremental change on
each machine from a master image, and once you've solved that problem, you
may as well use it to build the machine in the first place too since it's
nearly as fast as SCSI disk duplication and means you can use the same
method for everything.

> Russ Allbery <rra@stanford.edu> wrote:
>> As an aside, the primary reason why I wouldn't want to move away from
>> Solaris for servers has little to do with the technology behind the
>> operating system itself and everything to do with Jumpstart.

> Jumpstart doesn't really begin to compare with doing SCSI disk
> duplication,

Sorry Brad, but been there, done that, and Jumpstart is way better.  *Way*
better.  SCSI disk duplication simply doesn't scale well compared to a
well-done Jumpstart environment because every single machine has to be
identical, while Jumpstart can deal well with a rotating pool of upgrades.
We've tried to use disk duplication before and keeping the golden image in
sync with the deployed environment, then having to rebuild a machine to
match a deployed server which is older than a new change being tested on
an image... you can do it with golden images, but it's a ton more
headaches over just using Jumpstart, using the same method to build as you
use to deploy changes, and putting the templates in CVS so that you can
use branching and tags to handle upgrades.

> and Sun machines just don't work very well in that kind of an extreme
> production environment.

*shrug*  They work a hell of a lot better in our production environment
than PCs do.  AOL may be an edge case, but frankly I think it's more
likely that AOL did a bunch of development to support the platform they
chose to go with for other reasons.  We did the same thing.  If you put
enough of your own software on top of it, you can make anything work.

> There are all sorts of high availability features that Sun can only
> dream of to this day which have been available for some time from other
> vendors.

I'm generally unimpressed by high-availability hardware except for the
fail-over stuff.  I'm not interested in making sure an individual machine
doesn't fail; I'm interested in making sure that the *service* doesn't
fail.  As long as the service is still up, machines going down isn't a
major problem.  But I'm living in a different availability universe than
an ISP; a university has different requirements in that respect (different
emphasis, less absolute 24/7 requirement, a lot more variety and weird
notification procedures, and a *much* wider variety of types of services
in place at one time).

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

Re: NNTP - building the ultimate server
#39042
Author: Russ Allbery
Date: Tue, 10 Aug 1999 00:00
22 lines
1792 bytes
Comrade Yum Yum <toby.douglass@arm.com> writes:

> And if you've no threads at all, you're either running single threaded
> (not viable, surely) or you're forced to start a full, heavyweight
> process for each request - which, as I understand matters, was the one
> of the two reasons Linux running Apache was slower than NT; the need to
> run a new process for each request and the lack of multithreaded TCP/IP.

Linux running Apache testing out slower than NT had quite a bit to do with
the fact that Apache is optimized for a real web load, not an artificial
insane page load that saturates quad-Ethernet.  Apache's process hunt
group concept *probably* isn't inherently slower than threads.

Linux's threads aren't that bad, and they're getting better; the main
problem right now is SMP scaling and the disk and network subsystems, and
the 2.3.x sequence is supposed to fix those.  The clone() concept is
fundamentally sound.

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

Re: NNTP - building the ultimate server
#39043
Author: Curt Welch
Date: Tue, 10 Aug 1999 00:00
27 lines
2320 bytes
toby.douglass@arm.com (Comrade Yum Yum) wrote:
> I couldn't agree more.  I'm thinking about writing an NNTP server, and
> threading is an obviously sensible and useful programming method for
> servicing requests.  If you agree with that, and use threads, the better
> your threads are, the better your service will be.  And if you've no
> threads at all, you're either running single threaded (not viable,
> surely) or you're forced to start a full, heavyweight process for each
> request ....

Not true at all.  If you are on a single CPU machine, you are running a
single thread.  It's only an issue of which way is best for scheduling all
the work to do (threads, vs processes, vs select loops, etc).  Threads are
not the obvious best soulution at all.  They are just one soultion which
has it's advantages and disadvantages.

And there are lots of options for using multiple processes short of
starting a process of each connection.  (e.g. inn's overchan processes).

And unlike HTTP, NNTP connections are mostly long lived, so the time
required to start a new process is not nearly so important even if you do
decide to fork a new process for each connection.

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

Re: NNTP - building the ultimate server
#39051
Author: Russ Allbery
Date: Tue, 10 Aug 1999 00:00
98 lines
6028 bytes
Brad Knowles <brad@shub-internet.org> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> Which is why you don't use SCSI disk duplication as your deployment
>> model, because it sucks for all the maintenance that you have to do
>> down the road.

> Nah, using Tivoli you can relatively easily build scripts that start
> from a known base (the master SCSI disk image) and then install only the
> additional stuff that's necessary.

So you're not just using SCSI disk duplication.  Point made.  :)

> The disks (and later, disk arrays) we were using were pretty much always
> faster than the network we had hooked up to them, so it would always be
> faster to use SCSI disk duplication than to download the stuff across
> the 'net.

If it matters that building a machine takes a couple of hours instead of
fifteen minutes, there are more serious problems with your system,
frankly.  Building new systems shouldn't be a time-critical operation
provide it finishes reasonably fast, and network installs are reasonably
fast.  It's also quite nice to walk up to the console of a machine and
type "boot net - install" and have a fully installed system ready for
deployment in three hours.

> The one thing that something like Jumpstart would give you is a online
> "base" configuration that you could update and the next client to be
> installed would get the new information.  But you'd also have to find a
> way to update the same informationa across all the existing machines,
> and Jumpstart doesn't help you there.

Which I said.  Jumpstart isn't your complete deployment solution;
Jumpstart is a way of getting the operating system plus patches on the
system cleanly, efficiently, and quickly from the perspective of required
human intervention and then getting out of your way.

Updating a bunch of machines from a template area is a very easily solved
problem.  Most of the people I've talked to specifically about this are at
universities, and pretty much every major university has solved this
problem in one fashion or another, usually using some variation of
programs called "synctree" and "bundle."  cf the last LISA proceedings for
a presentation from UMich on this subject.

All I want in an operating system installer is something that will work
across the network and play nice with our existing deployment tools.
Jumpstart is that, and most of the other junk I've seen isn't.

> Well, consider that for both installing additional stuff on top of the
> SCSI disk images plus installing stuff on all the existing machines, we
> were using Tivoli, and it's got some pretty cool tools to making sure
> that a remote machine exactly matches a central config, as well as hooks
> to change things that need to be changed (e.g., hostname, IP address,
> whatever else you want to put in those scripts).

How much did it cost?  :)

> I wasn't comparing Suns against PCs in the AOL environment.  I was
> comparing Suns against DECompaq, HP, and SGI, all three of which work
> much better in high-end production environments than Sun does.

Hardware, maybe.  I wouldn't wish HP-UX on servers on my worst enemy, and
IRIX has the core of a nice server OS struggling to get out but it's
buried under thirty-eight tons of insecure, ugly crap that might be great
if you're into 3D modeling and audio visualization but which really sucks
when you're trying to keep people from breaking into your machines.

The Operating System Formerly Known as Digital UNIX I have somewhat more
respect for, but I'd be worried about Compaq's level of committment to
that product line, given that it doesn't precisely jive with their ongoing
love affair with the boys in Redmond.

Solaris is a very solid Unix operating system with vendor committment
behind it and strong support for the kind of functionality that's now
basically required in servers (strong threading, very good SMP support, a
fully functional and working mmap(), etc.).  The main problem with Solaris
right now is that it's still got a really bad default file system.

Long term, I personally expect Linux with ext3 or xfs to be the way to go,
but someone's going to need to start making PC hardware with servers in
mind (hot-pluggable keyboards, serial consoles, etc.).  Hopefully places
like VA Linux will go that direction; a lot of progress has been made
recently.

> There's no way I could have built the world's largest nameserver farm
> (capable of handling >= 16,000 queries per second) on anything other
> than a set of DEC Alpha servers with four processors and 4GB of RAM
> each, then set up in high-availability active-active faileover mode
> (with what was then called DECsafe ASE) so that the IP addresses
> advertised for the services would be taken over by the machine's mate.

This kind of stuff is definitely cool if you live in that sort of uptime
environment.

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

Re: NNTP - building the ultimate server
#39052
Author: superdave222
Date: Tue, 10 Aug 1999 00:00
52 lines
3778 bytes
I agree with everything you have written.   I am in an environment
that has 200+ servers in a high availability atmosphere (guarenteed
99.99% uptime).   I can not tolerate middle of the road.


One comment on your last statement about FreeBSD...   AOL wasn't using
FreeBSD were they?  I was told they were using SGI for servers...

On Mon, 09 Aug 1999 12:01:09 +0200, brad@shub-internet.org (Brad
Knowles) wrote:

>In article <ylpv0z1av4.fsf@windlord.stanford.edu>, Russ Allbery
><rra@stanford.edu> wrote:
>
>> Hm.  I don't agree at all, and the group I'm part of is currently managing
>> roughly 483 Unix servers (about 48 servers per person), many of which are
>> in groups of two or three doing the same thing or even running
>> distinguished applications.  I think that qualifies as dozens and dozens.
>> It's all in the tools you use and how much you automate things.  :)
>
>    Well, the environment I was in was AOL, and the service literally had
>thousands and thousands of machines, of which the Internet Mail Operations
>group had over a couple hundred (and a team of about six people) before I
>left.  We had lots of automation tools that we built ourselves, because
>none of the standard off-the-shelf stuff we could find would do what we
>needed on the scale we needed.
>
>    Sure, anyone can build a "master" SCSI disk and then take it and run
>it through a SCSI disk duplication device to come up with dozens of
>literally block-for-block identical clone machines, from which you then
>log on and change a few items like hostname, IP address, etc... but that
>only addresses getting the machines up and running initially.  That was
>the easy part.
>
>> As an aside, the primary reason why I wouldn't want to move away from
>> Solaris for servers has little to do with the technology behind the
>> operating system itself and everything to do with Jumpstart.
>
>    Jumpstart doesn't really begin to compare with doing SCSI disk
>duplication, and Sun machines just don't work very well in that kind of an
>extreme production environment.  There are all sorts of high availability
>features that Sun can only dream of to this day which have been available
>for some time from other vendors.
>
>    Sun might work well enough in a smaller shop, but then so do the kinds
>of systems that work so well at AOL.  If I'm going to choose a "smaller"
>box that will be less expensive and work reasonably well in a smaller
>shop, I'd generally prefer to go with FreeBSD than to stop somewhere in
>the middle with Sun Solaris.


Re: NNTP - building the ultimate server
#39055
Author: Russ Allbery
Date: Tue, 10 Aug 1999 00:00
24 lines
1974 bytes
Mike Horwath <drechsau+usenet@yuck.net> writes:
> Brad Knowles <brad@shub-internet.org> wrote:

>> Sun might work well enough in a smaller shop, but then so do the kinds
>> of systems that work so well at AOL.  If I'm going to choose a
>> "smaller" box that will be less expensive and work reasonably well in a
>> smaller shop, I'd generally prefer to go with FreeBSD than to stop
>> somewhere in the middle with Sun Solaris.

> Why not Solaris on Intel?

> It is as rock solid as the sparc revision (if using quality hardware)
> and its SMP implementation puts everyone else to shame on Intel.

Hm, I'm not sure that's true any more.  Have you compared it against Linux
2.2?  I've never been very impressed with Solaris x86; it's always felt
slower than Linux or *BSD on the same hardware and not had as good of
hardware support, not to mention sitting in a weird support situation
within Sun.

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

Re: NNTP - building the ultimate server
#39056
Author: Avi Freedman
Date: Tue, 10 Aug 1999 00:00
20 lines
1596 bytes
Comrade Yum Yum (toby.douglass@arm.com) wrote:

: I couldn't agree more.  I'm thinking about writing an NNTP server, and 
: threading is an obviously sensible and useful programming method for 
: servicing requests.  If you agree with that, and use threads, the better 
: your threads are, the better your service will be.  And if you've no 
: threads at all, you're either running single threaded (not viable, 
: surely) or you're forced to start a full, heavyweight process for each 
: request - which, as I understand matters, was the one of the two reasons 
: Linux running Apache was slower than NT; the need to run a new process 
: for each request and the lack of multithreaded TCP/IP.
: 
: Comrade Yum Yum...

Or just sit in a select() loop, servicing tens or hundreds per process.

Avi


Re: NNTP - building the ultimate server
#39057
Author: Comrade Yum Yum
Date: Tue, 10 Aug 1999 00:00
36 lines
2426 bytes
Russ Allbery wrote:
> Brad Knowles <brad@shub-internet.org> writes:

> > It's my understanding that Cyclone has some *very* heavy hardware
> > requirements (relatively speaking), and that Solaris is one of the
> > platforms it runs best on (maybe that's their development platform?).

> Cyclone uses threads.  Solaris does threading better than any other
> operating system in existence right now (well, one can argue about NT,
> which uses a different threading model that some people like better than
> POSIX, but I don't have enough experience with it to really argue that).

> Threading is the major reason (apart from Sun hardware) why one would want
> to run Solaris rather than one of the free Unixes.

I couldn't agree more.  I'm thinking about writing an NNTP server, and 
threading is an obviously sensible and useful programming method for 
servicing requests.  If you agree with that, and use threads, the better 
your threads are, the better your service will be.  And if you've no 
threads at all, you're either running single threaded (not viable, 
surely) or you're forced to start a full, heavyweight process for each 
request - which, as I understand matters, was the one of the two reasons 
Linux running Apache was slower than NT; the need to run a new process 
for each request and the lack of multithreaded TCP/IP.

Comrade Yum Yum...

----mailto:toby.douglass@arm.com
"you're such a sensitive boy that sometimes i just wanna slap you really 
hard."
	-- Aimee Lortskell
----http://www.serve.com/douglass/index.shtml



Re: NNTP - building the ultimate server
#39058
Author: Brad Knowles
Date: Tue, 10 Aug 1999 00:00
33 lines
2757 bytes
In article <37b3ab52.2881363@207.192.64.14>, superdave222@yahoo.com wrote:

> One comment on your last statement about FreeBSD...   AOL wasn't using
> FreeBSD were they?  I was told they were using SGI for servers...

    No, last I heard they have a corporate policy that prohibits the use
of freely-available OSes, including FreeBSD and especially Linux.

    In fact, they have a real problem with any kind of freely available
software, and they spend a lot of money "buying" support for various
things, so that they can have someone to sue if the code breaks down,
etc....


    No, all their servers were HP (the main garden-variety machine), SGI
(the primary database server), and DEC (most of the web and
Internet-related parts, as well as anything that needed high-availability
short of Tandem, or anything that needed extreme CPU horsepower).  Of
course, for the proprietary back-end part of the system, they used to have
a lot of Stratus mainframes and by this time should have pretty much
completely eliminated them in favour of Tandem.

    I think there used to be a single IBM AIX machine in the building
(running a gopher server?), and I believe that there are now a few Suns
floating around for the clueless third-party developers that are either
unwilling to port their code to more reliable machines, or are just plain
incompetent and incapable of porting their code.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#39060
Author: Brad Knowles
Date: Tue, 10 Aug 1999 00:00
104 lines
6542 bytes
In article <ylk8r4vcji.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

> Which is why you don't use SCSI disk duplication as your deployment model,
> because it sucks for all the maintenance that you have to do down the
> road.

    Nah, using Tivoli you can relatively easily build scripts that start
from a known base (the master SCSI disk image) and then install only the
additional stuff that's necessary.  The disks (and later, disk arrays) we
were using were pretty much always faster than the network we had hooked
up to them, so it would always be faster to use SCSI disk duplication than
to download the stuff across the 'net.

    Even if that weren't the case, disk writes usually suck rocks unless
you're using softupdates or an async mounted filesystem, so even if the
raw disk rates were not faster than the network, once you include write
speed as a factor, it usually does not pay to try to install machines
across the network.

    At least, in my experience.


    The one thing that something like Jumpstart would give you is a online
"base" configuration that you could update and the next client to be
installed would get the new information.  But you'd also have to find a
way to update the same informationa across all the existing machines, and
Jumpstart doesn't help you there.

> Sorry Brad, but been there, done that, and Jumpstart is way better.  *Way*
> better.  SCSI disk duplication simply doesn't scale well compared to a
> well-done Jumpstart environment because every single machine has to be
> identical, while Jumpstart can deal well with a rotating pool of upgrades.

    Well, consider that for both installing additional stuff on top of the
SCSI disk images plus installing stuff on all the existing machines, we
were using Tivoli, and it's got some pretty cool tools to making sure that
a remote machine exactly matches a central config, as well as hooks to
change things that need to be changed (e.g., hostname, IP address,
whatever else you want to put in those scripts).

    SCSI disk duplication plus Tivoli solves all the problems, whereas
Jumpstart only solves the problem of installing new machines.  

> *shrug*  They work a hell of a lot better in our production environment
> than PCs do.

    I wasn't comparing Suns against PCs in the AOL environment.  I was
comparing Suns against DECompaq, HP, and SGI, all three of which work much
better in high-end production environments than Sun does.  Only now are
Sun's HA capabilities beginning to approach what both HP and SGI have had
for years, and HP and SGI don't *begin* to compare to where DEC was years
ago, much less the sorts of enhancements that DECompaq is coming out with
now to allow cluster-wide filesystems, etc....

    There's no way I could have built the world's largest nameserver farm
(capable of handling >= 16,000 queries per second) on anything other than
a set of DEC Alpha servers with four processors and 4GB of RAM each, then
set up in high-availability active-active faileover mode (with what was
then called DECsafe ASE) so that the IP addresses advertised for the
services would be taken over by the machine's mate.

    Only with their latest releases have HP and now Sun gotten their
network library into any kind of a state where it provides enough
performance to handle this kind of a load, but a critical part of the
overall picture is the OS kernel itself and the HA capabilities, and this
is where HP, SGI, and especially Sun continue to fail to meet the very
high standard set by DECompaq to this day.


    No, I was comparing Suns against PCs in the lower-end environment we
have here at my current employer, where reliable PCs from known vendors
are *much* less expensive than Suns, give *much* better price/performance,
and on which I can choose to use OSes that I believe give us much better
performance for most functions than I could get with Solaris.

    The only case where Suns are useful to us on this scale is where we
need individual machines that are more powerful than we can get with PCs
(i.e., we need more RAM, more CPUs, or more I/O capacity than we can get
with PCs from our selected PC vendor), or where we're running software
that is not available on the OSes that we would choose to run on PCs.


    When you've got vendors like DECompaq on the high-end for the "real"
production machines, and very high price/performance PC servers from
reliable vendors on the low end, Sun really gets seriously squeezed out of
the picture in the middle.

> I'm generally unimpressed by high-availability hardware except for the
> fail-over stuff.  I'm not interested in making sure an individual machine
> doesn't fail; I'm interested in making sure that the *service* doesn't
> fail.

    Me too, which is why I generally choose to try to design the system so
that I have multiple machines provide the services, and if any one machine
goes down the service as a whole continues to function, and no special
software or hardware is required.  But there are times when you have to
build things rather more reliably than that....

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#39068
Author: Russ Allbery
Date: Tue, 10 Aug 1999 00:00
12 lines
1211 bytes
route <route@hitter.net> writes:

> When will these Linux trolls realize they have a dogshit OS that is
> fundamentally built on a foundation of sand and broken promises.

I think you're looking for *.advocacy.  This is a technical newsgroup, and
the above is not a technical argument.

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

Re: NNTP - building the ultimate server
#39065
Author: Etienne
Date: Wed, 11 Aug 1999 00:00
33 lines
2447 bytes
Hi all

Curt Welch a �crit :

> toby.douglass@arm.com (Comrade Yum Yum) wrote:
> > I couldn't agree more.  I'm thinking about writing an NNTP server, and
> > threading is an obviously sensible and useful programming method for
> > servicing requests.  If you agree with that, and use threads, the better
> > your threads are, the better your service will be.  And if you've no
> > threads at all, you're either running single threaded (not viable,
> > surely) or you're forced to start a full, heavyweight process for each
> > request ....
>
> Not true at all.  If you are on a single CPU machine, you are running a
> single thread.  It's only an issue of which way is best for scheduling all
> the work to do (threads, vs processes, vs select loops, etc).  Threads are
> not the obvious best soulution at all.  They are just one soultion which
> has it's advantages and disadvantages.

  This is wrong. Once the new thread or the new process is created, then
switching from one context to another is basically the same.
  But fork is quite a very heavy work, particularly when it is repeated for a
high number of connection each second. And this is the same, with one or more
processors ...
  So the point is not to know how many processors you have, but how long is the
process of creating a new thread or a new process.

Etienne



Re: NNTP - building the ultimate server
#39076
Author: superdave222
Date: Wed, 11 Aug 1999 00:00
55 lines
3267 bytes
IN the real world I test these OS's daily.   First and foremost I
detest NT for 99.99% of everything.  I detest linux for most of the
same character flaws.   But let me say that NT beats Linux hands down
for web serving....    FreeBSD kicks the both of their asses.





On 11 Aug 1999 03:20:52 GMT, dsf@frontiernet.net (Dan Foster) wrote:

>In article <ylpv0vauai.fsf@windlord.stanford.edu>,
>Russ Allbery  <rra@stanford.edu> wrote:
>>Comrade Yum Yum <toby.douglass@arm.com> writes:
>>
>>> And if you've no threads at all, you're either running single threaded
>>> (not viable, surely) or you're forced to start a full, heavyweight
>>> process for each request - which, as I understand matters, was the one
>>> of the two reasons Linux running Apache was slower than NT; the need to
>>> run a new process for each request and the lack of multithreaded TCP/IP.
>>
>>Linux running Apache testing out slower than NT had quite a bit to do with
>>the fact that Apache is optimized for a real web load, not an artificial
>>insane page load that saturates quad-Ethernet.  Apache's process hunt
>>group concept *probably* isn't inherently slower than threads.
>
>*delurks*
>
>For a better UNIX vs NT comparison of web performance, to better appromixate
>the BS nature of benchmarks (which is inherently a marketing tool designed
>to do nothing but sell machines) is to run the IBM web server suite which
>allowed them to claim the "most web ops/sec" title with high end hardware.
>A closer look revealed the *very* skimpy nature of web server in question -
>no functionality at all, just load page'n'go.
>
>>Linux's threads aren't that bad, and they're getting better; the main
>>problem right now is SMP scaling and the disk and network subsystems, and
>
>That's for sure...locks not sufficiently granular in some cases, and
>some cases, too granular. But I'm sure a better approach will eventually
>be arrived at for the SMP case.
>
>But this is getting so far off topic that I better run before the regulars
>shoot me :-)
>
>*lurks*
>
>Obn.s.n: INN 2.3-current is coming along *very* nicely :) I haven't caught up
>on all of the very latest changes since I missed 3 weeks of it without
>knowing it :( Oh well, more reading for me :-)
>
>-Dan


Re: NNTP - building the ultimate server
#39077
Author: Brad Knowles
Date: Wed, 11 Aug 1999 00:00
18 lines
1877 bytes
In article <Ga5s3.2600$Qn4.269481@ptah.visi.com>, drechsau+usenet@yuck.net
(Mike Horwath) wrote:

> Why not Solaris on Intel?

    I've tried Solaris on Intel before, and I've never been impressed by
it.  It's always seemed an also-ran when compared against other solutions
available for Intel, and Sun has never seemed serious about it.

    If I'm going to run Solaris, I'll run it on the "native" hardware
(i.e., SPARC).  If I'm going to run Intel-type mahcines, I'll run OSes
that I believe fit my needs better.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#39084
Author: superdave222
Date: Wed, 11 Aug 1999 00:00
25 lines
2055 bytes
It sounds like a statement based on fact though.   I feel most OSes
are built on broken promises.  Linux just follows a long path of other
OSes and vapor-promises.  

The second point, the foundation of sand comment.   Currently an OS is
only as good as its netowrking stack and IO.   Linux has a substandard
TCP/ip stack and getting a normal box to cleanly push 1500 processes
wil little CPU and Memory utilization is impossible.  The file system
is crippled, I use 3 GB CNFS slices on my news box....  Can I do this
on Linux???   



On 10 Aug 1999 22:31:13 -0700, Russ Allbery <rra@stanford.edu> wrote:

>route <route@hitter.net> writes:
>
>> When will these Linux trolls realize they have a dogshit OS that is
>> fundamentally built on a foundation of sand and broken promises.
>
>I think you're looking for *.advocacy.  This is a technical newsgroup, and
>the above is not a technical argument.


Re: NNTP - building the ultimate server
#39086
Author: Russ Allbery
Date: Wed, 11 Aug 1999 00:00
27 lines
2152 bytes
Brad Knowles <brad@shub-internet.org> writes:

> When you have literally hundreds upon hundreds of systems that might be
> installed in just a week [0], a few hours per machine versus fifteen
> minutes starts to make a *big* difference.

Er... why?  I mean, you can build them in parallel when you're building
off the network....

>> It's also quite nice to walk up to the console of a machine and type
>> "boot net - install" and have a fully installed system ready for
>> deployment in three hours.

> Heck, I've done better than that installing FreeBSD via anonymous ftp --
> to Germany (from Belgium), no less!

You installed FreeBSD by some method simpler than going to the terminal
server hooked to the machine, connecting to the right machine, sending
break, typing "boot net - install", and pressing Enter?  This I've got to
see.  I would have thought you'd at least have to insert a floppy disk.

Sun OpenBoot PROM is very nice.

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

Re: NNTP - building the ultimate server
#39090
Author: Dan Foster
Date: Wed, 11 Aug 1999 00:00
43 lines
2770 bytes
In article <ylpv0vauai.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Comrade Yum Yum <toby.douglass@arm.com> writes:
>
>> And if you've no threads at all, you're either running single threaded
>> (not viable, surely) or you're forced to start a full, heavyweight
>> process for each request - which, as I understand matters, was the one
>> of the two reasons Linux running Apache was slower than NT; the need to
>> run a new process for each request and the lack of multithreaded TCP/IP.
>
>Linux running Apache testing out slower than NT had quite a bit to do with
>the fact that Apache is optimized for a real web load, not an artificial
>insane page load that saturates quad-Ethernet.  Apache's process hunt
>group concept *probably* isn't inherently slower than threads.

*delurks*

For a better UNIX vs NT comparison of web performance, to better appromixate
the BS nature of benchmarks (which is inherently a marketing tool designed
to do nothing but sell machines) is to run the IBM web server suite which
allowed them to claim the "most web ops/sec" title with high end hardware.
A closer look revealed the *very* skimpy nature of web server in question -
no functionality at all, just load page'n'go.

>Linux's threads aren't that bad, and they're getting better; the main
>problem right now is SMP scaling and the disk and network subsystems, and

That's for sure...locks not sufficiently granular in some cases, and
some cases, too granular. But I'm sure a better approach will eventually
be arrived at for the SMP case.

But this is getting so far off topic that I better run before the regulars
shoot me :-)

*lurks*

Obn.s.n: INN 2.3-current is coming along *very* nicely :) I haven't caught up
on all of the very latest changes since I missed 3 weeks of it without
knowing it :( Oh well, more reading for me :-)

-Dan

Re: NNTP - building the ultimate server
#39098
Author: Brad Knowles
Date: Wed, 11 Aug 1999 00:00
124 lines
7131 bytes
In article <ylk8r3atlf.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

> If it matters that building a machine takes a couple of hours instead of
> fifteen minutes, there are more serious problems with your system,
> frankly.

    Well, we weren't actually building the systems.  That was done by
another group, and then once the hardware was built and plugged into the
right networks, they were handed over to us.

    When you have literally hundreds upon hundreds of systems that might
be installed in just a week [0], a few hours per machine versus fifteen
minutes starts to make a *big* difference.

>        It's also quite nice to walk up to the console of a machine and
> type "boot net - install" and have a fully installed system ready for
> deployment in three hours.

    Heck, I've done better than that installing FreeBSD via anonymous ftp
-- to Germany (from Belgium), no less!

> Updating a bunch of machines from a template area is a very easily solved
> problem.  Most of the people I've talked to specifically about this are at
> universities, and pretty much every major university has solved this
> problem in one fashion or another, usually using some variation of
> programs called "synctree" and "bundle."  cf the last LISA proceedings for
> a presentation from UMich on this subject.

    At the time I was working on this stuff, we kept up-to-date on all the
University solutions that were available at the time, and nothing worked
as well or scaled as well as Tivoli.  However, maybe things have changed
since then.

> How much did it cost?  :)

    Dunno.  I didn't pay the bill for it.  ;-)


    What amazed me is that they paid mega-bucks for Tivoli and HP
OpenView, and then they didn't complete the triad by buying a
commercial-grade trouble-ticketing system that already had hooks in place
for both Tivoli and HP OpenView.  They instead decided to build their own
with Lotus Notes, and to the best of my knowledge they spent *way* more
money in terms of human time required to use the system and increased time
to process tickets than they *ever* would if they had bought Remedy
instead.

    I'll never understand that kind of stupidity....

> Hardware, maybe.  I wouldn't wish HP-UX on servers on my worst enemy, and
> IRIX has the core of a nice server OS struggling to get out but it's
> buried under thirty-eight tons of insecure, ugly crap that might be great
> if you're into 3D modeling and audio visualization but which really sucks
> when you're trying to keep people from breaking into your machines.

    The G, H, I, E, and K-class servers that we used were the very model
of rock-solid business-grade production systems that I would want to use
if I was once more put into that kind of a position in the future.

    I grudgingly came to this conclusion over a long period of time -- at
my heart, I am still a Bezerkeley fanatic, but these HP systems really
impressed me with their ability to have the holy crap beat out of them
day-in and day-out and yet still continue to function (albeit perhaps more
slowly than some of their competition).

    However, when it comes to HA or situations that require high CPU or
network I/O, HP ain't the way to go.


    I didn't have much interaction with SGI, although I was pleasantly
surprised by the capabilities I found within XFS.  I hope that these
capabilities will be more fully integrated into the filesystems that will
be available with Linux and FreeBSD in the future.

> Solaris is a very solid Unix operating system with vendor committment
> behind it and strong support for the kind of functionality that's now
> basically required in servers (strong threading, very good SMP support, a
> fully functional and working mmap(), etc.).  The main problem with Solaris
> right now is that it's still got a really bad default file system.

    The filesystem I can fix by using third-party solutions.  The problem
is that the rest of it just kind of leaves me "bleah", while other
alternatives I find much more interesting.


    It's not that there's anything in particular that I find to be "wrong"
or "bad" with Sun Solaris (other than HA), just like there's nothing I
find to be particularly wrong with Linux.  It's just that for both Solaris
(commercial) and Linux (freely available), there are other alternatives
available in those categories that I believe will generally serve my needs
better in most cases.

    Granted, there are times when Solaris and Linux are the best solution,
even in my mind.  If you want to run Sybase (perhaps for some application
that requires it or runs best with it), then Solaris is definitely the way
to go.  If you need support for a specific piece of hardware, then Solaris
or Linux may very well be your only choices (at least, for the moment).

    But otherwise, I will generally prefer other solutions.

> Long term, I personally expect Linux with ext3 or xfs to be the way to go,
> but someone's going to need to start making PC hardware with servers in
> mind (hot-pluggable keyboards, serial consoles, etc.).  Hopefully places
> like VA Linux will go that direction; a lot of progress has been made
> recently.

    I'd be willing to place my bets on FreeBSD against Linux, but that's
just a personal preference.  ;-)




[0]  Think taking a large computer room from empty to half-full in just
one month, and having a half-dozen computer rooms that haven't even
completed construction, yet have already been completely spoken for and
effectively "filled" to capacity (at least, as far as planning is
concerned).

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#39102
Author: meow
Date: Wed, 11 Aug 1999 00:00
17 lines
1648 bytes
Mike Horwath wrote:

> The way many 'news browsers' do things, forking sucks.

> I can't believe how many connections per second I see on our news
> reader box where they connect, grab an article, disconnect, all rapid
> fire.

Having just fixed this behavior in some middleware, I can sympathize
with browser writers who take that approach initially.  It's a minor
pain in the butt to have to recycle NNTP connections and replace
dead/timed-out ones on demand when your context is constantly
shifting.  On the other hand, the problem didn't take very long to
solve, so I can't really sympathize with version 2 or higher of a
browser doing it that way.

Re: NNTP - building the ultimate server
#39103
Author: Brian Edmonds
Date: Wed, 11 Aug 1999 00:00
26 lines
2973 bytes
Mike Horwath <drechsau+usenet@yuck.net> writes:
> Why not Solaris on Intel?  It is as rock solid as the sparc revision
> (if using quality hardware) and its SMP implementation puts everyone
> else to shame on Intel.

I benchmarked INN 2.x (with CNFS) on Solaris 2.6 vs. Linux 2.0 on a P166
a year ago last spring when installing a new server.  Using a little
piece of spamware for testing I could pump close to 250 articles per
second into the machine when it was running Solaris, and over 300
running Linux.

I went with Solaris for the comfort of my fellow admins since we're a
primarily Solaris department (though we're getting more and more Linux), 
but given my personal experiences with SMP Linux I have no reason to
doubt it would lose its edge there either.  And things are even faster
under 2.2, and who knows what 2.4 will be like, due out by 2000.

I see no reason why my next transit box will not be either Linux or
FreeBSD, and little reason for it to be Solaris.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: NNTP - building the ultimate server
#39105
Author: route
Date: Wed, 11 Aug 1999 00:00
33 lines
2527 bytes
When will these Linux trolls realize they have a dogshit OS that is
fundamentally built on a foundation of sand and broken promises.  Your
TCP stack blows, File System is crippled by many limiting factors, and
you now have so many 'releases' that life is becoming more of
nightmare, when it should be getting easier.   Here is an OS that
wants to fight Microsoft but is rapidly becoming worse than a
Microsoft monopoly.




On 10 Aug 1999 20:08:21 -0700, Russ Allbery <rra@stanford.edu> wrote:

>Comrade Yum Yum <toby.douglass@arm.com> writes:
>
>> And if you've no threads at all, you're either running single threaded
>> (not viable, surely) or you're forced to start a full, heavyweight
>> process for each request - which, as I understand matters, was the one
>> of the two reasons Linux running Apache was slower than NT; the need to
>> run a new process for each request and the lack of multithreaded TCP/IP.
>
>Linux running Apache testing out slower than NT had quite a bit to do with
>the fact that Apache is optimized for a real web load, not an artificial
>insane page load that saturates quad-Ethernet.  Apache's process hunt
>group concept *probably* isn't inherently slower than threads.
>
>Linux's threads aren't that bad, and they're getting better; the main
>problem right now is SMP scaling and the disk and network subsystems, and
>the 2.3.x sequence is supposed to fix those.  The clone() concept is
>fundamentally sound.


Re: NNTP - building the ultimate server
#39110
Author: Miquel van Smoorenburg
Date: Thu, 12 Aug 1999 00:00
17 lines
1552 bytes
In article <37b507bd.20042609@207.192.64.14>,  <route@hitter.net> wrote:
>When will these Linux trolls realize they have a dogshit OS that is
>fundamentally built on a foundation of sand and broken promises.  Your
>TCP stack blows, File System is crippled by many limiting factors, and
>you now have so many 'releases' that life is becoming more of
>nightmare, when it should be getting easier.   Here is an OS that
>wants to fight Microsoft but is rapidly becoming worse than a
>Microsoft monopoly.

Can't you simply go post on slashdot or something. Sheesh.

Mike.
-- 
... somehow I have a feeling the hurting hasn't even begun yet
	-- Bill, "The Terrible Thunderlizards"

Re: NNTP - building the ultimate server
#39112
Author: Brad Knowles
Date: Thu, 12 Aug 1999 00:00
27 lines
2626 bytes
In article <yl3dxq7z7p.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

> Er... why?  I mean, you can build them in parallel when you're building
> off the network....

    No network ever built could take having hundreds of machines like that
all installing themselves simultaneously.  If you tried that, the install
procedure would end up slowing to a crawl on all of them, with the end
result being that things that should just take a couple of hours instead
taking perhaps days.

> You installed FreeBSD by some method simpler than going to the terminal
> server hooked to the machine, connecting to the right machine, sending
> break, typing "boot net - install", and pressing Enter?  This I've got to
> see.  I would have thought you'd at least have to insert a floppy disk.

    Easier, no.  I did actually have to boot with a floppy disk, and I was
actually required to swap floppy disks.  But I certainly installed much
faster than that with FreeBSD, even when going across shared terrestrial
WAN lines through busy NAPs and across international boundaries.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: NNTP - building the ultimate server
#39115
Author: Richard Michael Todd
Date: Thu, 12 Aug 1999 00:00
24 lines
2765 bytes
brad@shub-internet.org (Brad Knowles) writes:

>     Really?  I was under the impression that the new xover3 code (or
> whatever it's called) that Clayton contributed had fully replaced all of
> the previous overview code in INN 2.3, and that it was totally dependant
> on mmap() in order to function.  Therefore, if mmap() doesn't work on a
> particular platform, then xover3 won't work, and as a result, INN 2.3 as a
> whole won't work.

This is true.  However, the question of how badly mmap() is actually broken on
FreeBSD is another matter.  Marc Fournier has seen lots of lockups on his 
machine, but I did the work to import the ov3 code into INN on a FreeBSD
3.1-stable box, and have seen a grand total of one lockup/panic in the past
2 months that is attributable to the VM code.  Now granted, he's trying to
run a full feed and I'm not, but then he's also not running on whatever 
random hardware he can scrounge and I am.  The main FreeBSD VM expert, 
Matt(?) Dillon, posted a description of the crashes Marc Fournier was seeing,
based on analysis of the crash dumps that he provided, and pointed the
finger at, IIRC, increasing fragmentation of the 'VM pgdata' structures in
the kernel leading to them eating up all the free kernel memory.  But my 
vmstat -m figures don't show any particularly large or increasing 'VM pgdata'
usage on my server.  

Re: NNTP - building the ultimate server
#39117
Author: Russ Allbery
Date: Thu, 12 Aug 1999 00:00
21 lines
1813 bytes
Brad Knowles <brad@shub-internet.org> writes:

> INN 2.3 will require mmap(), the implementation of which is still
> woefully incomplete under Linux.

Tried 2.2?  I know several people who are running 2.3 on Linux right now
with no trouble.

> Heck, last I heard (a couple of weeks ago), even FreeBSD couldn't run
> the current 2.3-experimental code, leaving the *only* OS that it will
> run under being Solaris.

Not even close.  I've gotten postive confirmations of success on AIX as
well as Linux.  FreeBSD appears to be one of the few systems that's having
trouble (apart from systems like HP-UX that have well-known deficient
mmap() implementations).

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

Re: NNTP - building the ultimate server
#39118
Author: Miquel van Smoorenburg
Date: Thu, 12 Aug 1999 00:00
25 lines
1851 bytes
In article <brad-1208991220080001@brad.techos.skynet.be>,
Brad Knowles <brad@shub-internet.org> wrote:
>    INN 2.3 will require mmap(), the implementation of which is still
>woefully incomplete under Linux.  Heck, last I heard (a couple of weeks
>ago), even FreeBSD couldn't run the current 2.3-experimental code, leaving
>the *only* OS that it will run under being Solaris.

% uname -a
Linux voyager 2.0.37 #1 Thu Feb 11 10:59:56 CET 1999 i686 unknown
% uptime
  9:59pm  up 81 days, 10:28,  2 users,  load average: 1.21, 1.50, 1.47

It runs inn-2.3 CVS version, and I'm happy with it. However this
is an experimental server with not enough disk, memory and CPU
so we keep it lightly loaded - 30-50 simultaneous readers max.

But it works even with a 2.0.x kernel. Haven't run a 2.2 kernel
on it yet - waiting for a stable 2.2.x (2.2.12 hopefully ...)

Mike.
-- 
... somehow I have a feeling the hurting hasn't even begun yet
	-- Bill, "The Terrible Thunderlizards"

Re: NNTP - building the ultimate server
#39120
Author: Brad Knowles
Date: Thu, 12 Aug 1999 00:00
53 lines
3581 bytes
In article <CTns3.2835$Qn4.302374@ptah.visi.com>, drechsau+usenet@yuck.net
(Mike Horwath) wrote:

> CPU load was normally under .3, collision rate was normally around 10%
> except when it went above 8Mbps - then it would climb and we would be
> wasting time.

    Our new news peering server is doing a pretty decent job of holding
it's own against other sites in the Top 50 - 80 range, and we're feeding
more articles than we're receiving to virtually everyone else that is
rated worse than that.

    Using my new ratio-enhanced feeder-stats.pl script, we're doing about
four to five times as many articles out (~3,150,000) as we're receiving
(625,000-800,000), and 158% to 188% news volume output (9-10.5GB) compared
to input (4.75-6.6GB).

    In the 3 days, 58 mins since the machine was last rebooted, we've had
197,793,490 packets in and 170,784,771 packets out, with just one error
and no collisions.  On this dual Pentium III 450Mhz CPU machine with 1MB
L2 cache per CPU and 1GB ECC RAM, load averages usually hang around 1.5
(although there are occasional peaks to 3.0), with 75-90% idle time.

    I think we've got a fair amount of room left to grow.  ;-)


    Granted, we're only doing 1.3-1.6Mbps, but I contend that most of the
work comes from handling large numbers of articles, and not the volumes.

    I suspect this machine could now quite easily handle a full 50GB/day
(~4.7Mbps sustained) newsfeed, we'd just have to be willing to pay that
much money to transit this kind of volume over terrestrial WAN lines.

    Since the cost for a single E-1 (2Mbps) would be enough to pay for 150
Mercedes/Swatch/MCC "Smart" cars, this is asking a lot.  ;-)

> Solaris SMP is just so nice that the CPU idle time was quite high.

    I'm pretty happy with FreeBSD's SMP, although I grant that Solaris SMP
with threaded programs would probably be quite a bit better.  Of course,
that would really only pay off if you're using programs that make heavy
usage of threading, which isn't true for most programs today.

    And as I've said before, if I'm going to pay that kind of money to run
Solaris, I might as well run it on real SPARC hardware.

-- 
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.

Page 1 of 2 • 86 total messages
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