Thread View: news.software.nntp
1 messages
1 total messages
Started by Matt Dillon
Thu, 20 Feb 1997 00:00
Diablo V1.03 Beta released
Author: Matt Dillon
Date: Thu, 20 Feb 1997 00:00
Date: Thu, 20 Feb 1997 00:00
242 lines
19797 bytes
19797 bytes
Diablo V1.03 beta is now available at http://www.backplane.com/diablo/
Diablo is a news *transit* system, capable of taking in inn streaming
or non streaming feeds, and pushing out streaming or non streaming
feeds. Diablo is strictly a transit system, it does not understand
the NNTP command set and it's spool is not compatible with INN.
Diablo is designed to run on a dedicated transit newsfeeds machine.
It is currently in use at a number of places, including it's primary
testbed site (BEST Internet).
A number of bugs have been fixed since the first release:
* two serious file descriptor leaks were fixed.
* memory allocation for main-server pipe and file feed buffers
now uses mmap(), allowing the buffers to be munmap()'d when
the server forks, which saves significant memory when Diablo
is dealing with a large number of simultanious incoming
connections.
* the crontab samples and scripts have been somewhat revised.
(specifically, the quadhr expire crontab example was running the
script once a minute for 60 minutes times six rather then
running it once every 4 hours)
* there are now more porting options in lib/config.h (this area
still needs a lot of work).
* other miscellanious items added, fixed, or made more efficient.
A typical 'ps' and 'netstat' dump follows, taken from BEST's
news1.best.com machine, showing typical machine loads for a heavy
(60+ feeds, 10 of which are fully transited full feeds). I am
posting this information in an attempt to get serious news admins
interested in Diablo for news transit.
WARNING, This requires a WIDE window to view properly.
Incoming feeds.. note that most of the RSS is a
shared read-only mmap().
news1:/news> ps axl | fgrep diablo
8 4626 1 8 2 4 248 836 select SN ?? 15:01.82 dbin/diablo -p news1.best.com server
8 6515 4626 6 2 4 364 792 netio SN ?? 0:22.55 dbin/diablo -p news1.best.com server ihav=0 chk=1366 rec=846 ent=478 bsd.fs.bauing.th-darmst
8 6750 4626 4 2 4 364 1020 netio SN ?? 0:01.08 dbin/diablo -p news1.best.com server ihav=0 chk=4839 rec=19 ent=13 not.hooked.net
8 6751 4626 12 2 4 364 836 netio IN ?? 0:20.19 dbin/diablo -p news1.best.com server ihav=0 chk=3312 rec=438 ent=336 news.sgi.com
8 6765 4626 10 2 4 364 688 netio IN ?? 0:13.18 dbin/diablo -p news1.best.com server ihav=0 chk=2449 rec=217 ent=194 news.sgi.com
8 6766 4626 10 2 4 364 876 netio IN ?? 0:06.94 dbin/diablo -p news1.best.com server ihav=0 chk=917 rec=101 ent=94 news.sgi.com
8 6767 4626 7 2 4 364 716 netio IN ?? 0:01.93 dbin/diablo -p news1.best.com server ihav=0 chk=394 rec=26 ent=25 news.sgi.com
8 6769 4626 4 2 4 364 856 netio SN ?? 0:00.66 dbin/diablo -p news1.best.com server ihav=0 chk=2838 rec=7 ent=7 not.hooked.net
8 6992 4626 0 36 4 364 1544 - RN ?? 0:02.71 dbin/diablo -p news1.best.com server ihav=0 chk=7054 rec=31 ent=28 hole.sdsu.edu
8 7012 4626 9 2 4 364 724 netio IN ?? 0:05.84 dbin/diablo -p news1.best.com server ihav=0 chk=793 rec=74 ent=71 news.sgi.com
8 7016 4626 4 2 4 364 572 netio SN ?? 0:00.19 dbin/diablo -p news1.best.com server ihav=0 chk=828 rec=0 ent=0 not.hooked.net
8 7017 4626 5 2 4 364 440 netio IN ?? 0:00.08 dbin/diablo -p news1.best.com server ihav=0 chk=258 rec=0 ent=0 not.hooked.net
8 7138 4626 7 2 4 368 620 netio SN ?? 0:04.05 dbin/diablo -p news1.best.com server ihav=0 chk=2047 rec=545 ent=340 newshub1.home.com
8 7500 4626 4 2 4 364 428 netio IN ?? 0:00.05 dbin/diablo -p news1.best.com server ihav=0 chk=82 rec=0 ent=0 hole.sdsu.edu
8 7901 4626 8 2 4 364 616 netio IN ?? 0:00.35 dbin/diablo -p news1.best.com server ihav=0 chk=402 rec=17 ent=15 news.this.com
8 7907 4626 6 2 4 364 2428 netio SN ?? 0:00.75 dbin/diablo -p news1.best.com server ihav=2070 chk=0 rec=1 ent=1 news-out.internetmci.co
8 8027 4626 6 2 4 364 468 netio IN ?? 0:00.07 dbin/diablo -p news1.best.com server ihav=0 chk=2 rec=2 ent=2 kitty.slip.net
8 8039 4626 4 2 4 364 1092 netio SN ?? 0:00.51 dbin/diablo -p news1.best.com server ihav=432 chk=0 rec=22 ent=22 jupiter.dnai.com
8 8040 4626 6 2 4 364 632 netio SN ?? 0:00.06 dbin/diablo -p news1.best.com server ihav=79 chk=0 rec=0 ent=0 gorgor.pa.tetherless.co
8 8147 4626 9 2 4 364 744 netio SN ?? 0:02.37 dbin/diablo -p news1.best.com server ihav=0 chk=53 rec=290 ent=257 nntp04.primenet.com
8 8151 4626 6 2 4 364 776 netio SN ?? 0:00.13 dbin/diablo -p news1.best.com server ihav=92 chk=0 rec=4 ent=4 miwok.nbn.com
8 8152 4626 9 2 4 364 684 netio IN ?? 0:00.07 dbin/diablo -p news1.best.com server ihav=112 chk=0 rec=0 ent=0 hpsdlo.sdd.hp.com
8 8156 4626 6 2 4 364 1436 netio SN ?? 0:00.08 dbin/diablo -p news1.best.com server ihav=0 chk=304 rec=0 ent=0 news2.brainstorm.net
Outgoing feeds (managed by dspoolout)
news1:/news> ps axl | fgrep dnewslink
8 1703 1 0 2 0 224 676 netio S ?? 0:10.43 dnewslink -h noos.hooked.net -b hooked.S%05d -S 6219 -N 32 -D
8 4518 1 0 2 0 212 664 netio I ?? 0:34.75 dnewslink -h lanshark.lanminds.com -b lanminds.S%05d -S 6362 -N 32 -D
8 4779 1 0 2 0 224 676 netio S ?? 0:21.06 dnewslink -h newshub.sirius.com -b sirius.S%05d -S 1802 -N 32 -D
8 5003 1 0 2 0 212 664 netio I ?? 0:30.81 dnewslink -h lanshark.lanminds.com -b lanminds.S%05d -S 6366 -N 32 -D
8 5235 1 0 2 0 212 664 netio S ?? 0:08.92 dnewslink -h news.ico.net -b ico.S%05d -S 5878 -N 32 -D
8 5239 1 0 2 0 224 676 netio S ?? 0:07.20 dnewslink -h noos.hooked.net -b hooked.S%05d -S 6223 -N 32 -D
8 5631 1 2 2 0 224 676 netio S ?? 0:18.78 dnewslink -h oracle.community.net -b community.S%05d -S 1836 -N 32 -D
8 5699 1 0 2 0 224 676 netio S ?? 0:16.40 dnewslink -h oldnntp.best.com -b nntp1.S%05d -S 6400 -N 32 -D
8 5755 1 0 2 0 224 676 netio S ?? 0:17.28 dnewslink -h news.tetherless.net -b tetherless.S%05d -S 1835 -N 32 -D
8 5878 1 0 2 0 224 676 netio S ?? 0:17.43 dnewslink -h news.tetherless.net -b tetherless.S%05d -S 1837 -N 32 -D
8 6050 1 0 2 0 224 676 netio S ?? 0:14.93 dnewslink -h oldnntp.best.com -b nntp1.S%05d -S 6402 -N 32 -D
8 6051 1 0 2 0 224 676 netio I ?? 0:14.10 dnewslink -h oldnntp.best.com -b nntp1.S%05d -S 6403 -N 32 -D
8 6345 1 0 2 0 224 676 netio S ?? 0:13.72 dnewslink -h oracle.community.net -b community.S%05d -S 1842 -N 32 -D
8 6418 1 0 2 0 224 676 netio S ?? 0:09.84 dnewslink -h oldnntp.best.com -b nntp1.S%05d -S 6405 -N 32 -D
8 6469 1 2 2 0 224 676 netio S ?? 0:21.32 dnewslink -h news.sfo.com -b sfo.S%05d -S 1886 -N 32 -D
8 6715 1 1 2 0 224 676 netio S ?? 0:15.97 dnewslink -h news.sfo.com -b sfo.S%05d -S 1888 -N 32 -D
8 6840 1 0 2 0 224 676 netio S ?? 0:07.42 dnewslink -h newshub.sirius.com -b sirius.S%05d -S 1820 -N 32 -D
8 6852 1 0 2 0 224 680 netio S ?? 0:06.54 dnewslink -h news2.slip.net -b slip.S%05d -S 1844 -N 32 -D
8 7207 1 0 2 0 168 608 netio I ?? 0:00.01 dnewslink -h news.pixi.com -b pixi.S%05d -S 1821 -N 32 -D
8 7223 1 0 2 0 212 664 netio S ?? 0:05.44 dnewslink -h news.biz.net -b biz.S%05d -S 1873 -N 32 -D
8 7362 1 0 2 0 224 676 netio S ?? 0:13.62 dnewslink -h news.via.net -b via.S%05d -S 802 -N 32 -D
8 7414 1 0 2 0 212 664 netio S ?? 0:01.85 dnewslink -h news.ico.net -b ico.S%05d -S 5897 -N 32 -D
8 7432 1 0 2 0 212 664 netio S ?? 0:02.04 dnewslink -h miwok.nbn.com -b nbn.S%05d -S 6385 -N 32 -D
8 7433 1 0 2 0 212 664 netio S ?? 0:02.02 dnewslink -h miwok.nbn.com -b nbn.S%05d -S 6386 -N 32 -D
8 7451 1 0 2 0 224 676 netio I ?? 0:00.94 dnewslink -h news.dnai.com -b dnai.S%05d -S 1823 -N 32 -D
8 7483 1 0 2 0 224 676 netio S ?? 0:01.05 dnewslink -h news.archive.org -b archive.S%05d -S 1823 -N 32 -D
8 7555 1 0 2 0 208 664 netio I ?? 0:00.18 dnewslink -h newsfeed1.aimnet.com -b aimnet2.S%05d -S 6184 -N 32 -D
8 7571 1 1 2 0 224 680 netio S ?? 0:06.60 dnewslink -h newshub.sdsu.edu -b sdsu.S%05d -S 6281 -N 32 -D
8 7583 1 0 2 0 212 664 netio S ?? 0:01.69 dnewslink -h miwok.nbn.com -b nbn.S%05d -S 6387 -N 32 -D
8 7598 1 0 2 0 224 676 netio I ?? 0:01.49 dnewslink -h news.dnai.com -b dnai.S%05d -S 1824 -N 32 -D
8 7630 1 0 2 0 212 664 netio S ?? 0:03.56 dnewslink -h phcomm2.phc.net -b phc.S%05d -S 1824 -N 32 -D
8 7727 1 0 2 0 168 608 netio I ?? 0:00.01 dnewslink -h news.sprintlink.net -b sprintlink.S%05d -S 1824 -N 32 -D
8 7753 1 0 2 0 212 664 netio S ?? 0:03.35 dnewslink -h news.biz.net -b biz.S%05d -S 1877 -N 32 -D
8 7754 1 0 2 0 224 676 netio S ?? 0:04.54 dnewslink -h news2.slip.net -b slip.S%05d -S 1851 -N 32 -D
8 7759 1 1 2 0 212 664 netio S ?? 0:02.59 dnewslink -h phcomm2.phc.net -b phc.S%05d -S 1825 -N 32 -D
8 7760 1 0 2 0 224 676 netio S ?? 0:01.14 dnewslink -h news.archive.org -b archive.S%05d -S 1825 -N 32 -D
8 7775 1 1 2 0 224 676 netio S ?? 0:08.12 dnewslink -h news.via.net -b via.S%05d -S 805 -N 32 -D
8 7806 1 0 2 0 224 676 netio S ?? 0:00.51 dnewslink -h newsfeed1.aimnet.com -b aimnet2.S%05d -S 6187 -N 32 -D
8 7821 1 0 2 0 224 680 netio S ?? 0:03.84 dnewslink -h newshub.sdsu.edu -b sdsu.S%05d -S 6283 -N 32 -D
8 7849 1 0 2 0 224 676 netio I ?? 0:00.56 dnewslink -h news.sprintlink.net -b sprintlink.S%05d -S 1826 -N 32 -D
8 7933 1 0 2 0 224 676 netio S ?? 0:00.31 dnewslink -h newsfeed1.aimnet.com -b aimnet2.S%05d -S 6188 -N 32 -D
8 7988 1 0 2 0 224 676 netio S ?? 0:01.64 dnewslink -h newshub.sirius.com -b sirius.S%05d -S 1827 -N 32 -D
8 8006 1 0 2 0 212 664 netio S ?? 0:01.10 dnewslink -h phcomm2.phc.net -b phc.S%05d -S 1827 -N 32 -D
8 8065 1 0 2 0 212 668 netio I ?? 0:00.42 dnewslink -h best.nntp.texas.net -b texas.S%05d -S 6445 -N 32 -D
8 8066 1 0 2 0 224 676 netio S ?? 0:00.18 dnewslink -h news.demos.su -b demos.S%05d -S 6436 -N 32 -D
8 8071 1 0 2 0 212 664 netio I ?? 0:00.12 dnewslink -h nntp-best.primenet.com -b primenet.S%05d -S 6439 -N 32 -D
8 8097 1 1 2 0 212 668 netio S ?? 0:00.79 dnewslink -h news.dnai.com -b dnai.S%05d -S 1828 -N 32 -D
8 8099 1 1 2 0 168 608 netio I ?? 0:00.01 dnewslink -h newsfeed.internetmci.com -b internetmci.S%05d -S 1828 -N 32 -D
8 8126 1 0 2 0 200 656 netio S ?? 0:00.71 dnewslink -h news.biz.net -b biz.S%05d -S 1879 -N 32 -D
8 8180 1 0 2 0 212 668 netio S ?? 0:02.04 dnewslink -h nntp1.ba.best.com -b nntp1ba.S%05d -S 6440 -N 32 -D
8 8183 1 0 2 0 200 640 netio S ?? 0:00.10 dnewslink -h sdd.hp.com -b hp.S%05d -S 6443 -N 32 -D
8 8189 1 1 2 0 212 668 netio S ?? 0:00.40 dnewslink -h best.nntp.texas.net -b texas.S%05d -S 6446 -N 32 -D
8 8190 1 0 2 0 200 652 netio S ?? 0:00.19 dnewslink -h news.ico.net -b ico.S%05d -S 5902 -N 32 -D
8 8191 1 1 2 0 220 660 netio S ?? 0:00.07 dnewslink -h news.demos.su -b demos.S%05d -S 6437 -N 32 -D
8 8194 1 3 2 0 212 668 netio S ?? 0:02.43 dnewslink -h news2.brainstorm.net -b brainstorm.S%05d -S 6446 -N 32 -D
8 8195 1 0 2 0 200 652 netio S ?? 0:00.42 dnewslink -h news.ictv.com -b ictv.S%05d -S 6444 -N 32 -D
8 8206 1 1 2 0 212 668 netio S ?? 0:01.21 dnewslink -h seashell.california.com -b california.S%05d -S 6439 -N 32 -D
8 8212 1 3 2 0 212 668 netio S ?? 0:00.84 dnewslink -h newshub1.home.com -b athome.S%05d -S 6439 -N 32 -D
8 8215 1 0 2 0 208 664 netio S ?? 0:00.11 dnewslink -h news.navio.com -b navio.S%05d -S 6392 -N 32 -D
8 8233 1 0 2 0 208 660 netio S ?? 0:00.04 dnewslink -h news.pixi.com -b pixi.S%05d -S 1829 -N 32 -D
8 8234 1 3 2 0 212 668 netio S ?? 0:01.27 dnewslink -h news.tdl.com -b tdl.S%05d -S 2077 -N 32 -D
8 8241 1 5 2 0 212 668 netio S ?? 0:00.87 dnewslink -h news.greatbasin.net -b greatbasin.S%05d -S 2077 -N 32 -D
8 8267 1 13 2 0 208 664 netio I ?? 0:00.06 dnewslink -h hunter.premier.net -b premier.S%05d -S 329 -N 32 -D
8 8268 1 27 2 0 204 652 netio I ?? 0:00.05 dnewslink -h hunter.premier.net -b premier.S%05d -S 331 -N 32 -D
8 8288 8159 18 32 0 176 64 - R+ p1 0:00.00 fgrep dnewslink
Typical network traffic... 60 outgoing feeds. This is typical 24 hours
a day. Incoming packet traffic is significantly greater when the
news machine has gotten behind.
Note that the netstat is on a 10-second basis, so divide the bytes field
by 10. i.e. the machine is taking in on the order of 100 KBytes/sec
and pushing out between 270 KBytes/sec and 600 KBytes/sec (the 24 hour
average is around 350 KBytes/sec outgoing). This particular machine
has around 60 outgoing feeds, 10 of which are fully transited, and
a total of (at a guess) around 25 which could be considered full feeds.
news1:/news> netstat -in 10
input (Total) output
packets errs bytes packets errs bytes colls
2398 0 447055 3676 0 2693448 670
2436 0 294792 3931 0 2931340 645
2104 0 366575 3174 0 2165072 387
1931 0 658910 2338 0 1495233 327
2544 0 784931 3962 0 2709945 850
4442 0 1215012 7208 0 5260173 2355
4792 0 1207192 7805 0 5762857 2586
4314 0 946839 8663 0 6037658 2673
4476 0 1433485 8201 0 5118490 2536
4686 0 1372372 8219 0 6559028 2901
4471 0 983074 7929 0 6230314 2518
4441 0 1141941 7165 0 5532833 2387
4805 0 1529364 7807 0 6271262 2664
4956 0 2093816 8115 0 5878720 2824
Typical VM traffic. Machine has 128 MB of ram. Around 45 MB is
typically free (which FreeBSD uses as a buffer cache). The cpu
(200 MHz pentium pro) is typically 70% idle or better. The disks
are typically heavily loaded at all times, but the server doesn't
generally notice it since it is not single-threaded.
This particular machine is configured with three 4G drives. One
is used for /news, the other two or striped together into a single
8G spool (the spool does not need to be large for a transit newsfeeds
machine).
news1:/news> vmstat 10
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr s0 s1 s2 f0 in sy cs us sy id
4 0 0 430.0 44.9 73 31 1 0 62 73 38 43 33 0 1028 2097 406 8 13 79
3 0 0 430.0 44.2 70 32 1 0 16 0 30 48 28 0 1597 3114 541 11 18 71
0 0 0 421.1 44.1 45 36 0 0 63 0 33 38 30 0 1379 2726 458 8 14 78
Typically, the machine does not swap at all. In fact, it's important
to have enough free memory to cache the spool in a reasonable fashion.
news1:/news> pstat -s
Device 1K-blocks Used Avail Capacity Type
/dev/sd0b 131072 9732 121276 7% Interleaved
news1:/news>
A systat snapshot is shown below. The values shown are typical
once the machine has stabilized (16 days of operation from ground zero).
2 users Load 0.26 0.47 0.52 Thu Feb 20 23:42
Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER
Tot Share Tot Share Free in out in out
Act 46088 26856 405812 373884 44688 count
All 127488 59456 1236572 1081776 pages
cow Interrupts
Proc:r p d s w Csw Trp Sys Int Sof Flt 1 zfod 1497 total
3 66 431 20 2409 1537 209 18 23348 wire 1369 clk0 irq0
51828 act 128 rtc0 irq8
9.3%Sys 4.8%Intr 5.9%User 2.2%Nice 77.8%Idl 1064 inact fdc0 irq6
| | | | | | | | | | 44512 cache sc0 irq1
=====++>>>- 176 free
daefr
Namei Name-cache Proc-cache prcfr
Calls hits % hits % 55 react
1339 1215 91 104 8 pdwake
pdpgs
Discs sd0 sd1 sd2 intrn
seeks 73 44 34 17577 buf
xfers 73 44 34
blks 563 171 121
msps
The dhistory file typically stabilizes at around 100 MBytes with
16 days worth of message-id's (approx 4.6 million message id's).
news1:/news> ls -lda dhistory
-rw-r--r-- 1 news news 97970544 Feb 20 23:33 dhistory
The spool directory, with a sub directory for each 10 minutes of
real time and an 8G spool typically contains 1335 sub-directories,
each containing, on average, 2000 article files.
news1:/news/spool> cd news
news1:/news/spool/news> ls -1 | wc
1335 1335 14682
-Matt
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