🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25241

Re: Automatic keyword generation for INN 1.7.2

#25241
From: Karl Kleinpaste
Date: Thu, 15 Jan 1998 00:00
68 lines
4060 bytes
mibsoft@epix.net (Forrest J. Cavalier III) writes:
> Do you have any estimate of the CPU load it takes.  mS per article?

Many thanx to Trevor Fiatal <trevor@corp.home.net> and Matt Magri
<matt@netmeg.net> for their patches to innlog.pl to grind stats off
the timer patch log entries.  I'm using Matt's, mostly because I like
the output format better.

I put Matt's updated innlog.pl into my installation 2 days ago.  This
morning, I disabled Keyword:full in overview.fmt for 5 hours and
manually sicced innlog.pl on that time period from
/var/log/news/news.notice.  Below are the timer stats from this
morning's news.daily report (keyword hacking enabled) and the 5-hour
manual grind (keyword hacking disabled).  No, the time periods aren't
the same, but I don't like running without keyword hacking, and a
5-hour sample seemed plenty to get a feel for how things go without
keywords enabled -- average times and percentages should be fine.
________________

With keyword hackery (this morning's news.daily):

INND Timer Statistics
  Key Metrics...
    Percent busy: 74.9% of 24:00:06.085
    Time spent per article...  Time spent per history...
      write:      135 ms (39%)    write:    49 ms (16%)
      crosslink:  102 ms (8%)    lookup:    1 ms (0%)
  The gory details...
                    Avg time   # Times   Total time    Percentage of
  --Code region--   per call   Invoked   spent there   24:00:06.085
      [Idle time]    42.938     504720   6:01:11.536      25.1%
   Article cancel    34.046        280   0:00:09.533       0.0%
  Article control    63.047      30998   0:32:34.325       2.3%
     Article link   102.862      73449   2:05:55.109       8.7%
    Article write   135.359     255273   9:35:53.542      40.0%
     History grep     3.178       8572   0:00:27.240       0.0%
   History lookup     1.893     320818   0:10:07.247       0.7%
     History sync     0.265      51142   0:00:13.543       0.0%
    History write    49.442     279847   3:50:36.240      16.0%
        Site send     0.297     481448   0:02:23.134       0.2%
________________

Without keyword hackery (manual grind from today):

INND Timer Statistics
  Key Metrics...
    Percent busy: 60.3% of 05:00:14.759
    Time spent per article...     Time spent per history...
      write:      106 ms (34%)      write:    43 ms (14%)
      crosslink:   76 ms (7%)       lookup:    0 ms (0%)
  The gory details...
                    Avg time   # Times   Total time    Percentage of
  --Code region--   per call   Invoked   spent there   05:00:14.759
      [Idle time]    58.069     123114   1:59:09.064      39.7%
   Article cancel    23.413         46   0:00:01.077       0.0%
  Article control    45.780       3595   0:02:44.578       0.9%
     Article link    76.786      16704   0:21:22.637       7.1%
    Article write   106.445      57815   1:42:34.100      34.2%
     History grep     2.219       1251   0:00:02.776       0.0%
   History lookup     0.813      61856   0:00:50.271       0.3%
     History sync     0.175      11580   0:00:02.026       0.0%
    History write    43.115      60448   0:43:26.234      14.5%
        Site send     0.413     112343   0:00:46.359       0.3%

--karl

Technical Details
Message-ID: <vxkvhvlzfic.fsf@pocari-sweat.jprc.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!not-for-mail
References: <vxkoh1ly4k5.fsf@pocari-sweat.jprc.com> <69602s$djr$1@news1.epix.net> <vxkbtxkce6y.fsf@pocari-sweat.jprc.com>

Show Full Headers
Complete Article Headers
Message-ID: <vxkvhvlzfic.fsf@pocari-sweat.jprc.com>
Subject: Re: Automatic keyword generation for INN 1.7.2
Date: Thu, 15 Jan 1998 00:00:00 +0000
From: Karl Kleinpaste <karl@jprc.com>
References: <vxkoh1ly4k5.fsf@pocari-sweat.jprc.com> <69602s$djr$1@news1.epix.net> <vxkbtxkce6y.fsf@pocari-sweat.jprc.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!not-for-mail
X-Deja-AN: 316286871
X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu
Organization: Justsystem Pittsburgh Research Center
Newsgroups: news.software.nntp