🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Robert Scott Parker Thu, 07 Jul 1994 21:37
processing load on news server from nn ?
#6084
Author: Robert Scott Parker
Date: Thu, 07 Jul 1994 21:37
19 lines
1534 bytes
I tried mailing storm@texas.dk (listed in the README file in the nn tar file
from dkuug.dk) but it bounced, so I'll post instead...

I've been using the nn news reader at school and I'm fairly used to it, but
I recently graduated and started a job where nn is not supported.  (They do
have rn and xrn, though.)  I wanted them to install nn, but they are reluctant
to do so because of "the load it imposes on the news server".  I was wondering
if anyone knows how the server load would compare to that of rn and xrn, due
to the collection of new news alone and due to reading by users...

Does nn use particularly more processing power than that required for rn alone?
(both in the issue of background news collection/processing and in servicing
users)

If you have comparative data, that would be especially appreciated.

Thanks for any info.

    -Rob Parker
Re: processing load on news server from nn ?
#6089
Author: Steven L Kunz
Date: Fri, 08 Jul 1994 15:21
84 lines
4778 bytes
In <2vhshu$dm8@vixen.cso.uiuc.edu> parker@ehsn17.cen.uiuc.edu (Robert Scott Parker) writes:

>[...] I wanted them to install nn, but they are reluctant
>to do so because of "the load it imposes on the news server".  I was wondering
>if anyone knows how the server load would compare to that of rn and xrn, due
>to the collection of new news alone and due to reading by users...

>Does nn use particularly more processing power than that required for rn alone?
>(both in the issue of background news collection/processing and in servicing
>users)

>If you have comparative data, that would be especially appreciated.

Here at Iowa State University we have a central client news-server that
serves out news to about 700 DECStations, hundreds of micros, and a lot of
other misc systems (including two mainframes).  We're currently pushing out
about 1.7 million articles a week to our clients.  The server is a
DECStation 5000/240 (running ULTRIX and INN).  A load of 70-100 simultaneous
clients is not uncommon.

Getting to your "nn" question, we DO run "nnmaster" (the nn thread-builder)
- on the news-server only. We thread every newsgroup (about 2,500 currently)
and keep the threads on the news-server.  Every client system NFS-mounts the
thread database by a perverted "nn" front-end command as follows:  

  #!/bin/sh
  #
  # Routine:  nn -- "front-end" shell script
  # Author:   Steven L. Kunz (skunz@iastate.edu)
  # Date:     8/7/91
  # Function: This shell is the front-end to running nn clients over a
  #           network.  It attaches any necessary nn db files and then
  #           calls the "real" nn program.
  #
  if [ ! -r /usr/spool/nn/DATA ] ; then
      /bin/attach -n -o ro,soft,timeo=8,retrans=7 nndb
  fi
  exec /usr/local/bin/nnfake $0 $*        # Transfer to the "real" nn

The "nnfake" program calls the "real" nn binary (called "nngo") and tricks
it into thinking it was called as "nn" or "nntidy" or "nngoback", etc.
It is a really simple "C" program as follows:

  main(argc,argv)
  int argc;
  char **argv;
  {
    execvp("/usr/local/bin/nngo",argv+1);
  }

All our DECStations run a port of DECAthena called "Project Vincent". The
systems get their binaries off central servers, so it is easy for us to keep
software "common and in-sync".  Other (non-Vincent) systems roll their own
and seem to have no problem (providing they support NFS).  They can look at
what we did with the scripts (or consult us for advice).

This works pretty slick, because what we found is that the greatest load
happens when everyone tries to run their own copy of "nnmaster" (and you
have hundreds of systems sucking up all the articles over the NNTP port,
consuming network bandwidth, server time, local disk space for threads,
etc).  A shared thread database is just the ticket.  NFS carries some
baggage but it does not seem to impact the server much.

In fact, we carried this idea over to the "trn" (threaded rn) newsreader and
mounted the "trn" mthreads database the same way until trn got the ability
to use NOV (News Overview) threads.  Since we run INN on the news-server, we
let it build NOV threads and converted all our trn clients to use NOV
threads only (served out over the NNTP port, as opposed to an NFS-mounted
"mthreads" database off the server).  This is "a good thing" because the
"trn" mthreads process is a real hog on the CPU and memory on your server if
you thread all groups (which we do).  

As for future plans, when I get a copy of "nn" that uses NOV threads, I'll
install that and shut down the "nnmaster".  This will put us in the position
of having one thread database (NOV) and no NFS mounts (since the threads are
server out over the NNTP port).

One way to do it at a large site - hope this helps.

-- 
Steven L. Kunz
Networked Applications
Iowa State University Computation Center, Iowa State University, Ames  IA
Internet: skunz@iastate.edu     Bitnet: gr.slk@isumvs.bitnet
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