🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #72742

Re: Xnews header threading

#72742
From: Arve Bersvendsen
Date: Mon, 26 Feb 2001 13:53
58 lines
3243 bytes
surf_dude wrote in <Zfmm6.960$Nc.236815@news.flash.net>:

>A group like alt.binaries.movies in easynews can have 300,000+
>headers, with a hdr file 83mbytes in size.

This is a _lot_ of headers to thread. A _lot_

>Does anyone else have this problem? I guess that there may be a
>point where the sort algorythm becomes inefficient for large header
>counts. 

Generally, different sort algorithms are efficient for different tasks. 
Threading is complex because it has to:

a) Read message ID for all headers.
b) Read References for all messages.
c) Search for a match of references through all the read message-IDs,    
   creating a tree for each thread.
d) Repeat C until all headers is read, and all messages are placed in
   a tree
e) Sort trees internally according to date
f) Sort the top of the trees according to one or more criteria (in my 
setup: first sort on score,then score on date)

For your 300.000 header group, the threading process has to iterate 
through the message tree several million times, which _is_ time 
consuming.

Heck, I just realised that if you move f) to the top, you can remove 
the e) sort process, but since e) is rather insignificant, it won't 
help you much. 

>I don't see anything breaking over the 2gbyte limit that has
>been mentioned as a known problem. Is there a different
>configuration I can set? I really like Xnews and want to keep it as
>my binary news reader. 

Some suggestions: 

Unless absolutely neccessary, do not show articles you have already 
read. I have the following entry added to the [misc] section of my 
xnews.ini file

OnLoaded=acvShowUnread,acvShowGe0Score

When you are done reading a group, I always do a "Catch Up & Kill 
XPost" instead of just exiting. 

If you _need_ to view all headers, I suggest you change the storing 
options for that group (press f7 while the group is open, and select to 
store messages until they are x days old, instead of storing them until 
they have expired on the server. (Generally, I only store messages for 
30 days, which leaves some of the high traffic groups I follow with 
something like 5-7000 headers in storage.

-- 
Du har kommet til en .sig som ikke er i bruk
Technical Details
Message-ID: <Xns905497704C39Fmaddogonlineno@news.online.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!news000.worldonline.se!newsfeed1.bredband.com!bredband!uio.no!Norway.EU.net!news2.oke.nextra.no!nextra.com!news3.oke.nextra.no.POSTED!not-for-mail
References: <Zfmm6.960$Nc.236815@news.flash.net>

Show Full Headers
Complete Article Headers
Message-ID: <Xns905497704C39Fmaddogonlineno@news.online.no>
Subject: Re: Xnews header threading
Date: Mon, 26 Feb 2001 13:53:40 GMT
From: arve.news@bersvendsen.com (Arve Bersvendsen)
References: <Zfmm6.960$Nc.236815@news.flash.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!news000.worldonline.se!newsfeed1.bredband.com!bredband!uio.no!Norway.EU.net!news2.oke.nextra.no!nextra.com!news3.oke.nextra.no.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Privat
User-Agent: Xnews/4.02.16
Lines: 57
NNTP-Posting-Host: 193.217.245.213
X-Complaints-To: news-abuse@nextra.no
X-Trace: news3.oke.nextra.no 983195620 193.217.245.213 (Mon, 26 Feb 2001 14:53:40 MET)
NNTP-Posting-Date: Mon, 26 Feb 2001 14:53:40 MET