🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Chris Portman Mon, 31 Mar 1997 00:00
Diablo Questions
#16517
Author: Chris Portman
Date: Mon, 31 Mar 1997 00:00
34 lines
2277 bytes
We're looking at Diablo as a replacement for inn.  At the moment, we've got just 
under 175 news feeds, and well, IMO we're throwing too much hardware at it.

Initial testing shows that Diablo is pretty decent.  I wasn't particularly pleased 
with having to use a replacement "make" program, as make itself is fairly decent, 
and figuring out how xmake works, as well as having to get it and compile it was 
something of a pain.  Furthermore, it would have been nice if it had compile 
options for Solaris, as well as proper defines and testing done for Solaris 
compiles - it's still segfaulting whenever hosts connect to it without talk 
permission, something that I'll look into later.

My biggest concern right now is the amount of RAM allocated to each current 
inbound connection.  It seems that for each inbound feed, diablo forks, leaving 
you with an additional 20 megs required, per connect:

Sun Microsystems Inc.       SunOS 5.5       Generic November 1995
root@news /[1]: /usr/ucb/ps -aux|grep diablo
news      4689  4.3  2.118124 5980 ?        S 04:06:52  0:02 dbin/diablo -p tes
news      4637  2.4  1.918124 5396 ?        S 04:01:58  0:05 dbin/diablo -p tes
news     29233  0.5  0.4 1644 1060 ?        S 21:29:20  2:34 dbin/diablo -p tes
news      4683  0.3  0.918112 2508 ?        S 04:05:25  0:00 dbin/diablo -p tes
news      4639  0.2  0.618112 1704 ?        S 04:02:51  0:00 dbin/diablo -p tes
news      4573  0.0  0.518104 1396 ?        S 03:48:15  0:00 dbin/diablo -p tes
news      4634  0.0  0.518108 1324 ?        S 04:01:22  0:00 dbin/diablo -p tes

That aside, again, I'm moderately happy with it.  However, for curiousity's
sake, is there any other decent feeding software out there?

Cheers & thanks,

-Chris

Re: Diablo Questions
#16505
Author: Ragnar Lonn
Date: Mon, 31 Mar 1997 00:00
46 lines
2553 bytes
In article <5hnvo2$a9o@nr1.ottawa.istar.net>, Chris Portman 
<Chris.Portman@corp.iSTAR.ca> wrote:

>Initial testing shows that Diablo is pretty decent.  I wasn't particularly pleased 
>with having to use a replacement "make" program, as make itself is fairly
> decent, and figuring out how xmake works, as well as having to get it and compile it
> was something of a pain.  

I agree to some extent - as neither xmake nor Diablo compiled right out
of the box on my Solaris machine, I had to make two software packages
(of course, the xmake package is quite small) compile and work before
I could use Diablo. That was a drawback. If I had had less time I just 
might not have bothered because of it. But I guess Matt Dillon hasn't
got too much time left over either and it isn't exactly like he gets anything
by giving Diablo away to the public (except questions) so I'd say he's
entitled to use his own make and not bother with the standard version
if he wants to.

>Furthermore, it would have been nice if it had compile 
>options for Solaris, as well as proper defines and testing done for Solaris 
>compiles - it's still segfaulting whenever hosts connect to it without talk 
>permission, something that I'll look into later.
>

Yes. It would. You're probably more than welcome to provide these
compile options, defines, and do the testing, if you like.

>My biggest concern right now is the amount of RAM allocated to each current 
>inbound connection.  It seems that for each inbound feed, diablo forks, leaving 
>you with an additional 20 megs required, per connect:
>

Most of that is probably shared, MMAP:ed memory so it doesn't matter. What was
that command again...?  /usr/proc/bin/pmap?   /usr/proc/lib/pmap?  
Something like that. It shows the memory a process is using. 

>sake, is there any other decent feeding software out there?

NNTPrelay for Win NT, Cyclone for Solaris. The latter is commercial.

  /Ragnar, Algonet



Re: Diablo Questions
#16507
Author: Jeff Garzik
Date: Mon, 31 Mar 1997 00:00
33 lines
2120 bytes
Chris Portman wrote:
> Initial testing shows that Diablo is pretty decent.  I wasn't particularly pleased
> with having to use a replacement "make" program, as make itself is fairly decent,

Ditto, this was my only major beef with it.  Make works just fine, and
is on every other system in the known universe.  :)  If a software
developer wants to standardize, standardize on GNU make, which is
available on most systems already.

> My biggest concern right now is the amount of RAM allocated to each current
> inbound connection.  It seems that for each inbound feed, diablo forks, leaving
> you with an additional 20 megs required, per connect:

> Sun Microsystems Inc.       SunOS 5.5       Generic November 1995
> root@news /[1]: /usr/ucb/ps -aux|grep diablo
> news      4689  4.3  2.118124 5980 ?        S 04:06:52  0:02 dbin/diablo -p tes
> news      4637  2.4  1.918124 5396 ?        S 04:01:58  0:05 dbin/diablo -p tes

I asked this of another author in the newsgroup recently:  Look as ps
and top outputs, and compare.  top typically includes a "SHARED" number,
which is very important -- the amount of memory this process shared with
another.

Most processes on my Linux machine are at least 350k, but most of that
is the shared libc, so it's no big deal.  Look at how much memory is
*not* shared between the Diablo processes, and compare again.  I don't
have ready access to Solaris, but I'd be willing to bet either
/usr/bin/ps or /usr/ucb/ps will tell you the shared code+data size.

	Jeff

Re: Diablo Questions
#16520
Author: Matt Dillon
Date: Mon, 31 Mar 1997 00:00
94 lines
5726 bytes
:In article <5hnvo2$a9o@nr1.ottawa.istar.net>,
:Chris Portman  <Chris.Portman@corp.iSTAR.ca> wrote:
:>We're looking at Diablo as a replacement for inn.  At the moment, we've got just 
:>under 175 news feeds, and well, IMO we're throwing too much hardware at it.
:>
:>Initial testing shows that Diablo is pretty decent.  I wasn't particularly pleased 
:>with having to use a replacement "make" program, as make itself is fairly decent, 
:>and figuring out how xmake works, as well as having to get it and compile it was 
:>something of a pain.  Furthermore, it would have been nice if it had compile 
:>options for Solaris, as well as proper defines and testing done for Solaris 
:>compiles - it's still segfaulting whenever hosts connect to it without talk 
:>permission, something that I'll look into later.
:>
:>My biggest concern right now is the amount of RAM allocated to each current 
:>inbound connection.  It seems that for each inbound feed, diablo forks, leaving 
:>you with an additional 20 megs required, per connect:
:>
:>Sun Microsystems Inc.       SunOS 5.5       Generic November 1995
:>root@news /[1]: /usr/ucb/ps -aux|grep diablo
:>news      4689  4.3  2.118124 5980 ?        S 04:06:52  0:02 dbin/diablo -p tes
:>news      4637  2.4  1.918124 5396 ?        S 04:01:58  0:05 dbin/diablo -p tes
:>news     29233  0.5  0.4 1644 1060 ?        S 21:29:20  2:34 dbin/diablo -p tes
:>news      4683  0.3  0.918112 2508 ?        S 04:05:25  0:00 dbin/diablo -p tes
:>news      4639  0.2  0.618112 1704 ?        S 04:02:51  0:00 dbin/diablo -p tes
:>news      4573  0.0  0.518104 1396 ?        S 03:48:15  0:00 dbin/diablo -p tes
:>news      4634  0.0  0.518108 1324 ?        S 04:01:22  0:00 dbin/diablo -p tes
:>
:>That aside, again, I'm moderately happy with it.  However, for curiousity's
:>sake, is there any other decent feeding software out there?
:>
:>Cheers & thanks,
:>
:>-Chris

    Well, I've been working on fixes for solaris, but different versions of 
    solaris do different things.  The next release will use statvfs() instead of
    statfs(), hopefully that will fix a few problems.  There was one serious 
    bug in xmake fixed.  I'll probably get updates to both out tomorrow but 
    I am still trying to figure out what's going on with a couple of reports of 
    malformed message-id's...  at the moment, I believe they might be due to 
    incoming feeds blowing it in the ihave/takethis command.  Tomorrow's 
    diablo release will compare the command message-id against the message-id 
    in the article header and reject the article if they do not compare.  
    Earlier versions just used the command message-id to generate the 
    history file add and outgoing feed line.

    My main impetus for using xmake is more as an experiment.  Diablo is going
    to continue to use it for now.  I never liked make and I hate gnu make...
    they are both overly complex monstrosities.

    Most of the RSS for the diablo server processes is due to the shared 
    read-only mmap() of the history file's hash table, which is nominally
    16MB.  The non-shared data should be relatively tiny.  Our news machine
    currently has 65 running diablo servers and 109 running dnewslinks,
    and the memory utilization is shown below.  This is a 128MB
    PPRO 200 running FreeBSD.  Personally, I think the active memory
    is still too high, and I am trying to figure out where it is
    all coming from, but since there is no paging activity I am
    not too concerned at the moment.  If you have 175 mostly full
    newsfeeds, you probably need on the order of 256MB of ram.
    Our news machine currently has 76 feeds, 70% outgoing, 30% 
    bilateral or something like that.

					-Matt

    2 users    Load  0.86  1.37  1.64                  Mon Mar 31 19:27

Mem:KB    REAL            VIRTUAL                     VN PAGER  SWAP PAGER
        Tot   Share      Tot    Share    Free         in  out     in  out
Act   46432   23124   634484   584676   18100 count    1
All  127476   59496  1656852  1420208         pages    1
                                                        1 cow    Interrupts
Proc:r  p  d  s  w    Csw  Trp  Sys  Int  Sof  Flt        zfod   1886 total
     3    15 99       555   63 2776 1962  245   34  26284 wire   1758 clk0 irq0
                                                    74548 act     128 rtc0 irq8
16.7%Sys   6.7%Intr 11.5%User  0.0%Nice 65.1%Idl     1336 inact       fdc0 irq6
|    |    |    |    |    |    |    |    |    |      17924 cache       sc0 irq1
========++++>>>>>                                     176 free
                                                          daefr
Namei         Name-cache    Proc-cache                    prcfr
    Calls     hits    %     hits     %                 11 react
     1302     1071   82      149    11                    pdwake
                                                          pdpgs
Discs  sd0  sd1  sd2                                      intrn
seeks   47  101   89                                16238 buf
xfers   47  101   89
 blks  351  480  382
 msps




Re: Diablo Questions
#16530
Author: Al
Date: Mon, 31 Mar 1997 00:00
29 lines
1621 bytes
Chris Portman (Chris.Portman@corp.iSTAR.ca) wrote:
<snip>
: something of a pain.  Furthermore, it would have been nice if it had compile 
: options for Solaris, as well as proper defines and testing done for Solaris 
: compiles - it's still segfaulting whenever hosts connect to it without talk 
: permission, something that I'll look into later.

I run Diablo on a Sun4u and a Sun4m under Solaris 2.5.1 and I haven't had
this problem.  The compilation under Solaris using gcc2.7.2.2 was fine.

: 
: My biggest concern right now is the amount of RAM allocated to each current 
: inbound connection.  It seems that for each inbound feed, diablo forks, leaving 
: you with an additional 20 megs required, per connect:

Most of that is the internal hash table, which is shared between Diablo
processes, and isn't a problem at all.  I had initally thought this to
be true as well, but testing showed that it was indeed shared. I often
have 40-50 diablo processes running at peak times with only 128M of
RAM, with minimal swapping.

-- 

Al Dowski
Manager, Systems Operations
Aimnet Corporation

Re: Diablo Questions
#16553
Author: Brett Morrow
Date: Tue, 01 Apr 1997 00:00
24 lines
1222 bytes
Chris Portman <Chris.Portman@corp.iSTAR.ca> wrote:

: That aside, again, I'm moderately happy with it.  However, for curiousity's
: sake, is there any other decent feeding software out there?
: Cheers & thanks,
: -Chris

You might take a look at cyclone.  

http://www.highwind.com/

That is the product that I am using.

-Brett

-- 
----------------------------------------------------------------
-  Brett Morrow    -    Senior Application Support Programmer  -
-    Department of Computing and Telecommunication Services    -
-  University of Oklahoma    -     Internet: brett@ou.edu      -
----------------------------------------------------------------

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