🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #185028

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

#185028
From: Troy Piggins
Date: Mon, 15 May 2006 22:30
83 lines
3934 bytes
* Troy Piggins wrote:
> [added news.software.readers back since it's now slrn relevant]
> * Troy Piggins wrote:
>> * SINNER wrote:
>>> * Troy Piggins wrote in news.software.readers:
>
> [I hate following up my own posts...]

[dammit - did it again...]

>>>> Just set up leafnode server, but am a bit disappointed with the speed.
>>>> Seems to be quite slow entering article mode from group mode when
>>>> compared to what it was when reading from spool with slrnpull.  The
>>>> leafnode server is local only so was expecting it to be quite fast.
>>>> 
>>>> Anyone else notice this?  Or is it something in my configuration?
>>>
>>> Check your score file.
>>
>> The slrn score file or leafnode's?
>>
>> I'd assume leafnode's wouldn't impact when I'm opening article mode, and
>> I haven't put anything in it since installation so it's just Ubuntu's
>> (Debain's?) default installation.
>>
>> 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.

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).

-- 
Troy Piggins                                RLU#415538 <http://counter.li.org>
My dogma just ran over my karma 
Technical Details
Message-ID: <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!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <20060515144752@usenet.piggo.com> <Xns97C476D1844BFlouiscypherhellorg@140.99.99.130> <20060516071732@usenet.piggo.com> <20060516075432@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <20060516081613@usenet.piggo.com>
Subject: Re: slrn score file efficiency [was: leafnode vs slrnpull - speed?]
Date: Tue, 16 May 2006 08:30:19 +1000
From: Troy Piggins <usenet-0605@piggo.com>
References: <20060515144752@usenet.piggo.com> <Xns97C476D1844BFlouiscypherhellorg@140.99.99.130> <20060516071732@usenet.piggo.com> <20060516075432@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!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0605@piggo.com
User-Agent: slrn/0.9.8.1/rt (Linux)
Lines: 83
NNTP-Posting-Host: 203.206.74.180
X-Trace: 1147732233 per-qv1-newsreader-01.iinet.net.au 26915 203.206.74.180