🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59254

LOAD

#59254
From: Homer Wilson Smith
Date: Fri, 21 Jun 2002 17:34
59 lines
3183 bytes
     I would like to understand load when it comes to news servers.

     Consider the following over simplification.

     Both news and web produce scenarios where 'relentless' hits are
coming in on the server.

     Say a process takes 1/10 of a CPU second to run (no I/O), and 10
jobs per second are coming into this machine.

     Clearly the load will be 1.0.

     Now say 11 hits/sec start coming in.  Clearly every 10 seconds
there will be one more unrun job in the queue than before.  Thus over
time the load will increase to infinity.

     The question then is where is it between 10 and 11 jobs per
second coming in that would produce a *CONSTANT* load 2 or 3.

     One answer is if jobs hits have a time out.  By the time the load
is at 2, each job will be taking twice as long to run, if jobs timeout
f they have to wait more than 2/10's of a second to run, then the load
will not climb above 2.0 but hangout around 2.0.

     Another answer is if periodically jobs just didn't come in,
interrupting the 'relentless' 11 jobs/sec.
 
     With real world applications like news and web hits, we not only
have the time out mechanism (which means the job, web hit or news
article is 'lost' momentaritly) we also have a non constant rate of
hits coming in, which allows for more at one point, and then less at
another.  
 
     Thus from looking at the load alone, it is not immediately
possible to tell whether the newsserver is keeping up with the
articles that are coming in.

     Clearly if the load is less than 1.0 at all times, the news
server MUST be keeping up (barring network latency issues).  But once
the load goes above 1.0, the issue becomes unknown.

     Is the above analysis correct?

     Is there a way to know if the server is failing to take articles
without bugging feeds admins?
 
     Is there some way to count ihave's received, but never completed?
 
     How does a remote server 'timeout' an offer if the receiving
server is 'overloaded'.  What is the protocol sequence?
 
     Homer

--
------------------------------------------------------------------------
Homer Wilson Smith     I would rather die poor    Lightlink Internet
(607) 277-0959 KC2ITF  than suffer the patronage  Ithaca, NY
homer@lightlink.com    of bigots and pinheads.    www.lightlink.com
Technical Details
Message-ID: <3d13638c$1@news2.lightlink.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!news-out.visi.com!hermes.visi.com!news.lightlink.com!news2.lightlink.com!adore!homer

Show Full Headers
Complete Article Headers
Message-ID: <3d13638c$1@news2.lightlink.com>
Subject: LOAD
Date: Fri, 21 Jun 2002 17:34:04 +0000
From: homer@adore.lightlink.com (Homer Wilson Smith)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!news-out.visi.com!hermes.visi.com!news.lightlink.com!news2.lightlink.com!adore!homer
Newsgroups: news.software.nntp
Organization: I SPEAK ONLY FOR MYSELF
Lines: 58
NNTP-Posting-Host: 172.16.34.12
X-Newsreader: TIN [version 1.2 PL2]
X-Original-NNTP-Posting-Host: 205.232.34.20
X-Original-Trace: 21 Jun 2002 13:34:04 -0400, 205.232.34.20