Thread View: news.software.nntp
13 messages
13 total messages
Started by Matt Dillon
Fri, 21 Aug 1998 00:00
Diablo 1.16-test15 available
Author: Matt Dillon
Date: Fri, 21 Aug 1998 00:00
Date: Fri, 21 Aug 1998 00:00
44 lines
2866 bytes
2866 bytes
Diablo 1.16-test15 is available. It fixes two bugs: one related to
'activedrop yes' and the other related to the growth of the number
of spool directories.
There is currently a known bug with newer solaris systems and snprintf().
Apparently newer solaris systems have snprintf() and some of the SUN
library routines use it. When linked statically, sun libraries that
now use snprintf will wind up using diablo's mini version instead of
the full sun version. I don't think the problem is causing any real
bugs, but it does result in annoying logs. Until I fix it permanently
people running solaris's which have snprintf will have to fix
lib/config.h to prevent diablo from compiling its own mini version.
There is also a reported history file corruption bug with the new
append mechanism but I haven't been able to reproduce it. Only one
report.
More results from the nntp3.ba.best.com open-reader test: Peak loads
are now hitting 420 online users with the machine around 50% utilized.
The machine is a duel-PII/300 running FreeBSD-current w/ 256MB of ram
and three 18G disks striped together. Most of the people using the
server are porn bozos so I expect the machine is more loaded then a
'normal' 420 online-user load, but it is still quite impressive. I am
finding that with this machine configuration, performance remains
good (non inclusive of the artificial bandwidth limits I imposed for
the test to reduce massive abuse of the open-reader) with up to 25
threads per process. I am currently running the reader with 30 forks
and 25 threads per fork for a theoretical maximum of 750 online
users, and 8 DNS resolving forks. It is hard to determine the memory
utilization due to all the mmap()ing, but I'm guessing 2-4 MBytes per
fork (81 to 160 KBytes per connection).
In regards to FreeBSD-current, I'm going to load the latest cvs snapshot
up on nntp3 tonight. I still get an occassional inode deadlock and
still get VM corruption.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.16-test15 available
Author: Matt Dillon
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
20 lines
1270 bytes
1270 bytes
:In article <6rs74h$1f7i$1@node17.cwnet.frontiernet.net>,
:Dan Foster <dsf@frontiernet.net> wrote:
:>In article <6rs6f1$aq7$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
:>> (become root, restart the news system)
:>
:>Any plans to have an inndstart-like option? (suid root to bind() to
:>ports, and ....)
:>
:>-Dan
No plans currently.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.16-test15 available
Author: Cor Bosman
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
61 lines
3456 bytes
3456 bytes
dillon@best.net (Matt Dillon) writes: > Diablo 1.16-test15 is available. It fixes two bugs: one related to > 'activedrop yes' and the other related to the growth of the number > of spool directories. > There is currently a known bug with newer solaris systems and snprintf(). > Apparently newer solaris systems have snprintf() and some of the SUN > library routines use it. When linked statically, sun libraries that > now use snprintf will wind up using diablo's mini version instead of > the full sun version. I don't think the problem is causing any real > bugs, but it does result in annoying logs. Until I fix it permanently > people running solaris's which have snprintf will have to fix > lib/config.h to prevent diablo from compiling its own mini version. > There is also a reported history file corruption bug with the new > append mechanism but I haven't been able to reproduce it. Only one > report. > More results from the nntp3.ba.best.com open-reader test: Peak loads > are now hitting 420 online users with the machine around 50% utilized. > The machine is a duel-PII/300 running FreeBSD-current w/ 256MB of ram > and three 18G disks striped together. Most of the people using the > server are porn bozos so I expect the machine is more loaded then a > 'normal' 420 online-user load, but it is still quite impressive. I am > finding that with this machine configuration, performance remains > good (non inclusive of the artificial bandwidth limits I imposed for > the test to reduce massive abuse of the open-reader) with up to 25 > threads per process. I am currently running the reader with 30 forks > and 25 threads per fork for a theoretical maximum of 750 online > users, and 8 DNS resolving forks. It is hard to determine the memory > utilization due to all the mmap()ing, but I'm guessing 2-4 MBytes per Im about to buy 2 boxes to setup a diablo reader test. (and hopefully production soon after that). Im thinking of what the best solution would be. Currently im thinking of 2 boxes.. 1) a P2/300 with 512mb ram, 1 2gb root disk, 1 2gb /news and probably a 72gb raid 0 /news/spool/news. This is going to be the 'remote spool' box. 2) a P2/300 with 512mb ram, 1 2gb root disk, 2x9gb /news/spool/group and 2x9gb /news/spool/cache (both software raid 0). This is the actual reader box, with an 18gb local cache. (if necessary I can set up several of these in the future). Box 1 will be fed by an already existing diablo transit server. Matt, if you read this, do you think this is an ok setup? This is for currently about 300 readers. Regards, Cor Bosman -- ---- <Rolf> spam moet je niet te streng bestrijden
Re: Diablo 1.16-test15 available
Author: Matt Dillon
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
104 lines
6795 bytes
6795 bytes
:In article <6rskq0$rhr$1@xs3.xs4all.nl>, Cor Bosman <cor@xs3.xs4all.nl> wrote:
:>dillon@best.net (Matt Dillon) writes:
:>
:...
:>> and the partition the ccd device.
:>
:>I must admit I need to get used to disks bigger than 4gb in the same sentence
:>as 'news server' :). You dont get any spindle performance issues with 18gb
:>disks?
:>
:>Regards,
:>
:>Cor
:>--
There are always spindle issues, but Diablo has very good locality
of reference (as do some of the other modern news systems). Taking a
full feed for Diablo consists basically of doing dhistory lookups and
appending to a single file (in time locality, anyway). There are also
always latency issues, but if you have enough memory to cache a
significant portion of the dhistory file you are pretty much home free.
Reader access has even better locality of reference, though my test
machine nntp3.ba.best.com is heavily weighted towards porn due to the
type of user attracted by the open-reader nature of the test and thus
has extreme locality of reference, so it may not be the best test. Most
of the articles wind up staying cached in memory and even 400+ online
users does not present a huge disk load. I'm running nntp3.ba.best.com
with only 256MB of ram and it still does pretty good.
Here's some supporting evidence. Look at this 'iostat 1' output
carefully. Note the disk activity, and then note the severe drop
in disk activity. I am sending a *batch* feed from my news box to
my test reader box. The heavy disk activity occurs whlie the batch
is running, the light disk activity occurs when the batch finishes
and represents only the load from the readers. There were 211 online
NNTP users at the time of this test.
(sd0 == root drive, sd1+sd2+sd3 == 18Gx3 stripe with /news,
/news/spool/group, and /news/spool/news on it).
tty sd0 sd1 sd2 sd3 cpu
tin tout sps tps msps sps tps msps sps tps msps sps tps msps us ni sy in id
0 41 0 0 0.0 568 26 0.0 723 39 0.0 536 30 0.0 5 0 11 3 81
0 41 0 0 0.0 505 25 0.0 633 29 0.0 477 25 0.0 13 0 48 2 36
0 40 0 0 0.0 259 9 0.0 160 8 0.0 139 7 0.0 5 0 18 7 71
0 41 0 0 0.0 291 12 0.0 432 15 0.0 368 17 0.0 3 0 12 7 78
0 41 0 0 0.0 406 24 0.0 541 26 0.0 623 30 0.0 3 0 14 7 76
0 40 0 0 0.0 535 29 0.0 408 20 0.0 542 23 0.0 2 0 11 5 82
0 41 8 0 0.0 710 41 0.0 781 39 0.0 595 36 0.0 7 0 12 4 78
0 41 0 0 0.0 518 30 0.0 455 25 0.0 497 29 0.0 3 0 10 3 84
0 41 0 0 0.0 459 21 0.0 579 26 0.0 567 19 0.0 4 0 9 2 85
(disk activity lightens up when the batch is done)
(now only dreaderd/diablo-article-fetches are accessing the disk)
0 40 0 0 0.0 93 4 0.0 55 3 0.0 71 3 0.0 1 0 4 3 92
0 41 0 0 0.0 170 7 0.0 240 9 0.0 139 5 0.0 3 0 5 1 91
0 41 0 0 0.0 104 4 0.0 79 2 0.0 85 4 0.0 13 0 39 5 43
0 40 0 0 0.0 79 5 0.0 126 5 0.0 47 3 0.0 1 0 8 2 90
tty sd0 sd1 sd2 sd3 cpu
tin tout sps tps msps sps tps msps sps tps msps sps tps msps us ni sy in id
0 121 8 0 0.0 135 3 0.0 83 2 0.0 103 3 0.0 1 0 3 3 93
0 41 8 0 0.0 103 5 0.0 80 4 0.0 62 4 0.0 12 0 37 3 4
0 40 6 0 0.0 769 50 0.0 832 53 0.0 887 52 0.0 3 0 7 4 87
0 41 0 0 0.0 59 3 0.0 68 3 0.0 65 3 0.0 1 0 3 5 91
0 41 32 2 0.0 209 5 0.0 225 9 0.0 238 11 0.0 2 0 5 3 90
0 39 0 0 0.0 97 6 0.0 207 12 0.0 94 6 0.0 6 0 24 3 68
0 41 4 0 0.0 294 10 0.0 337 7 0.0 404 9 0.0 4 0 9 3 84
0 41 0 0 0.0 67 3 0.0 71 2 0.0 46 2 0.0 1 0 5 2 92
0 41 0 0 0.0 461 16 0.0 476 14 0.0 655 17 0.0 13 0 39 3 45
0 41 0 0 0.0 574 18 0.0 656 24 0.0 615 20 0.0 9 0 10 3 77
0 41 0 0 0.0 83 4 0.0 103 4 0.0 87 4 0.0 2 0 3 1 95
0 40 0 0 0.0 83 3 0.0 10 1 0.0 37 3 0.0 1 0 4 2 93
0 41 0 0 0.0 77 5 0.0 91 4 0.0 48 3 0.0 1 0 4 3 91
..
0 41 40 2 0.0 107 6 0.0 256 8 0.0 328 8 0.0 3 0 4 2 91
0 40 0 0 0.0 83 4 0.0 165 7 0.0 229 6 0.0 2 0 6 5 88
0 41 18 2 0.0 32 1 0.0 42 3 0.0 76 6 0.0 4 0 10 2 84
(heavy disk activity again when the next batch from the feed is started)
0 41 0 0 0.0 446 27 0.0 386 25 0.0 446 21 0.0 10 0 26 2 62
0 41 0 0 0.0 647 32 0.0 498 20 0.0 470 26 0.0 7 0 12 6 76
0 40 0 0 0.0 429 26 0.0 456 24 0.0 646 34 0.0 7 0 23 3 67
0 41 0 0 0.0 563 26 0.0 593 29 0.0 665 30 0.0 5 0 9 3 83
0 41 27 2 0.0 734 35 0.0 442 27 0.0 516 30 0.0 3 0 13 3 81
0 40 0 0 0.0 589 27 0.0 526 27 0.0 568 28 0.0 5 0 10 3 82
tty sd0 sd1 sd2 sd3 cpu
tin tout sps tps msps sps tps msps sps tps msps sps tps msps us ni sy in id
0 121 14 1 0.0 623 30 0.0 740 33 0.0 788 37 0.0 5 0 13 3 79
0 41 48 3 0.0 759 42 0.0 558 33 0.0 725 42 0.0 0 0 7 4 89
0 40 0 0 0.0 470 26 0.0 446 24 0.0 519 31 0.0 3 0 8 3 86
0 41 0 0 0.0 364 23 0.0 517 30 0.0 320 22 0.0 3 0 10 7 80
0 41 0 0 0.0 382 28 0.0 320 23 0.0 406 23 0.0 2 0 7 3
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.16-test15 available
Author: Matt Ranney
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
14 lines
1021 bytes
1021 bytes
cor@xs3.xs4all.nl (Cor Bosman) writes: [...] > I must admit I need to get used to disks bigger than 4gb in the same sentence > as 'news server' :). You dont get any spindle performance issues with 18gb > disks? I'm running with 4x18GB UW drives, striped by the Linux kernel, and performance is really quite good. -- Matt Ranney - mjr@ranney.com Let's not let the students run the High School.
Re: Diablo 1.16-test15 available
Author: Matt Dillon
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
44 lines
2187 bytes
2187 bytes
:In article <35e12f1a.596286850@betanews.clara.net>,
:Steve Rawlinson <steve@clara.net> wrote:
:>> There is also a reported history file corruption bug with the new
:>> append mechanism but I haven't been able to reproduce it. Only one
:>> report.
:>
:>I had this problem with test-14. Every diablo process fired up hit
:>what looked like an infinite loop until the load average went to 50.
:>Running didump on the historyfile seemed to fix it.
:>
:>Incidentally is there an easy way to menually add a newsgroup to the
:>reader without running dkp once for every token?
:>
:>steve
Not yet. Sorry. I need to write a little utility to do it. You
should only have to add three tokens: NB=0000000000, NE=0000000000,
and S=y.
But definitely use dkp :-) Also after a month or two of operation,
shut everything down and cleanup the dactive.kp file with 'dkp -t'.
I need to add a 'pause' capability to dreaderd so it doesn't have to
be shutdown for that. bleh.
nntp3:/news> ls -ld da*
-rw-r--r-- 1 news news 8508930 Aug 24 10:01 dactive.kp
nntp3:/news> (shut everything down)
nntp3:/news> dkp -t dactive.kp
nntp3:/news> ls -lda dac*
-rw-r--r-- 1 news news 4368274 Aug 24 10:02 dactive.kp
(become root, restart the news system)
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.16-test15 available
Author: Matt Dillon
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
66 lines
3385 bytes
3385 bytes
:In article <6rrvtl$egb$1@xs3.xs4all.nl>, Cor Bosman <cor@xs3.xs4all.nl> wrote:
:>dillon@best.net (Matt Dillon) writes:
:>
:>> Diablo 1.16-test15 is available. It fixes two bugs: one related to
:>
:>Im about to buy 2 boxes to setup a diablo reader test. (and hopefully
:>production soon after that). Im thinking of what the best solution would
:>be.
:>
:>Currently im thinking of 2 boxes..
:>
:>1) a P2/300 with 512mb ram, 1 2gb root disk, 1 2gb /news and probably a
:> 72gb raid 0 /news/spool/news. This is going to be the 'remote spool'
:> box.
:>
:>2) a P2/300 with 512mb ram, 1 2gb root disk, 2x9gb /news/spool/group and
:> 2x9gb /news/spool/cache (both software raid 0). This is the actual
:> reader box, with an 18gb local cache. (if necessary I can set up
:> several of these in the future).
:>
:>Box 1 will be fed by an already existing diablo transit server.
:>
:>Matt, if you read this, do you think this is an ok setup? This is for
:>currently about 300 readers.
:>
:>Regards,
:>
:>Cor Bosman
That actually sounds like a pretty good configuration. It will
definitely work, though /news/spool/cache operation has never been
tested well and may not scale due to the one-article-per-file storage
method. If the first box is on the same lan as the second box, the
second box does *not* need to run with the article cache turned on.
I would definitely experiment.
My nntp3.ba.best.com box is running 430+ users in duel P2/300 3x18GB
stripe configuration, with the feeder and reader running on the same
box. I'm still working on a few performance issues and a known VM
bug in FreeBSD-current.
My current disk configuration is to stripe /news, /news/spool/group,
and /news/spool/news across the same three 18G drives. It works just fine
though if I had it to do over again (and I'll probably redo it once before
I go production on the box), I'd stripe the drives into a single ccd device
and the partition the ccd device.
/dev/ccd0d 3051814 2112397 695272 75% /news
/dev/ccd1d 9397795 4511572 4134400 52% /news/spool/group
/dev/ccd2d 39882628 34617081 2074937 94% /news/spool/news
(side note: /news is mostly taken up by the FreeBSD-current CVS tree and
source, it doesn't actually use 2GB just for /news :-)).
nntp3:/news> ls -la dhistory dactive.kp
-rw-r--r-- 1 news news 4368274 Aug 24 10:11 dactive.kp
-rw-r--r-- 1 news news 201013264 Aug 24 10:11 dhistory
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: Diablo 1.16-test15 available
Author: Cor Bosman
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
46 lines
2584 bytes
2584 bytes
dillon@best.net (Matt Dillon) writes: >:>Matt, if you read this, do you think this is an ok setup? This is for >:>currently about 300 readers. >:> >:>Regards, >:> >:>Cor Bosman > That actually sounds like a pretty good configuration. It will > definitely work, though /news/spool/cache operation has never been > tested well and may not scale due to the one-article-per-file storage > method. If the first box is on the same lan as the second box, the > second box does *not* need to run with the article cache turned on. > I would definitely experiment. Hi Matt, they are indeed on the same lan (100mbit switched). I'll experiment with both caching and no caching. I figured with caching it would scale better over multiple cache servers. And knowing what users normally read, a little caching probably does work. Else im not sure what the benefit would be with using the cache server at all. Maybe just the 1 'spool server' would be enough, running both diablo and dreaderd. > My nntp3.ba.best.com box is running 430+ users in duel P2/300 3x18GB > stripe configuration, with the feeder and reader running on the same > box. I'm still working on a few performance issues and a known VM > bug in FreeBSD-current. > My current disk configuration is to stripe /news, /news/spool/group, > and /news/spool/news across the same three 18G drives. It works just fine > though if I had it to do over again (and I'll probably redo it once before > I go production on the box), I'd stripe the drives into a single ccd device > and the partition the ccd device. I must admit I need to get used to disks bigger than 4gb in the same sentence as 'news server' :). You dont get any spindle performance issues with 18gb disks? Regards, Cor -- ---- <Rolf> spam moet je niet te streng bestrijden
Re: Diablo 1.16-test15 available
Author: bill davidsen
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
28 lines
2235 bytes
2235 bytes
In article <6rskq0$rhr$1@xs3.xs4all.nl>, Cor Bosman <cor@xs3.xs4all.nl> wrote: | Hi Matt, they are indeed on the same lan (100mbit switched). I'll experiment | with both caching and no caching. I figured with caching it would scale | better over multiple cache servers. And knowing what users normally read, | a little caching probably does work. Else im not sure what the benefit | would be with using the cache server at all. Maybe just the 1 'spool server' | would be enough, running both diablo and dreaderd. After doing evaluation, I can tell you that on a server with 400-1200 users concurrent depending on time of day, all the articles read in a 24hr period will usually fit in 2GB with a bit of room left over. Of course, your readers may be interested in a broader sebject selection than mine, but then the individual articles will be smaller. ================================================================ Due to a lightning strike on the TMR offices at 0055 Aug 24, all mail to anyone at tmr.com will be received on a backup machine and may not be read until September. Do not expect fast response from anyone, anyone not on vacation is *busy*. Yes, we had both surge protectors and UPS protection... -- Bill Davidsen, <davidsen@tmr.com> CTO, TMR Associates, Inc Doing interesting things with small computers since 1979.
Re: Diablo 1.16-test15 available
Author: Steve Rawlinson
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
22 lines
1117 bytes
1117 bytes
> There is also a reported history file corruption bug with the new > append mechanism but I haven't been able to reproduce it. Only one > report. I had this problem with test-14. Every diablo process fired up hit what looked like an infinite loop until the load average went to 50. Running didump on the historyfile seemed to fix it. Incidentally is there an easy way to menually add a newsgroup to the reader without running dkp once for every token? steve -- Steve Rawlinson ClaraNet Systems steve@clara.net 0171 903 3000
Re: Diablo 1.16-test15 available
Author: Dan Foster
Date: Mon, 24 Aug 1998 00:00
Date: Mon, 24 Aug 1998 00:00
9 lines
877 bytes
877 bytes
In article <6rs6f1$aq7$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote: > (become root, restart the news system) Any plans to have an inndstart-like option? (suid root to bind() to ports, and ....) -Dan
Re: Diablo 1.16-test15 available
Author: Koos de Haan
Date: Tue, 25 Aug 1998 00:00
Date: Tue, 25 Aug 1998 00:00
24 lines
1480 bytes
1480 bytes
In article <6rskq0$rhr$1@xs3.xs4all.nl>, cor@xs3.xs4all.nl says... > dillon@best.net (Matt Dillon) writes: > > I must admit I need to get used to disks bigger than 4gb in the same sentence > as 'news server' :). You dont get any spindle performance issues with 18gb > disks? Hi, We are running a test newsserver (INN-2.1 CNFS) with two 18 Gb disk for storage, Two striped 4 Gb disks for history and two striped 4Gb disks for overview. After a few days of running it seems that at the moment most disk activity is on the stripe with the history on it. The 18 Gb drives are not the bottleneck. (btw the OS is NetBSD 1.3.2) Regards, Koos de Haan
Re: Diablo 1.16-test15 available
Author: patricks
Date: Wed, 26 Aug 1998 00:00
Date: Wed, 26 Aug 1998 00:00
18 lines
1238 bytes
1238 bytes
On 24 Aug 1998, Matt Ranney wrote: > cor@xs3.xs4all.nl (Cor Bosman) writes: > > [...] > > I must admit I need to get used to disks bigger than 4gb in the same sentence > > as 'news server' :). You dont get any spindle performance issues with 18gb > > disks? > > I'm running with 4x18GB UW drives, striped by the Linux kernel, and > performance is really quite good. Cheetah or Barracuda? -Pat
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