Thread View: news.software.readers
9 messages
9 total messages
Started by Kurt Wall
Sat, 12 Sep 1998 00:00
SLRN Scorefile Slowness
Author: Kurt Wall
Date: Sat, 12 Sep 1998 00:00
Date: Sat, 12 Sep 1998 00:00
14 lines
1072 bytes
1072 bytes
The problem is pretty simple: slrn's retrieval of articles slowed
down dramatically after I implemented a scorefile.
1) How does slrn implement scoring? Does it retrieve all of the
articles and then score, or does it score as it retrieves
articles from the server?
2) Any general hints for speeding up the scoring? I really like
slrn, but have reverted to tin because scoring so noticeably
slows slrn down.
Thanks,
Kurt
Re: SLRN Scorefile Slowness
Author: Dawn Owens-Nicholson
Date: Sat, 12 Sep 1998 00:00
Date: Sat, 12 Sep 1998 00:00
24 lines
1370 bytes
1370 bytes
Kurt Wall <kwall@uswest.net> wrote: > Yep, that's what I'm doing, just using the xover headers. Unless your news server put Newsgroups: in the overview database, I doubt it's in there now. The common overview headers are: Subject: From: Date: Message-ID: References: Bytes: Lines: Xref: Except for Xref:, if one's news server supports news overviews, slrn will score faster if only these headers are involved. > See my reply to Dave for the actual contents of my scorefile. You posted your scorefile in <35fac83b.0@news3.uswest.net>, a followup to my post <slrn6vlc0e.8d5.bluemoon@ux6.cso.uiuc.edu>. My name isn't Dave.
Re: SLRN Scorefile Slowness
Author: Kurt Wall
Date: Sat, 12 Sep 1998 00:00
Date: Sat, 12 Sep 1998 00:00
41 lines
2282 bytes
2282 bytes
<waltm@mindspring.com> spake unto the assembled, saying: % On 12 Sep 1998 11:58:43 +0500, Kurt Wall wrote: % >The problem is pretty simple: slrn's retrieval of articles slowed % >down dramatically after I implemented a scorefile. % >1) How does slrn implement scoring? Does it retrieve all of the % > articles and then score, or does it score as it retrieves % > articles from the server? % % seems to retrieve all articles then scores, sorts etc. Try scoring using % the headers available in the xover data if at possible: % from: xref: subject: message-id: (xref: may or may not be available thru % uswest's server its an optional field). Generally whatver shows up when % you do a ^K is what slrn sees from the xover data (except for message-id) Yep, that's what I'm doing, just using the xover headers. See my reply to Dave for the actual contents of my scorefile. % FWIW, I've found slrn faster than tin over a dialup line but then there % are imponderables that affect dial up access. I don't use dial-up; I have an ADSL link to my ISP. % Another alternative is to use slrnpull and set a local spool. slrnpull % is fast at grabbing articles and tossing them Might give that a whirl, if I can't make this work to my satisfaction. % >2) Any general hints for speeding up the scoring? I really like % > slrn, but have reverted to tin because scoring so noticeably % > slows slrn down. % > % >Thanks, % > % >Kurt "North Alabama Basselope Proving Grounds" is it? Where? I grew up in Huntsville... Kurt
Re: SLRN Scorefile Slowness
Author: Kurt Wall
Date: Sat, 12 Sep 1998 00:00
Date: Sat, 12 Sep 1998 00:00
78 lines
3042 bytes
3042 bytes
Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote: > Kurt Wall <kwall@p266.slkc.uswest.net> wrote: >> 1) How does slrn implement scoring? Does it retrieve all of the >> articles and then score, or does it score as it retrieves >> articles from the server? > You need to read the documentation for scoring. It should have come with > your copy of slrn in the doc/ directory. There are two documents you'll [snip online locations] Got 'em; did it, which is how I set up the scorefile to begin with. >> 2) Any general hints for speeding up the scoring? I really like >> slrn, but have reverted to tin because scoring so noticeably >> slows slrn down. > Use overview headers for scoring and use a news server that supports the > overview database. You can also turn on partial scoring, so slrn simply > won't use non-overview headers. Use efficient regular expressions--don't > make the regex engine backtrack when you don't need to. Set the final score I wouldn't know an efficient vs an inefficient regexp if one slapped me. I can and do use simple regexp stuff, but, in general, I'm a regexp retard. [snip good stuff - thank you] > daily. Finally, it really would have helped if you had posted your > scorefile. I thought about doing so and orginially included it before deciding to delete it. It's below. Sorry for the inconvenience. ----- News/scorefile ----- % Note: Originally, I had the first section set up as individual % lines, ie % Score: -9999 % From: bonehead % % Score: -9999 % Subject: linuxcad % -etc- % Doesn't seem to make a difference either way, though. [*] % Don't EVER want to see these posts or posters Score:: -9999 From: homayoun From: Sforge From: idsonline.com Subject: linuxcad From: Dana Booth Subject: test Newsgroups: advocacy Newsgroups: sucks [comp.os.linux.*] % Gettin' real tired of KDE... Score:: -9999 Subject: ^KDE Subject: ^Re:*KDE Subject: KDE % Gettin' pretty tired of PPP, too Score:: -9999 Subject: ^PPP Subject: ^Re:*PPP Subject: PPP [news.software.readers] % Catch stuff for SLRN Score: 9999 Subject: slrn [comp.databases.informix] % Catch Linux-related stuff Score: 9999 Subject: linux ----- end -----
Re: SLRN Scorefile Slowness
Author: Dawn Owens-Nicholson
Date: Sat, 12 Sep 1998 00:00
Date: Sat, 12 Sep 1998 00:00
30 lines
2142 bytes
2142 bytes
Kurt Wall <kwall@p266.slkc.uswest.net> wrote: > 1) How does slrn implement scoring? Does it retrieve all of the > articles and then score, or does it score as it retrieves > articles from the server? You need to read the documentation for scoring. It should have come with your copy of slrn in the doc/ directory. There are two documents you'll want to read, a scoring FAQ and a scoring description. These are also online: <URL:http://www.math.ohio-state.edu/%7Elahvak/software/slrn/scoring_faq.html> <URL:http://www.math.ohio-state.edu/%7Elahvak/software/slrn/scoring.html> > 2) Any general hints for speeding up the scoring? I really like > slrn, but have reverted to tin because scoring so noticeably > slows slrn down. Use overview headers for scoring and use a news server that supports the overview database. You can also turn on partial scoring, so slrn simply won't use non-overview headers. Use efficient regular expressions--don't make the regex engine backtrack when you don't need to. Set the final score instead of making slrn go through the entire scorefile to calculate the final score. Minimize the number of scores that apply by reducing use of wild cards in the group line. I use a pretty slow machine and I only encounter slow scoring thousands of articles; if you read news every day, I doubt there would be any group that routinely gets thousands of new articles daily. Finally, it really would have helped if you had posted your scorefile.
Re: SLRN Scorefile Slowness
Author: Kurt Wall
Date: Sat, 12 Sep 1998 00:00
Date: Sat, 12 Sep 1998 00:00
31 lines
1994 bytes
1994 bytes
<bluemoon@ux6.cso.uiuc.edu> spake unto the assembled, saying: % Kurt Wall <kwall@uswest.net> wrote: % > Yep, that's what I'm doing, just using the xover headers. % % Unless your news server put Newsgroups: in the overview database, I doubt % it's in there now. The common overview headers are: Oy, the taste of Birkenstocks leaves somewhat to be desired. [...] USWest.net appear to use Xref. The real problem is that their news servers are just slow. Although, as I noted elsewhere, after I applied some of your suggestions, particularly ditching "Newsgroups:", scoring speed improved noticeably. Thanks again for your help % Except for Xref:, if one's news server supports news overviews, slrn will % score faster if only these headers are involved. % % > See my reply to Dave for the actual contents of my scorefile. % % You posted your scorefile in <35fac83b.0@news3.uswest.net>, a followup to my % post <slrn6vlc0e.8d5.bluemoon@ux6.cso.uiuc.edu>. My name isn't Dave. My apologies for screwing up your name, Dawn. I shall report to the Flagellation Room immediately. Worse yet, I'll spend 20 minutes in the same room with my ex-wife... ;-) Kurt
Re: SLRN Scorefile Slowness
Author: Dawn Owens-Nicholson
Date: Sat, 12 Sep 1998 00:00
Date: Sat, 12 Sep 1998 00:00
115 lines
5314 bytes
5314 bytes
Kurt Wall <kwall@uswest.net> wrote:
> I thought about doing so [including my scorefile] and orginially included
> it before deciding to delete it. It's below. Sorry for the inconvenience.
Not a problem, it just lets us help you more by being more specific. I'll
go through it and make some suggestions along the way. You should read
"Mastering Regular Expressions" (ISBN 1-56592-257-3). It's not S-Lang
specific, it leans toward Perl regexes, but it has a lot of good ideas and
good explanations on how regular expression parsers work.
> % Note: Originally, I had the first section set up as individual
> % lines, ie
> % Score: -9999
> % From: bonehead
> %
> % Score: -9999
> % Subject: linuxcad
> % -etc-
> % Doesn't seem to make a difference either way, though.
True. The lines matching "^[^ \t]*Score::? ?[-=+]?\d+" separate scores
within a group.
> % Don't EVER want to see these posts or posters
> Score:: -9999
I suggest using =-9999 instead of -9999. It's completely optional, but in
the future slrn might treat the kill score like every other score and only
consider killing an article after score processing for that article is
complete ("=" forces this completion). As it is now, subtracting 9,999
points is magical--it kills the article even if there's another score after
it that adds or subtracts more points. I also think =-9999 is slightly more
self-documenting since it makes me think of what's so special about
assigning -9,999 points (as opposed to subtracting 9,999 points).
> From: homayoun
> From: Sforge
> From: idsonline.com
I suggest making this match domain names more closely:
From: @idsonline\.com
The period is a regex wildcard that matches almost any character, I don't
recommend leaving it unescaped (but it's unlikely it'll match anything but a
dot here). Also, if people from this domain post with anti-spam stuff
between the "@" and "idsonline.com", you could use "From:
@.*idsonline\.com". I think you were thinking "*" (a wildcard in many
shells) means the same thing in regular expressions. It doesn't. ".*"
means "any number of characters".
> Subject: linuxcad
> From: Dana Booth
> Subject: test
I don't know if this matters to you, but slrn score matching is
case-insensitive by default. You can turn on case sensitivity with "\c"
(and off again in the same regex with "\C"). Switching to case-sensitive
processing doesn't carry over to the next regex, so:
From: \cDana Booth
Subject: test
the "test" regex will still match "Test" and "TEST", for instance.
> Newsgroups: advocacy
> Newsgroups: sucks
This is most likely why newsreading is so slow for you--Newsgroups: is
*probably not* an overview header on your news server which means slrn
either has to use XHDR to get the Newsgroups: header data or download the
entire set of headers for all the articles slrn has to score. Since you
score on Newsgroups: for all newsgroups (this appeared in the score
applicable to "[*]" groups), entering *any* group is slow. You could change
this to Xref:, but then you wouldn't kill crossposts if your site doesn't
get the groups to which these articles are crossposted. If your site gets a
reasonably large feed, changing this to Xref: should help a great deal.
> Subject: ^KDE
> Subject: KDE
> Subject: ^Re:*KDE
I think you can get these with one regex instead of three:
Subject: \<KDE\>
This will catch "KDE" *as a word* anywhere in the Subject: header. The same
goes for your PPP, slrn and linux (in comp.databases.informix) scores. You
don't need both \< and \>, so if you find people combining "KDE" with other
words like "KDEriffic!", and you want to skip those too, you could leave off
either word border or perhaps use "KDE" alone.
> [news.software.readers]
> % Catch stuff for SLRN
> Score: 9999
> Subject: slrn
I suggest using the word borders around slrn and including "S-?Lang":
Subject: \<slrn\>
Subject: \<s-?lang\>
I don't recall the last S-Lang discussion in news.software.readers that
wasn't slrn-specific.
As for the speed issue, aside from scoring on Newsgroups:, this scorefile
doesn't look like it should pose any further speed problems. Another
possibility is your news server is sending the header data to you very
slowly. This would also lengthen the entire process of entering a group.
There's nothing slrn can do in this case--slrn can only receive header data
as fast as the data is being sent.
Hope this helps!
Re: SLRN Scorefile Slowness
Author: walt moffett
Date: Sat, 12 Sep 1998 00:00
Date: Sat, 12 Sep 1998 00:00
49 lines
1985 bytes
1985 bytes
On 12 Sep 1998 15:33:20 +0500, Kurt Wall wrote:
<<about slow scoring and what all>>
>Yep, that's what I'm doing, just using the xover headers. See my
>reply to Dave for the actual contents of my scorefile.
>
as pointed out by another poster, newsgroups: is not in the xover
database but xref: is. I have a about a 20 line section that scores just
on that as in:
[*]
Score:: -9999
xref: nose
xref: advovacy
xref: kooks
ad nauseum
>% FWIW, I've found slrn faster than tin over a dialup line but then there
>% are imponderables that affect dial up access.
>
>I don't use dial-up; I have an ADSL link to my ISP.
>
I should have such troubles, however with a 33.6-26.4 modem connect I
found it faster.
Btw you are not reading in the whole active file are you?
>% Another alternative is to use slrnpull and set a local spool. slrnpull
>% is fast at grabbing articles and tossing them
>
>Might give that a whirl, if I can't make this work to my satisfaction.
>
it was impressive seeing the effects of v42 compression and the cps rates
reported.
>
>"North Alabama Basselope Proving Grounds" is it? Where? I grew up
>in Huntsville...
>
then I'd have to kill youm howsomever outside of Talladega in the heart
of Renfroe.
Re: SLRN Scorefile Slowness
Author: walt moffett
Date: Sat, 12 Sep 1998 00:00
Date: Sat, 12 Sep 1998 00:00
34 lines
1983 bytes
1983 bytes
On 12 Sep 1998 11:58:43 +0500, Kurt Wall wrote: >The problem is pretty simple: slrn's retrieval of articles slowed >down dramatically after I implemented a scorefile. >1) How does slrn implement scoring? Does it retrieve all of the > articles and then score, or does it score as it retrieves > articles from the server? seems to retrieve all articles then scores, sorts etc. Try scoring using the headers available in the xover data if at possible: from: xref: subject: message-id: (xref: may or may not be available thru uswest's server its an optional field). Generally whatver shows up when you do a ^K is what slrn sees from the xover data (except for message-id) Scoring on Path: Newsgroups: X-whatever header requires downloading the entire header which slows things down a lot. Also consider using less complex regex's for matching. things that look like the cat walked on the keyboard tend to slow things down. FWIW, I've found slrn faster than tin over a dialup line but then there are imponderables that affect dial up access. Another alternative is to use slrnpull and set a local spool. slrnpull is fast at grabbing articles and tossing them >2) Any general hints for speeding up the scoring? I really like > slrn, but have reverted to tin because scoring so noticeably > slows slrn down. > >Thanks, > >Kurt
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