Thread View: news.software.nntp
24 messages
24 total messages
Started by Marc Laros
Wed, 03 Nov 1999 00:00
News Setup
Author: Marc Laros
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
18 lines
1263 bytes
1263 bytes
Hello,
Does anyone have an idea for a more effective news setup?
At the moment the company i work for has 1 machine running solaris innd.
Next to that we have 2 reader machines running diablo's dreaderd.
Problem is that the loads on the systems stays too high, escpecially on
the readers, even if we add more.
Does anyone have suggestions for a better setup?
Specs: innd machine: Sun E450
diablo readers: P3 450 - 512 mb
Marc Laros
Re: News Setup
Author: Kai 'wusel' Siering
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
85 lines
3958 bytes
3958 bytes
Marc Laros <mlaros@xs4all.nl> wrote: % We are a cable-isp. Thats why we have so many users. Cable users also read news % more frequently than "normal" dialup-users + they seem to be addicted to download % a shitload of binaries :o) Well, out of habit I'd strongly suggest running anything non-tradspool on the reader when serving binaries (I expect you are getting a full feed, that is ~60 GB in ~800k articles each day?). % The 2 readers running diablo readerd are both identical: % Running Linux with a 2.2.13 kernel. % Dual p3 450 - 512 mb RAM % 3 x 17 GB UW-SCSI disks Striped, concatenated or three different filesystems? Maybe more but smaller drives, put together in one stripeset, could help you here. % the spool on the machines = 2 x17 gb in total I'M not sure whether striping would make sense with only two drives. % hashtable size = 4m % maxconnect 100 % readerforks 40 % readerthreats 25 Sounds ok. % The main transit running innd: % Running SunOS 5.6 % E-450 - 512 mb I'd suggest to at last double that, if vmstat shows page continuous scanning activity (vmstat -S 30, "sr" column), I urge you to. % spool : 200 gb total, spool is always kept at about 170 gb. % % /dev/md/dsk/d12 202999992 172209448 30551264 85% /cycbuffs Striped? % This machine gets about 20 feeds from various isp's and companies. Filtering % of the feeds is also done here (we might wanna make a seperate machine for that?) What's the timer saying (news.notice: "ME time")? % Top output on readers: % % 4:22pm up 2 days, 2:56, 1 user, load average: 3.44, 4.60, 5.14 % 87 processes: 86 sleeping, 1 running, 0 zombie, 0 stopped % CPU states: 2.2% user, 6.0% system, 0.0% nice, 9.7% idle Odd, your CPU's taking a holiday, it seems: where's all the CPU time spend? You should find that first, maybe it's your disks being too busy serving all the requests AND taking the feed? (BTW: how do you feed your dreaderds, just with a full feed from innfeed or do you have any patches for innfeed sending diablo- style headfeeds?) % Top output on E450: % % last pid: 7094; load averages: 0.27, 0.25, 0.25 16:08:06 % 140 processes: 139 sleeping, 1 on cpu % % Memory: 512M real, 8168K free, 116M swap in use, 1932M swap free Well, I'm missing a line like "CPU states: 89.0% idle, 0.1% user, 3.3% kernel, 7.6% iowait, 0.0% swap" % I was personally thinking about maybe using news caching software to reduce the % loads. Tell me what you guys think please :) Isn't that what dreaderd is supposed to do for you? ;) kai -- Kai 'wusel' Siering eMail @ home: wusel@uu.org Traveller on the Information Highway doing full-time administration. The views expressed here are not neccessarily those of any employer. - Looking for peers for several non-european national TLHs, please - - contact me for details so we can arrange a peering. -
Re: News Setup
Author: Marc Laros
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
33 lines
2113 bytes
2113 bytes
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?
Greetz
Marc Laros
Tuuli Tuominen wrote:
> On Wed, 03 Nov 1999 13:04:35 +0100, Marc Laros wrote:
> >Does anyone have an idea for a more effective news setup?
> >At the moment the company i work for has 1 machine running solaris innd.
> >Next to that we have 2 reader machines running diablo's dreaderd.
> >Problem is that the loads on the systems stays too high, escpecially on
> >the readers, even if we add more.
> >Does anyone have suggestions for a better setup?
>
> Do you mean you use Inn for transit and Diablo for readers? Why not the
> other way 'round?
>
> Tuuli.
> --
> "Why is it that whenever I see you,
> you never speak other than to ask questions?"
> "Because questions are all I have left."
Re: News Setup
Author: Tuuli Tuominen
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
20 lines
1716 bytes
1716 bytes
On Wed, 03 Nov 1999 13:43:03 +0100, Marc Laros wrote: >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? Well, most people I know who run transit servers do use diablo for transit. I know the older versions of Inn weren't very efficient in transit use, I have no idea about the upcoming 2.3 though. I run 2.2 with tradspool for readers (no uniover, since it's _slow_) but we have only about a hundred concurrent users, so I don't really know if it'd be good for you. 2.3 is supposed to be way better in terms of reader performance, as I'm sure the gurus in this group will tell you. :) Tuuli. -- threatened by shadows at night and exposed in the light
Re: News Setup
Author: Chris Sedore
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
42 lines
2703 bytes
2703 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:yleme789l7.fsf@windlord.stanford.edu... > Any version of INN with CNFS, which is 2.0 or higher, is a great transit > box. Just turn off overview and you're all set. You want innfeed, of > course. If you're doing Perl filtering on transit, which I highly > recommend (save that reader machine CPU for readers, not filtering, and as > a bonus transit less crap!), INN currently has an advantage over external > filter mechanisms by having to do less throwing of articles around memory. > > Servers that can propagate articles simultaneous with writing them to disk > will have a speed advantage over either INN or Diablo, but I'm not aware > of a free software implementation with that capability for Unix. > (NNTPRelay does it, I believe, but then you have to run NT.) Whether the > free software part matters to you is up to you. :) This might be a good place to ask for a couple people who are willing to try such a beast. I'm hoping to find a few people who fit the following description: 1) interested and able to try out some Unix based news routing software (no reader support coming) 2) can setup, patch & compile a kernel, and run a FreeBSD -current machine 3) has some time to invest in hacking a bit on said software The code is not as pretty as I'd like it to be, has a few niggling bugs, feeding code is minimal, but it's reasonably fast. Drop me an email if you're interested and can put some time into giving it try. I expect to GPL and release the code (in fact, the license is already on it, and one old ugly version has been shipped out to a certain Joe who hasn't had time for it :) ), but I'm hoping that I can get the FreeBSD folks to commit my patches to the AIO routines before I start distributing it (it just looks bad to distribute code with kernel patches...its almost umm...Linux like :). -Chris
Re: News Setup
Author: Joe Greco
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
90 lines
5931 bytes
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
Re: News Setup
Author: Ronald Hello
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
28 lines
1952 bytes
1952 bytes
In article <38202DD7.81B4A0D3@xs4all.nl>, Marc Laros <mlaros@xs4all.nl> writes: > 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? Your E-450 with INN could be a perfect reader-machine. Your P3's with diablo could be perfect transfer systems. Strange that you did it the other way around. I would recommend INN with traditional spool (or are the overview problems with CNFS solved by now?) as a reader machine and 1 or 2 diablo machines for transfer. But I know a few sites where they have good working INN/CNFS transfer machines, this way you could go back to 1 software package ... Ronald. -- // Ronald Hello (Ronald.Hello@cs.utwente.nl) // University of Twente // Department of Computer Science // The Netherlands
Re: News Setup
Author: Conrad Juleff
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
30 lines
2057 bytes
2057 bytes
On Wed, 03 Nov 1999 13:43:03 +0100, Marc Laros <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? What OS are you running on the Diablo reader machines? In my experience Linux doesnt run Diablo reader side very well. I have tested Diablo reader performance on a FreeBSD3 Dual PIII with up to 400 users and it runs well. Do you have a decent striped disk system on these machines, RAID 5 would probably slow things down? You should be able to run 1500 users on 2 PII FreeBSD3 machines running Diablo. Following the hardware recommendations and put /news, /news/spool/group and /news/spool/news on separate striped partitions. I would strongly disagree with running INN and traditional spool on the reader side. It runs well with less than 250 users until it has to run expireover and then falls behind on the feed in a big way. If your transit side is working why change it? Regards Conrad
Re: News Setup
Author: Russell Vincent
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
13 lines
1179 bytes
1179 bytes
Russell Vincent <russellv-n@uk.uu.net> wrote: > across 12x2GB disks. I assume your disks are SCSI? Of course they are. I didn't read your specs properly. :-) I would still go for a lot more disks, though. Perhaps see if you can get some disk IO stats? -Russell
Re: News Setup
Author: Marc Laros
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
36 lines
2371 bytes
2371 bytes
I dont think an E-450 can handle that alone. At any given time we have about 1400-1500 simultaneous reader sessions from users.... Marc Ronald Hello wrote: > In article <38202DD7.81B4A0D3@xs4all.nl>, > Marc Laros <mlaros@xs4all.nl> writes: > > 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? > > Your E-450 with INN could be a perfect reader-machine. Your P3's > with diablo could be perfect transfer systems. Strange that you > did it the other way around. I would recommend INN with traditional > spool (or are the overview problems with CNFS solved by now?) as > a reader machine and 1 or 2 diablo machines for transfer. But I know > a few sites where they have good working INN/CNFS transfer machines, > this way you could go back to 1 software package ... > > Ronald. > > -- > // Ronald Hello (Ronald.Hello@cs.utwente.nl) > // University of Twente > // Department of Computer Science > // The Netherlands
Re: News Setup
Author: Ronald Hello
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
20 lines
1502 bytes
1502 bytes
In article <3820331B.A7E6E29C@xs4all.nl>, Marc Laros <mlaros@xs4all.nl> writes: > I dont think an E-450 can handle that alone. At any given time we have about > 1400-1500 simultaneous reader sessions from users.... Depends on what's inside. You now have two P3 CPU's with 1 GB memory doing the job. You can load the E-450 with 4 CPU's (which are much better in multi-processing/context-switches than any Intel chip) and 4 GB memory to do that same job. Looks to me like that is an improvement of more than a factor 2. Ronald. -- // Ronald Hello (Ronald.Hello@cs.utwente.nl) // University of Twente // Department of Computer Science // The Netherlands
Re: News Setup
Author: Russell Vincent
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
61 lines
3189 bytes
3189 bytes
Marc Laros <mlaros@xs4all.nl> wrote: > We are a cable-isp. Thats why we have so many users. Cable users also read news > more frequently than "normal" dialup-users + they seem to be addicted to download > a shitload of binaries :o) I bet. :-) I have an open server and it gets hammered almost exclusively with binary downloads. > the spool on the machines = 2 x17 gb in total I assume you mean 2x17GB disks? If so, that might be your bottleneck. Looking at my Diablo readers (only hundred or so readers at the moment), they are using quite a lot of disk IO and I have my spool striped across 12x2GB disks. I assume your disks are SCSI? > hashtable size = 4m > maxconnect 100 > readerforks 40 > readerthreats 25 That looks fine. > 4:22pm up 2 days, 2:56, 1 user, load average: 3.44, 4.60, 5.14 > 87 processes: 86 sleeping, 1 running, 0 zombie, 0 stopped > CPU states: 2.2% user, 6.0% system, 0.0% nice, 9.7% idle Hmmm ... where is the CPU use going? Perhaps IO wait (I am not familiar with the way Linux handles this - can anyone else comment)? Looking at the process list also indicates very little CPU being used for real work. > Mem: 517488K av, 514960K used, 2528K free, 211116K shrd, 117508K buff This looks nice and safe. Plenty of buffer space. > Swap: 132088K av, 120K used, 131968K free 322920K cached Again, perfectly safe. From spool server: > last pid: 7094; load averages: 0.27, 0.25, 0.25 16:08:06 This doesn't seem to be much of a bottleneck, although it may also by IO bound. > I was personally thinking about maybe using news caching software to reduce the > loads. Tell me what you guys think please :) I would increase the number of disks (making sure to use SCSI) before trying anything else. See if you can do a test with about 10x4G disks striped. With that number of users, I would be tempted to go for even more disks than that to be safe, especially if they are not ultra-fast disks. One of my golden rules for news servers is that you can never have too many disks and too much memory. :-) -Russell
Re: News Setup
Author: Tuuli Tuominen
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
18 lines
1456 bytes
1456 bytes
On Wed, 03 Nov 1999 13:04:35 +0100, Marc Laros wrote: >Does anyone have an idea for a more effective news setup? >At the moment the company i work for has 1 machine running solaris innd. >Next to that we have 2 reader machines running diablo's dreaderd. >Problem is that the loads on the systems stays too high, escpecially on >the readers, even if we add more. >Does anyone have suggestions for a better setup? Do you mean you use Inn for transit and Diablo for readers? Why not the other way 'round? Tuuli. -- "Why is it that whenever I see you, you never speak other than to ask questions?" "Because questions are all I have left."
Re: News Setup
Author: Russell Vincent
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
18 lines
1521 bytes
1521 bytes
Marc Laros <mlaros@xs4all.nl> wrote: > 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. Can you post some more details about the hardware you are running on. Memory, size of spool, perhaps even a sample top output (just the first 5-6 lines) and what your diablo.config reader setup is (readerforks, readerthreads, etc). 1500 simultaneous readers is quite a large number for any machine (or 2 machines) and most likely needs some interesting tuning. :-) -Russell
Re: News Setup
Author: Marc Laros
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
90 lines
4575 bytes
4575 bytes
We are a cable-isp. Thats why we have so many users. Cable users also read news
more frequently than "normal" dialup-users + they seem to be addicted to download
a shitload of binaries :o)
The 2 readers running diablo readerd are both identical:
Running Linux with a 2.2.13 kernel.
Dual p3 450 - 512 mb RAM
3 x 17 GB UW-SCSI disks
the spool on the machines = 2 x17 gb in total
hashtable size = 4m
maxconnect 100
readerforks 40
readerthreats 25
The main transit running innd:
Running SunOS 5.6
E-450 - 512 mb
spool : 200 gb total, spool is always kept at about 170 gb.
/dev/md/dsk/d12 202999992 172209448 30551264 85% /cycbuffs
This machine gets about 20 feeds from various isp's and companies. Filtering
of the feeds is also done here (we might wanna make a seperate machine for that?)
Top output on readers:
4:22pm up 2 days, 2:56, 1 user, load average: 3.44, 4.60, 5.14
87 processes: 86 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 2.2% user, 6.0% system, 0.0% nice, 9.7% idle
Mem: 517488K av, 514960K used, 2528K free, 211116K shrd, 117508K buff
Swap: 132088K av, 120K used, 131968K free 322920K cached
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
18454 root 15 0 1012 1012 804 R 0 2.3 0.1 0:00 top
17191 news 5 0 2372 2372 456 D 0 0.9 0.4 0:45 dexpireover
17193 news 1 0 6732 6732 4620 S 0 0.4 1.3 0:13 dreaderd
17202 news 3 0 4252 4252 3748 S 0 0.4 0.8 0:15 dreaderd
17219 news 3 0 5564 5564 3864 S 0 0.4 1.0 0:13 dreaderd
1 root 0 0 484 484 412 S 0 0.0 0.0 0:01 init
2 root 2 0 0 0 0 SW 0 0.0 0.0 2:56 kflushd
3 root 4 0 0 0 0 SW 0 0.0 0.0 17:22 kupdate
Top output on E450:
last pid: 7094; load averages: 0.27, 0.25, 0.25 16:08:06
140 processes: 139 sleeping, 1 on cpu
Memory: 512M real, 8168K free, 116M swap in use, 1932M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
29022 news 1 60 0 179M 75M sleep 59.3H 5.71% innd
167 news 1 46 4 59M 10M sleep 10:53 1.76% innfeed
950 news 1 32 2 3696K 1824K sleep 3:24 0.60% actived
7093 root 1 28 0 1640K 1368K cpu1 0:00 0.51% top
166 news 1 60 4 1728K 1096K sleep 1:13 0.18% overchan
2011 news 1 46 4 127M 2272K sleep 0:01 0.07% nnrpd
-
I was personally thinking about maybe using news caching software to reduce the
loads. Tell me what you guys think please :)
Greetz
Marc Laros
Russell Vincent wrote:
> Marc Laros <mlaros@xs4all.nl> wrote:
> > 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.
>
> Can you post some more details about the hardware you are running on.
> Memory, size of spool, perhaps even a sample top output (just the
> first 5-6 lines) and what your diablo.config reader setup is (readerforks,
> readerthreads, etc).
>
> 1500 simultaneous readers is quite a large number for any machine (or
> 2 machines) and most likely needs some interesting tuning. :-)
>
> -Russell
Re: News Setup
Author: bill davidsen
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
27 lines
1994 bytes
1994 bytes
In article <7vsmb4$6g9$1@wave.pipex.net>, Russell Vincent <russellv-n@uk.uu.net> wrote: | That number of readers for Diablo is low. As a counter-example, I am | running on a Sun Ultra 1 with 384MB RAM and 24GB disk (12x2G) and | the machine is 70% idle with 100 readers, most of which are sucking | binaries. I don't consider an Ultra 1 to be a fast machine by any | standards today. That same machine running INN can barely keep up | with storing a full feed (trad spool), let alone handle readers. While you're denigrating old technology, why not compare it to B-news? CNFS has been out for years for INN, first as a patch to 1.x and then standard in 2.x. Running INN with tradspool is pretty meaningless if you are looking at speed. And putting a "full feed" into a 24GB machine is just a proof of concept as well, 60GB/day would rool over every eight hours or so. Were you kidding about a full feed or do your readers accept retention measured in hours? ;-) -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: News Setup
Author: Kjetil Torgrim Homme
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
29 lines
1947 bytes
1947 bytes
[Marc Laros] > The 2 readers running diablo readerd are both identical: > Running Linux with a 2.2.13 kernel. > Dual p3 450 - 512 mb RAM Your setup looks fine. One thing missed by some of the responses is that INN isn't really used for transit here, it's used for spool... And I find INN's storage.ctl a lot easier to tweak than Diablo's system. Anyway, I think you may be bit by the large kernel lock, still present in Linux 2.2. Only one processor can do a read() or other I/O at a time... This has been improved in 2.3.x, but that's not something I would run on production servers :-) I'm not sure how well FreeBSD does on SMP these days? You should run iostat on both the PC's (not a standard utility in Linux, unfortunately, look it up at Freshmeat) and the Sun and see if there are disk bottlenecks. iostat -x 5, for instance. You can reduce disk I/O on the Sun a little by upgrading to Solaris 7 and mounting noatime. "logging" may have a beneficial effect as well, but probably won't matter for CNFS. Kjetil T.
Re: News Setup
Author: Simon Lyall
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
50 lines
2797 bytes
2797 bytes
I was playing with a spare box at work to see if I could take load off the main server. Unfortuneately it doesn't seem to be keeping up. I am looking at using lowish end machines that will support 100 to 200 readers and which I can add as needed. My main spool machine is running INN and I am forwarding the feed to the diablo reader box and then from a diablo to dreader process. Do others run diablo router on their reader boxes or is this just additional overhead? Specs: 128MB RAM, 330MHz PentiumII, Linux 2.2.13, IDE boot + 1*8MB SCSI with all the news stuff on it. I have been running straight 1.24-rel with reader expire ( Is this needed if I am just using a couple of Gig of space in the diablo spool as a first level cache?) and Xref slaving off the INN machine. The diablo process seems to keep up with the feed okay but every time there is a feed increase it craetes batch files in it's feed to the reader and then runs at load 10 for a couple of hours while it catches up( often being up to an hour behind). I have only tested it with a small number of readers which it seems to handle okay but the fact that it gets so far behind and struggles with no load that I am a bit worried about putting it live. Have others had experience running dreader on chearper boxes with full feeds. Do I just need more hardware or do I need to fix my config assumptions? (I'd really like to use IDE drives to cut costs ) Mem: 128216 103796 24420 159496 22664 50876 -/+ buffers/cache: 30256 97960 Swap: 261496 2324 259172 7:14am up 8 days, 18:26, 1 user, load average: 12.29, 12.39, 11.77 67 processes: 66 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 0.7% user, 2.5% system, 0.0% nice, 97.3% idle Mem: 128216K av, 103820K used, 24396K free, 162748K shrd, 23172K buff Swap: 261496K av, 2324K used, 259172K free 50140K cached -- Simon Lyall. | Newsmaster | Work: simon.lyall@ihug.co.nz System/Network Admin | T&C Enforcement | Home: simon@darkmere.gen.nz The Internet Group, Auck. | Asst Doorman | Web: Currently Offline
Re: News Setup
Author: Russell Vincent
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
37 lines
2547 bytes
2547 bytes
Simon Lyall <simon@darkmere.gen.nz> wrote: > I was playing with a spare box at work to see if I could take load off the > main server. Unfortuneately it doesn't seem to be keeping up. I am looking > at using lowish end machines that will support 100 to 200 readers and > which I can add as needed. That number of readers for Diablo is low. As a counter-example, I am running on a Sun Ultra 1 with 384MB RAM and 24GB disk (12x2G) and the machine is 70% idle with 100 readers, most of which are sucking binaries. I don't consider an Ultra 1 to be a fast machine by any standards today. That same machine running INN can barely keep up with storing a full feed (trad spool), let alone handle readers. > My main spool machine is running INN and I am forwarding the feed to the > diablo reader box and then from a diablo to dreader process. Do others run > diablo router on their reader boxes or is this just additional overhead? I prefer to use a separate spool server from the router. i.e: A basic news configuration is split into 3 machines. The advantage of using Diablo as the feeder to your Diablo reader is that it is capable of feeding a header-only feed, which cuts down on the processing quite significantly. The above machine is getting a full feed (that's the 60GB feed, although the reader only gets the 500M or so of headers, if it is even that much). > I have been running straight 1.24-rel with reader expire ( Is this needed > if I am just using a couple of Gig of space in the diablo spool as a > first level cache?) and Xref slaving off the INN machine. The expire on the reader is used to expire your overview (headers in Diablo terminology), which is what the clients actually get to see as the articles that exist. -Russell
Re: News Setup
Author: Robert Adams
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
30 lines
2114 bytes
2114 bytes
Hello all, Anyone working on a unix equivalent of NNTPRelay? I'm surprised this hasn't been done. -jason On 03 Nov 1999 15:00:04 -0800, Russ Allbery <rra@stanford.edu> wrote: >Tuuli Tuominen <tuuli.tuominen@helsinki.fi> writes: > >> Well, most people I know who run transit servers do use diablo for >> transit. I know the older versions of Inn weren't very efficient in >> transit use, I have no idea about the upcoming 2.3 though. > >Any version of INN with CNFS, which is 2.0 or higher, is a great transit >box. Just turn off overview and you're all set. You want innfeed, of >course. If you're doing Perl filtering on transit, which I highly >recommend (save that reader machine CPU for readers, not filtering, and as >a bonus transit less crap!), INN currently has an advantage over external >filter mechanisms by having to do less throwing of articles around memory. > >Servers that can propagate articles simultaneous with writing them to disk >will have a speed advantage over either INN or Diablo, but I'm not aware >of a free software implementation with that capability for Unix. >(NNTPRelay does it, I believe, but then you have to run NT.) Whether the >free software part matters to you is up to you. :)
Re: News Setup
Author: bill davidsen
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
25 lines
1906 bytes
1906 bytes
In article <7vsmb4$6g9$1@wave.pipex.net>, Russell Vincent <russellv-n@uk.uu.net> wrote: | That number of readers for Diablo is low. As a counter-example, I am | running on a Sun Ultra 1 with 384MB RAM and 24GB disk (12x2G) and | the machine is 70% idle with 100 readers, most of which are sucking | binaries. I don't consider an Ultra 1 to be a fast machine by any | standards today. That same machine running INN can barely keep up | with storing a full feed (trad spool), let alone handle readers. Have you compared using a modern configuration of INN, or is the object to compare old technology to new? Is this a full service machine or just a reader box offloading the article storage to somewhere else? Given a full feed being ~60GB/day, I suspect you are taking more like the cream off the top... either that or people have to read 3-4 times a day before stuff expires. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: News Setup
Author: bill davidsen
Date: Fri, 05 Nov 1999 00:00
Date: Fri, 05 Nov 1999 00:00
31 lines
2300 bytes
2300 bytes
In article <7vtqh9$aks$1@wave.pipex.net>, Russell Vincent <russellv-n@uk.uu.net> wrote: | bill davidsen <davidsen@tmr.com> wrote: | > Have you compared using a modern configuration of INN, or is the object | > to compare old technology to new? Is this a full service machine or just | > a reader box offloading the article storage to somewhere else? | | Actually, the INN version is probably more recent than the Diablo | version. I am using the -STABLE branch of INN and I know the | more recent -CURRENT versions are better. This was in production, | through. If anything, the old/new comparison is the reverse of | what you imply. No, what I meant was that INN has supported cyclic buffers like Diablo for some time, and that will make a vast diference in performance. If really meant configuration rather than version, but I may not have said it clearly. Having directories with very large numbers of entries is a big performance hit on most o/s, and is one of the main benifits of CNFS. The 2.3 version actually doesn't seem to accept articles quite as fast as 2.2, but a lot of that is due to 2.2 doing overview in a separate process, and often getting way behind. 2.2 works right, overview doesn't get lost of mangled. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: News Setup
Author: Russell Vincent
Date: Fri, 05 Nov 1999 00:00
Date: Fri, 05 Nov 1999 00:00
22 lines
1655 bytes
1655 bytes
bill davidsen <davidsen@tmr.com> wrote: > Have you compared using a modern configuration of INN, or is the object > to compare old technology to new? Is this a full service machine or just > a reader box offloading the article storage to somewhere else? Actually, the INN version is probably more recent than the Diablo version. I am using the -STABLE branch of INN and I know the more recent -CURRENT versions are better. This was in production, through. If anything, the old/new comparison is the reverse of what you imply. > Given a full feed being ~60GB/day, I suspect you are taking more like > the cream off the top... either that or people have to read 3-4 times a > day before stuff expires. I had another machine with the same CPU spec, but more memory and more disk for INN. -Russell
Re: News Setup
Author: Kjetil Torgrim Homme
Date: Fri, 05 Nov 1999 00:00
Date: Fri, 05 Nov 1999 00:00
14 lines
1234 bytes
1234 bytes
[bill davidsen] > And putting a "full feed" into a 24GB machine is just a proof of > concept as well, 60GB/day would rool over every eight hours or > so. Were you kidding about a full feed or do your readers accept > retention measured in hours? ;-) He said nothing about the size of his spool server. The reader server uses the 24 GB for overview and article cache. Kjetil T.
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