🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #185040

Re: slrn score file efficiency [was: leafnode vs slrnpull - speed?]

#185040
From: Jimchip
Date: Tue, 16 May 2006 00:03
67 lines
3385 bytes
On 2006-05-15, Troy Piggins <usenet-0605@piggo.com> wrote:
> * Troy Piggins wrote:
[snip]
>>> What should I check for?  The file size?  Order of entries?  What I am
>>> scoring on?
>>
>> Ok, to test I moved my score file temporarily and entering article mode
>> is almost instantaneous.  So apparently my scorefile is either too big
>> or too complex.
>>
>> My general philosophy/layout of my scorefile is this:
>>
>> - kills (=-9999 score) go first and the "=" ensures that post needs no
>>   more processing.
>> - my posts and followups get a =+ score also so processing stops.
>> - interesting people/topics get incremental +ve scores in all groups [*]
>> - finally group specific score +ve interesting subjects, -ve
>>   non-interesting subjects
>>
>> That's basically it.
>>
>> I do have some nested score rules, not sure if they increase or decrease
>> processing time.
>>
>> Anyone got some tips on speeding it up?
>
> Got it!  I had some entries for scoring excessive crossposting to
> multiple newsgroups.  The Newsgroup: header is not, according to slrn's
> scoring doc, in the overview file.  My score file now only contains
> scores based on:
>
> Subject
> From
> (Date)
> Message-ID
> References
> (Bytes)
> (Lines)
>
> and it's much faster!  I don't actually have scores based on the
> headers in brackets above, but those will also give fast scoring.
>
> This from slrn's score docs however:
>
> ... slrn offers two special keywords that also allow
> efficient scoring: "Newsgroup" (the newsgroup that the article is part
> of) ...
>
> I'd like to know the definition of "efficient" here.  Obviously you
> /can/ score on it, but jeez it slows down the processing.
>
> Any other tips still welcome.

Blinky mentioned scoring on XREF. Check your leafnode config:
## If you want to have your newsreader score/kill on Xref: lines, you might
## want to uncomment this.
create_all_links = 1

> Thanks for the point in the right direction Sinner!
>
> Not happy about the multiple crossposting rules, I like them :-(  (maybe
> leafnode can handle that side, will look into it).

Easy to set if you score on Xref.

-- 
"Expensive scoring can be expensive"
Technical Details
Message-ID: <126i5n88selao18@news.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-03!sn-xt-sjc-10!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!news.supernews.com!not-for-mail
References: <20060515144752@usenet.piggo.com> <Xns97C476D1844BFlouiscypherhellorg@140.99.99.130> <20060516071732@usenet.piggo.com> <20060516075432@usenet.piggo.com> <20060516081613@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <126i5n88selao18@news.supernews.com>
Subject: Re: slrn score file efficiency [was: leafnode vs slrnpull - speed?]
Date: Tue, 16 May 2006 00:03:52 -0000
From: Jimchip <jimchip@ifthisisavalidhostname.com.invalid>
References: <20060515144752@usenet.piggo.com> <Xns97C476D1844BFlouiscypherhellorg@140.99.99.130> <20060516071732@usenet.piggo.com> <20060516075432@usenet.piggo.com> <20060516081613@usenet.piggo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-03!sn-xt-sjc-10!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!news.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
X-No-Archive: yes
User-Agent: slrn/0.9.8.1pl1 (Debian)
X-Complaints-To: abuse@supernews.com
Lines: 67