🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Matt Dillon Wed, 22 Jul 1998 00:00
Heh, word finally got out re: open diablo reader, getting good load testing now.
#29970
Author: Matt Dillon
Date: Wed, 22 Jul 1998 00:00
112 lines
7076 bytes
    Heh, word finally got out that I was running an open-reader 
    (nntp3.ba.best.com) Took a whole 2 weeks!  There are now around 100
    active connections, verses 10 a week ago, and no real loss in 
    responsiveness as far as I can tell.

    Of course, most of the bozos are reading the sex groups.  But some aren't,
    so it isn't a total waste.  The activitity has pointed out a few more 
    minor bugs such as /news/log/dreaderd.status getting out of whack after 
    a while, and the ps-status-line counters getting somewhat out of whack...
    and sometimes the reverse auth can get stuck (I have to add some timeout 
    code).  

    But there doesn't appear to be any file descriptor leakage, which is good.
    I don't know about memory leaks yet, it's kinda hard to tell due to all 
    the mmap()ing that goes on but I think I'm sitting pretty good in that 
    department too.  When I look at the /proc/pid/map only around 1.5 MBytes
    of the RSS for any given reader process is from private allocation.  The 
    rest is from shared ro mmaps.  So I am currently sitting at around 
    15MBytes/100-connections = 153K/connection non-inclusive of caching. 
    I hope to improve on that but it's already damn good.

						-Matt

ps aux | fgrep drea
news   15613  0.0  0.0  1176  308  ??  S    Sun10PM   1:27.39 dreaderd: Connect=38496 Failed=0 Dns=1/5 Act=95/200 (dreaderd)
news   15614  0.0  0.0 11368 6328  ??  S    Sun10PM  42:31.87 dreaderd: reader readers=09 spoolsrv=7/8 postsrv=7/8 (dreaderd)
news   15616  0.0  0.0 11824 2984  ??  S    Sun10PM  26:38.77 dreaderd: reader readers=10 spoolsrv=6/7 postsrv=6/7 (dreaderd)
news   15617  0.0  0.0 11932 3544  ??  S    Sun10PM  25:11.24 dreaderd: reader readers=10 spoolsrv=7/8 postsrv=7/8 (dreaderd)
news   15620  0.0  0.0 10676 3876  ??  S    Sun10PM  22:37.03 dreaderd: reader readers=09 spoolsrv=7/8 postsrv=7/8 (dreaderd)
news   21645  0.0  0.0 12356 6128  ??  S    Mon11PM  10:09.28 dreaderd: reader readers=09 spoolsrv=0/1 postsrv=0/1 (dreaderd)
news   24027  0.0  0.0 11164 4364  ??  S    Tue03PM  15:28.84 dreaderd: reader readers=09 spoolsrv=0/1 postsrv=0/1 (dreaderd)
news   24092  0.0  0.0 12224 5376  ??  S    Tue03PM  16:56.16 dreaderd: reader readers=10 spoolsrv=0/1 postsrv=0/1 (dreaderd)
news   24539  0.0  0.0 11996 4100  ??  S     7:09PM  10:49.46 dreaderd: reader readers=09 spoolsrv=0/1 postsrv=0/1 (dreaderd)
news   26720  0.0  0.0 10744 2844  ??  S    10:28AM   4:42.42 dreaderd: reader readers=09 spoolsrv=0/1 postsrv=0/1 (dreaderd)
news   26925  0.0  0.0 10296 6860  ??  S    11:53AM   3:57.18 dreaderd: reader readers=10 spoolsrv=0/1 postsrv=0/1 (dreaderd)
news   15624  0.0  0.0  1112  264  ??  I    Sun10PM   1:35.57 dreaderd: reverse auth 141.43.12.56 (dreaderd)
news   15625  0.0  0.0  1112  264  ??  S    Sun10PM   0:30.82 dreaderd: dns idle (dreaderd)
news   15626  0.0  0.0  1112  268  ??  S    Sun10PM   0:10.19 dreaderd: dns idle (dreaderd)
news   15627  0.0  0.0  1112  268  ??  I    Sun10PM   0:03.21 dreaderd: dns idle (dreaderd)
news   15628  0.0  0.0  1112  272  ??  I    Sun10PM   0:01.08 dreaderd: dns idle (dreaderd)

    This also appears to be proving out the 18G seagate drives I am running on
    the test box.  I think I can safely recommend striped 18G drive
    configurations for Diablo now.  I am using 3x18G on this particular 
    machine, with /news/spool/group, /news/spool/news, and /news all striped
    across the same three physical drives (9G /news/spool/group, 40GB spool,
    and 5G /news).

sd1 at scbus0 target 1 lun 0
sd1: <SEAGATE ST118273W 5764> type 0 fixed SCSI 2
sd1: Direct-Access 17366MB (35566480 512 byte sectors)
sd1: with 7501 cyls, 20 heads, and an average 237 sectors/track
sd2 at scbus0 target 2 lun 0
sd2: <SEAGATE ST118273W 5764> type 0 fixed SCSI 2
sd2: Direct-Access 17366MB (35566480 512 byte sectors)
sd2: with 7501 cyls, 20 heads, and an average 237 sectors/track
sd3 at scbus0 target 3 lun 0
sd3: <SEAGATE ST118273W 5764> type 0 fixed SCSI 2
sd3: Direct-Access 17366MB (35566480 512 byte sectors)
sd3: with 7501 cyls, 20 heads, and an average 237 sectors/track

    nntp3:/news# cat /etc/ccd.conf
    ccd0    128     none    /dev/sd1d       /dev/sd2d       /dev/sd3d
    ccd1    128     none    /dev/sd1e       /dev/sd2e       /dev/sd3e
    ccd2    128     none    /dev/sd1f       /dev/sd2f       /dev/sd3f

    I think I used too small a stripe.  While disk activity is even,
    the accesses are parallelizing across multiple drives too often. 
    But Diablo appears to have no problem in spite of that.  With
    100 active readers, 3x18G drives and 256MB of ram the I/O 
    statistics are impressively low.

nntp3:/news# iostat 1
      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    7   3   0  0.0  281  17  0.0  284  17  0.0  281  17  0.0   2  0  4  2 92
   0   41   0   0  0.0  202  10  0.0  107   7  0.0   87   5  0.0   3  0  2  1 95
   0   41   0   0  0.0  127   8  0.0  180  12  0.0  137   9  0.0   2  0  5  7 87
   0   40   4   0  0.0  250   9  0.0  213   6  0.0  315  13  0.0   4  0  6  5 85
   0   41   0   0  0.0   87   2  0.0    8   1  0.0   84   3  0.0   2  0  3  2 93
   0   41   0   0  0.0  345  22  0.0  320  22  0.0  313  21  0.0   2  0  8  3 86
   0   40   0   0  0.0  172   9  0.0  208  13  0.0  102   5  0.0   1  0  5  3 90
   0   41   0   0  0.0  309  20  0.0  399  25  0.0  377  24  0.0   2  0  2  2 93

    Most of the I/O is actually due to the header-only feed.  I am
    estimating that this machine configuration will be able to handle
    at least 800 active connections and should be able to scale up
    beyond that simply with the addition of more ram.

    Expiration is finally starting to stabilize.  There are 1736 spool
    directories yielding a nominal expiration of 10 days w/ the 40G spool,
    with binary postings getting a very short (1 day or less) expire 
    (using the 'b' option).

    My dexpire.ctl file is currently this:

*:100:c0.95:m1m:b1500:x14
*.advocacy:50:x7
*.test:20
alt.*:80:x10
*.binaries.*:50:x7
control.*:80
control.cancel:20

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: Heh, word finally got out re: open diablo reader, getting good load testing now.
#29991
Author: Frank Ederveen
Date: Thu, 23 Jul 1998 00:00
30 lines
1603 bytes
Matt Dillon wrote:
>     Expiration is finally starting to stabilize.  There are 1736 spool
>     directories yielding a nominal expiration of 10 days w/ the 40G spool,
>     with binary postings getting a very short (1 day or less) expire
>     (using the 'b' option).
> 
>     My dexpire.ctl file is currently this:
> 
> *:100:c0.95:m1m:b1500:x14
> *.advocacy:50:x7
> *.test:20
> alt.*:80:x10
> *.binaries.*:50:x7
> control.*:80
> control.cancel:20

Maybe a stupid question but better ask anyhow; do you run
both diablo and dreaderd on this machine, so the 40G is
filled with a real feed, or is this just cache and you 
have another big chunk of disks on some other machine as
article server?

Being able to use the 18G drives is good news, especially
if that also goes for the back end or article servers. 
Shouldn't be so difficult then to build something to store 
news for a decent time =)

FrankE

Re: Heh, word finally got out re: open diablo reader, getting good load testing now.
#29993
Author: Matt Dillon
Date: Thu, 23 Jul 1998 00:00
45 lines
2516 bytes
:In article <35B6EB5A.D040D4D9@nl.uu.net>,
:Frank Ederveen  <franke@nl.uu.net> wrote:
:>Matt Dillon wrote:
:>>     Expiration is finally starting to stabilize.  There are 1736 spool
:>>     directories yielding a nominal expiration of 10 days w/ the 40G spool,
:>>     with binary postings getting a very short (1 day or less) expire
:>>     (using the 'b' option).
:>
:>Maybe a stupid question but better ask anyhow; do you run
:>both diablo and dreaderd on this machine, so the 40G is
:>filled with a real feed, or is this just cache and you 

    Yes, I'm running diablo and dreaderd on the same machine.  I've
    tested it with both the diablo feeder mastering article numbers
    and Xref: headers, and with dreaderd mastering article numbers
    and Xref: headers.  At the moment I have the feeder mastering
    the article numbers & Xref: headers.

    So the 40G spool is a 'diablo feeder spool'.  I have caching turned
    off on the reader side.

:>Being able to use the 18G drives is good news, especially
:>if that also goes for the back end or article servers. 
:>Shouldn't be so difficult then to build something to store 
:>news for a decent time =)
:>
:>FrankE

    Yah, my thoughts exactly.  It seems silly to spend lots of 
    money on big disk arrays for something like USENET news.  I can
    see it for archiving purposes (for anyone crazy enough to try to
    archive the USENET), but not for handling a typical reader
    system.

    I'm up to 1839 spool directories = 12 days now.  Not bad... this is
    definitely workable for anyone willing to short-sheet large binaries.

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

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