🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41251

Re: News Setup

#41251
From: Joe Greco
Date: Wed, 03 Nov 1999 00:00
90 lines
5931 bytes
In news.software.nntp article <38202DD7.81B4A0D3@xs4all.nl>, mlaros@xs4all.nl wrote:
:Yep.
:Performance sucks now though. I think dreaderd isnt good at handling about
:1500 ppl reading new at an average of 2,5 kb/sec. We started out with 1 news
:server running innd. When we got more users we transferred the readers to
:seperate machines, running diablo-readerd.
:The load avarage of the reader machines get over 20 regularly. Adding more
:reader machines doesnt really work. Do you recommend diablo is better for
:transit? If so, what reader software do you recommend?

I use Diablo for reader, spool, and transit.

My open server is constantly smashed up to the configured 1200 user limit.

last pid: 82806;  load averages:  5.06,  4.43,  4.13   up 56+19:07:22  12:23:26
64 processes:  2 running, 62 sleeping
CPU states: 34.4% user,  0.0% nice, 46.6% system, 19.0% interrupt,  0.0% idle
Mem: 425M Active, 12M Inact, 45M Wired, 17M Cache, 8358K Buf, 1412K Free
Swap: 1024M Total, 422M Used, 602M Free, 41% Inuse, 100K In, 128K Out

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
65777 nobody    78  52  1116K   292K RUN     66.2H  8.98%  8.98% setiathome
95838 news       2   0 67108K 32432K select  24.3H  5.18%  5.18% dreaderd
24106 news       2   0 66004K 35088K select 498:07  5.03%  5.03% dreaderd
18072 news       2   0 70088K 34696K select 865:54  4.74%  4.74% dreaderd
18071 news       2   0 77560K 34324K select 859:42  4.49%  4.49% dreaderd
55071 news       2   0 86384K 33788K select 901:02  4.25%  4.25% dreaderd
36380 news       2   0 68684K 35424K select 474:51  4.05%  4.05% dreaderd
95834 news       2   0 61748K 29552K select  24.6H  3.96%  3.96% dreaderd
95836 news       2   0 70304K 36092K select  24.1H  3.91%  3.91% dreaderd
23299 news      -6   0 59308K 28328K biord  991:44  3.71%  3.71% dreaderd
71760 news      -6   0 61640K 32888K biord  612:09  3.71%  3.71% dreaderd
24104 news       2   0 69944K 28044K select 497:25  3.66%  3.66% dreaderd
24105 news       2   0 65024K 34276K select 485:35  3.61%  3.61% dreaderd
95841 news       2   0 76940K 32048K select  23.8H  3.47%  3.47% dreaderd
55070 news       2   0 65172K 26884K select 913:16  3.17%  3.17% dreaderd
95843 news       2   0 62496K 25948K select  23.9H  2.49%  2.49% dreaderd
95849 news      -6   0 17464K 12712K biord  465:21  1.90%  1.90% dreaderd

It is a PIII-450 with 512MB RAM.  It is a reader-only, no on-board spool.
It exclusively talks with remote spool servers.  It has 2 x ST118273N for
overview database, striped at a large size.  Netstat:

            input          (de0)           output
   packets  errs      bytes    packets  errs      bytes colls
      5438     0    5099533       4766     0    2745950     0
      3051     0    1640714       3783     0    2588415     0
      3104     0    1651551       3628     0    2606625     0
      3147     0    1737418       3696     0    2573734     0
      5077     0    4648537       4994     0    2941230     0
      3438     0    2223830       3801     0    2615040     0
      2756     0    1235967       3267     0    2364282     0
      3325     0    2104875       3828     0    2518459     0
      3345     0    2136607       3857     0    2666920     0
      3238     0    1919026       3558     0    2397720     0
      4265     0    3528378       4174     0    2508508     0
      3011     0    1793770       3567     0    2477420     0
      3731     0    2724030       3729     0    2372231     0
      4313     0    3709090       4051     0    2364588     0
      3546     0    2314112       4296     0    2916740     0
      4062     0    3088330       4129     0    2670948     0
      3525     0    2259475       4036     0    2682081     0
      3369     0    2072394       3564     0    2434105     0

Bear in mind that it is fetching articles out this interface, hence the
high input byte count.  The average traffic rate per client is ~2.4MB/s
divided by 1200 clients, 2KB/sec.

There is an explicit 8KB/sec client limit, so that's quite reasonable.

High system CPU times are largely attributed to the massive set of firewall
rules I am running on this box; 192 rules at this time.  I believe that 
this would be substantially lower without most of them, particularly if I
were to fetch from the spool servers out a different interface.

Given that I have spare CPU, I do believe that this machine could do 1500
users, but I'd want to add additional RAM first - probably a gig total.  I
have considered trying this, but I'm too lazy to drive to Chicago to do it.
I have few doubts that I could handle the 1800 that someone claimed I was
handling if I were to go to a PIII-600 and a gig of RAM.

If I had to guess, I'd venture that high load averages may be the result of
your dreaderd systems twiddling their thumbs waiting for articles to arrive
from the spool servers.  Make sure your spool servers are adequately
provisioned for some heavy duty file service:  you should be able to pump
10MB/sec out of them and not break a sweat.

... JG

Technical Details
Message-ID: <38208087$0$97641@news.execpc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <382024D3.516ADCF@xs4all.nl> <slrn820970.65j.tuuli.tuominen@yendor.it.helsinki.fi> <38202DD7.81B4A0D3@xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <38208087$0$97641@news.execpc.com>
Subject: Re: News Setup
Date: Wed, 03 Nov 1999 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <382024D3.516ADCF@xs4all.nl> <slrn820970.65j.tuuli.tuominen@yendor.it.helsinki.fi> <38202DD7.81B4A0D3@xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 544046474
Sender: jgreco@earth.execpc.com
X-Trace: K5Si:bCC31mI5[332>a9YkbfNiaEHUgJgRYcgIRLSUEmo29QGa?2LJeG0F:FDZF7Uf]8jU0`8J>^gGhaMU<hZ^NgF4FfQ?Mh6Um
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com