Thread View: news.software.readers
6 messages
6 total messages
Started by Pascal A. Dupuis
Wed, 22 May 1996 00:00
slrn and Xref
Author: Pascal A. Dupuis
Date: Wed, 22 May 1996 00:00
Date: Wed, 22 May 1996 00:00
31 lines
1867 bytes
1867 bytes
Hello, In order to kill articles cross-posted to more than 9 groups, I tried to score on Xrefs like: Score: -9999 Xref: .*:.* .*:.* .*:.* ... but our News server did not carry the Xref field in the XOVER command. I asked the News sysadmin to have this field in the XOVER command, and he made it available. But now, other persons are complaining about TIN becoming much slower at start-up, and it began right after the modification. I don't know if the Xref will stay available, but the sysadmin suggested to use the xhdr command: xhdr header [range|MessageID] This commands request for a specific header for a message or a range of message. So I suggest the following Scoring procedure: - get standard headers using the XOVER command. Score articles with -9999 or +9999 score basing upon current headers. - if some fields are missing, request them via the xhdr command - finish scoring the -9999 and +9999 articles - give the intermediate scoring to remaining articles This way, the Xref field could be used instead of the Newsgroup field, even if it does not appear via the xover command. Otherwise, slrn seems to download the Newsgroup field one article at the time, which seems pretty time-consuming (around 5-10 articles / second). Pascal A. Dupuis
Re: slrn and Xref
Author: John E. Davis
Date: Sat, 25 May 1996 00:00
Date: Sat, 25 May 1996 00:00
32 lines
2263 bytes
2263 bytes
On 22 May 1996 09:44:30 GMT, Pascal A. Dupuis <dupuis@lei.ucl.ac.be> wrote: : but our News server did not carry the Xref field in the XOVER command. I asked : the News sysadmin to have this field in the XOVER command, and he made it : available. But now, other persons are complaining about TIN becoming much : slower at start-up, and it began right after the modification. I don't know : if the Xref will stay available, but the sysadmin suggested to use the xhdr [...] : So I suggest the following Scoring procedure: : - get standard headers using the XOVER command. Score articles with -9999 or : +9999 score basing upon current headers. : - if some fields are missing, request them via the xhdr command : - finish scoring the -9999 and +9999 articles : - give the intermediate scoring to remaining articles : This way, the Xref field could be used instead of the Newsgroup field, even if : it does not appear via the xover command. Otherwise, slrn seems to download the : Newsgroup field one article at the time, which seems pretty time-consuming slrn calls HEAD if non XOVER headers are required to perform a score. Unfortunately, HEAD does not take a range parameter. I will look into using the XHDR command but it is not a priority. I suggest that your system manager look into why TIN breaks when the server is ``upgraded''. I am somewhat uneasy about complicating slrn's scoring mechanism to make up for other broken software. -- John E. Davis Center for Space Research/AXAF Science Center 617-258-8119 MIT 37-662c, Cambridge, MA 02139 http://space.mit.edu/~davis
Re: slrn and Xref
Author: Felix von Leitner
Date: Sun, 26 May 1996 00:00
Date: Sun, 26 May 1996 00:00
41 lines
2244 bytes
2244 bytes
-----BEGIN PGP SIGNED MESSAGE----- On 25 May 1996 14:23:08 GMT, John E. Davis <davis@space.mit.edu> wrote: > slrn calls HEAD if non XOVER headers are required to perform a score. > Unfortunately, HEAD does not take a range parameter. I will look into > using the XHDR command but it is not a priority. I suggest that your system > manager look into why TIN breaks when the server is ``upgraded''. I am > somewhat uneasy about complicating slrn's scoring mechanism to make up for > other broken software. Why not use xdhr instead of head? I once scored on "X-Mailer:" which is set by CrossPoint. CrossPoint users have a bad history of offending me with their clueless postings, and most German mailbox people use CrossPoint (I call it GrossPoint, go figure). But I noticed that slrn was *much* slower over my ISDN line, which should be more than enough to read news speedily, and you once said that one of slrn's features was that it handled low-bandwidth well. I can't say this is true and longer if you always fetch all headers when entering a news group. Entering news.answers took me nearly a minute. So I removed that score and everything worked fine again. Felix - -- A hypocrite is a person who ... but who isn't? --Don Marquis -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: latin1 iQCVAwUBMae37x/Da1Yoy+f1AQHPMAP/V/iTd4Ruj3SmhvZyse+6EEEvRiyCqVbB 550+qfnnCQl+tvBCSpHAeZhz78LIGXkixXJVvyv02cHUyQXQvFnw3oZEuyrk4XJF BW+Yux9/OJ8+DNab1to2vmkogGrw6e+xbIp3fPYRoRz+VQyIYIaKzi6MFt1x28nX 3D6m3xbXUtc= =psmA -----END PGP SIGNATURE-----
Re: slrn and Xref
Author: Alain Knaff
Date: Tue, 28 May 1996 00:00
Date: Tue, 28 May 1996 00:00
29 lines
1924 bytes
1924 bytes
In <4oeg8n$lbn@sunforest.mantis.co.uk>, Olly Betts <olly@mantis.co.uk> wrote: :Assuming you mean XHDR, HEAD is in general a better solution. At least in :INN 1.4, the implementation of XHDR checks to see if the header is in the :overview file, and if not, attempts to open up each article in the range, :and read through until it finds the header asked for (or hits the empty line :between the headers and body). : :This means if you're scoring on more than one non-XOVER header, then the :server is doing more work using XOVER+XHDR than using HEAD. So unless you :use a lightly loaded server over a slow link, HEAD is a better *general* :solution. : :It would be worth patching the code to use XHDR if it only needs one extra :header, as that's pretty much a gain all-round. Or make this configurable via .slrnrc. When browsing news over the modem, or from a far-away server, communication cost *is* the limiting factor. Moreover, a little extra load on the server may also help to convince the news administrator to carry a more complete overview file :-) -- Linux - An OS that doesn't break like glass Alain
Re: slrn and Xref
Author: Olly Betts
Date: Tue, 28 May 1996 00:00
Date: Tue, 28 May 1996 00:00
51 lines
2567 bytes
2567 bytes
In article <slrn4qls1m.stq.knaff@choiseul.inrialpes.fr>,
Alain Knaff <Alain.Knaff@imag.fr> wrote:
>In <4oeg8n$lbn@sunforest.mantis.co.uk>, Olly Betts <olly@mantis.co.uk> wrote:
>:It would be worth patching the code to use XHDR if it only needs one extra
>:header, as that's pretty much a gain all-round.
>
> Or make this configurable via .slrnrc. When browsing news over the
>modem, or from a far-away server, communication cost *is* the limiting
>factor.
For some people it will be. I'm not convinced it's as clear-cut as you
though. Modems are pretty fast these days, and a far-away server is likely
to be a public access one (otherwise you'd use a nearer one), and so rather
overloaded. It also depends how expensive opening a file is, since that's
what the server will be doing lots of.
>Moreover, a little extra load on the server may also help to
>convince the news administrator to carry a more complete overview file
Except that INN doesn't keep a record of what people request via XHDR...
Actually, I spotted something interesting in score.c, near the end of the
slrn_open_score function:
[...]
if ((generic == 0)
|| (0 == (Slrn_Perform_Scoring & SLRN_EXPENSIVE_SCORING)))
return 1;
if ((generic >= 1) || !Slrn_NNTP_Has_XOver || !nntp_has_cmd ("XHDR"))
{
Slrn_Score_After_XOver = 0;
nntp_open_suspend_xover ();
}
return 1;
}
Where generic is the number of non-XOVER headers, so change "(generic >= 1)"
to "(generic > SLRN_XHDR_MAX)" and somewhere appropriate add:
#define SLRN_XHDR_MAX 1 /* threshold for XOVER+XHDR versus HEAD */
Having looked at the relevant code elsewhere, I reckon it'll work, but I've
not had a chance to test it.
Olly
--
cool wet grass cool wet grass cool wet grass cool wet grass cool wet grass
Re: slrn and Xref
Author: Olly Betts
Date: Tue, 28 May 1996 00:00
Date: Tue, 28 May 1996 00:00
36 lines
2200 bytes
2200 bytes
In article <slrn4qfdvg.6v.leitner@xorn.prz.tu-berlin.de>, Felix von Leitner wrote: >On 25 May 1996 14:23:08 GMT, John E. Davis <davis@space.mit.edu> wrote: >> slrn calls HEAD if non XOVER headers are required to perform a score. >> Unfortunately, HEAD does not take a range parameter. > >Why not use xdhr instead of head? Assuming you mean XHDR, HEAD is in general a better solution. At least in INN 1.4, the implementation of XHDR checks to see if the header is in the overview file, and if not, attempts to open up each article in the range, and read through until it finds the header asked for (or hits the empty line between the headers and body). This means if you're scoring on more than one non-XOVER header, then the server is doing more work using XOVER+XHDR than using HEAD. So unless you use a lightly loaded server over a slow link, HEAD is a better *general* solution. It would be worth patching the code to use XHDR if it only needs one extra header, as that's pretty much a gain all-round. >[...] one of slrn's features was >that it handled low-bandwidth well. I can't say this is true and longer >if you always fetch all headers when entering a news group. But slrn only uses HEAD if you tell it to score on a header not in the NOV database, and to be fair on John, he does refer to this as "expensive scoring" in the documentation. Olly -- cool wet grass cool wet grass cool wet grass cool wet grass cool wet grass
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