Thread View: news.software.readers
17 messages
17 total messages
Started by Craig Bruce
Thu, 15 Jul 1993 13:33
Tin v1.2 PL1 Slooooowww ?
Author: Craig Bruce
Date: Thu, 15 Jul 1993 13:33
Date: Thu, 15 Jul 1993 13:33
11 lines
1268 bytes
1268 bytes
Is it just me, or is the latest version of tin (with Xref extensions) a *lot*
slower on group entry. I prefer it to the 'original' patch posted for Xrefs
which took a lot of time moving thread to thread within a group, but still....
Anyone else find it almost unbearable ? (I'm on HP-UX 8.0 reading via nntp
with local index files)
--
Craig Bruce, Bell Northern Research, Ottawa, Canada. e-mail: cbruce@bnr.ca
Phone : ESN 393-8363 (BNR Internal) +1-613-765-3412 (Other)
Re: Tin v1.2 PL1 Slooooowww ?
Author: Tom J Parry
Date: Fri, 16 Jul 1993 00:17
Date: Fri, 16 Jul 1993 00:17
17 lines
1511 bytes
1511 bytes
Craig Bruce (cbruce@bnr.ca) wrote: > Is it just me, or is the latest version of tin (with Xref extensions) a *lot* > slower on group entry. I prefer it to the 'original' patch posted for Xrefs > which took a lot of time moving thread to thread within a group, but still.... > Anyone else find it almost unbearable ? (I'm on HP-UX 8.0 reading via nntp > with local index files) I find newsgroup entry on 1.21 incredibly quick compared to previous versions! Have you maybe switched from Tin indexes to NOV/XOVER indexes. They have to be sucked from the server when you enter a group which takes time. -- Tom J Parry. Your reality is a figment of my imagination.
Re: Tin v1.2 PL1 Slooooowww ?
Author: Klaus Mueller
Date: Fri, 16 Jul 1993 08:50
Date: Fri, 16 Jul 1993 08:50
32 lines
1985 bytes
1985 bytes
Craig Bruce (cbruce@bnr.ca) wrote: >Is it just me, or is the latest version of tin (with Xref extensions) a *lot* >slower on group entry. I prefer it to the 'original' patch posted for Xrefs >which took a lot of time moving thread to thread within a group, but still... >Anyone else find it almost unbearable ? (I'm on HP-UX 8.0 reading via nntp >with local index files) This problem might occur if you read news via nntp but not from an INN-server. The reason is in the previous version tin might have lost some older news still existing, if there are some articles unavailable behind them. Tin now has to ask the nntp-server for every article that could be in range. This is slow if the first unexpired article is much older than the rest. The responsible line of code is in open.c: count = last - start; Changing it back to: start = last - count; will restore the previous behavior, but you will lose (old) articles (if you would not lose them it would not be so slow). Of course the problem could be elsewhere, but it seems rather probable that is it. Bye Klaus -- Klaus M"uller (mueller@rbg.informatik.th-darmstadt.de) IRC: netmage MUD: loren
Re: Tin v1.2 PL1 Slooooowww ?
Author: Joe Rosenfeld
Date: Fri, 16 Jul 1993 11:51
Date: Fri, 16 Jul 1993 11:51
18 lines
1604 bytes
1604 bytes
Klaus Mueller (mueller@rbg.informatik.th-darmstadt.de) wrote: : The reason is in the previous version tin might have lost some older news : still existing, if there are some articles unavailable behind them. : Tin now has to ask the nntp-server for every article that could be in range. : This is slow if the first unexpired article is much older than the rest. I noticed that it is slightly slower, but I am no longer losing any articles that are on the NNTP server but were formerly being returned as unavailable. I prefer the newer behavior. A nice improvement, and my compliments to Iain. -- | Joe Rosenfeld cowboy@trans.csuohio.edu | CSU Law Library j.rosenfeld@csuohio.edu | "If you always do what you always did, you will always get | what you always got!" B.S.
Re: Tin v1.2 PL1 Slooooowww ?
Author: John Schmitz
Date: Fri, 16 Jul 1993 22:54
Date: Fri, 16 Jul 1993 22:54
81 lines
2762 bytes
2762 bytes
> The responsible line of code is in open.c:
> count = last - start;
> Changing it back to:
> start = last - count;
> will restore the previous behavior, but you will lose (old) articles (if
> you would not lose them it would not be so slow).
This is disastrous if you have a sparesly populated group for
whatever reason. On problem with tin is that if you have a faq near
the front of the group, tin will go searching in a linear fashion
for possible articles. This is part of the performance hit after
the above change to open.c was made so all articles would be
visible.
A possible change is to put in a binary search like the one below.
Further, though, I don't know why tin can't just believe the
overview data and not go searching in its own arrays.
RCS file: RCS/art.c,v
retrieving revision 1.1
rdiff -c -r1.1 art.c
*** /tmp/,RCSt1a16216 Fri Jul 16 15:53:16 1993
--- art.c Wed Jul 14 12:30:47 1993
***************
*** 91,97
* Do we have an entry for article art?
*/
! int valid_artnum (art)
long art;
{
register int i;
--- 91,97 -----
* Do we have an entry for article art?
*/
! int old_valid_artnum (art)
long art;
{
register int i;
***************
*** 105,110
return -1;
}
/*
* Return TRUE if arts[] contains any expired articles
* (articles we have an entry for which don't have a
--- 105,134 -----
return -1;
}
+ int valid_artnum (art)
+ long art;
+ {
+ register int prev, range;
+ register int dtop = top;
+ register int cur = 1;
+
+ while (dtop /= 2) cur = cur << 1;
+ range = cur / 2;
+ cur--;
+ while (1) {
+ if (arts[cur].artnum == art)
+ return cur;
+ prev = cur;
+ if (arts[cur].artnum < art) {
+ cur = cur + range;
+ } else {
+ cur = cur - range;
+ }
+ if (prev == cur || cur >= top) return -1;
+ range = range / 2;
+ }
+ }
+
/*
* Return TRUE if arts[] contains any expired articles
* (articles we have an entry for which don't have a
Re: Tin v1.2 PL1 Slooooowww ?
Author: Leila Burrell-Davis
Date: Mon, 19 Jul 1993 11:07
Date: Mon, 19 Jul 1993 11:07
21 lines
1692 bytes
1692 bytes
Craig Bruce (cbruce@bnr.ca) wrote: : Is it just me, or is the latest version of tin (with Xref extensions) a *lot* : slower on group entry. I prefer it to the 'original' patch posted for Xrefs : which took a lot of time moving thread to thread within a group, but still.... : Anyone else find it almost unbearable ? (I'm on HP-UX 8.0 reading via nntp : with local index files) Yes, I too am finding it unbearably slow on group entry on a Sequent Symmetry S81 running Dynix (BSD4.2-like). I'm reading locally (from /usr/spool/news) and have my own indexes. I deleted all the contents of ~/.tin except for tinrc and then ran `tin -u -v' and it took 8792 seconds to index 109 groups! When I then started it up interactively it was still extremely slow to enter groups. Any ideas? Leila -- Leila Burrell-Davis, Computing Service, University of Sussex, Brighton, UK Tel: +44 273 678390 Fax: +44 273 678470 Email: leilabd@syma.sussex.ac.uk (JANET: leilabd@uk.ac.sussex.syma)
Re: Tin v1.2 PL1 Slooooowww ?
Author: Norb Brotz
Date: Tue, 20 Jul 1993 16:17
Date: Tue, 20 Jul 1993 16:17
24 lines
1774 bytes
1774 bytes
Craig Bruce (cbruce@bnr.ca) wrote: : Is it just me, or is the latest version of tin (with Xref : extensions) a *lot* slower on group entry. I prefer it to the : 'original' patch posted for Xrefs which took a lot of time : moving thread to thread within a group, but still.... : Anyone else find it almost unbearable ? (I'm on HP-UX 8.0 reading : via nntp with local index files) I'm running 1.21 using nntp and local index files. I built tin w/ profiling (-pg option) and found that the parse_unread() routine is taking all of the time. It's called from read_newsrc_lines() for every (active?) newsgroup whenever a newsgroup is entered. My quick and dirty kludge is to copy the strcmp before the parse_seq() call in read_newsrc_lines() to only call parse_unread() for the current newsgroup. What does this break? deleting cross posted articles? nothing? (I'm also rewriting parse_unread() to make it faster. But it will have to be ~5 to 10x faster to be tolerable without the change to read_newsrc_lines().) Norb Brotz nbrotz@cray.com
Best news reader?
Author: albright
Date: Tue, 20 Jul 1993 18:03
Date: Tue, 20 Jul 1993 18:03
6 lines
988 bytes
988 bytes
I was wondering what the best (in your opinion) news reader is out there?
I'm using 'rn' right now, on a Sun station, and am looking for something
else. Any advice would be greatly appreciated.
Thanx for your time,
-Nick Albright
Re: Best news reader?
Author: Paul Smee
Date: Wed, 21 Jul 1993 08:41
Date: Wed, 21 Jul 1993 08:41
21 lines
1995 bytes
1995 bytes
In article <1993Jul20.180302.19978@oucsace.cs.ohiou.edu> albrnick@bobcat.ent.ohiou.edu (albright) writes:
> I was wondering what the best (in your opinion) news reader is out there?
>I'm using 'rn' right now, on a Sun station, and am looking for something
>else. Any advice would be greatly appreciated.
As you note, it IS all a matter of taste. And, I get into (friendly)
arguments with Iain every time I say this, but...
IM(Very Own Personal)HO, there are two solid contenders. For
experienced news users, particularly those who have long used 'rn',
'trn' is the definite choice. For new news users, and particularly for
those who are not REALLY computer freaks, 'tin' is the one. 'trn' is
more powerful, 'tin' is more friendly to newbies. 'tin' is probably
also a tiny bit better if you tend to just 'skim' lots of groups, while
'trn' is probably a tiny bit better if you tend to want to read most of
the articles in the groups you subscribe to. I recommend that our
departments put both up. 'trn' is a bit easier to install.
--
Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK
P.Smee@bristol.ac.uk - Tel +44 272 303132 - FAX +44 272 291576
Re: Best news reader?
Author: Chris Barnes
Date: Wed, 21 Jul 1993 15:08
Date: Wed, 21 Jul 1993 15:08
28 lines
2252 bytes
2252 bytes
In article <CAJ22K.62J@math.uwaterloo.ca>
gamiddle@math.uwaterloo.ca (Guy Middleton) writes:
>
>In article <CAIAtA.Foz@bristol.ac.uk> P.Smee@bristol.ac.uk (Paul Smee) writes:
>> IM(Very Own Personal)HO, there are two solid contenders. For
>> experienced news users, particularly those who have long used 'rn',
>> 'trn' is the definite choice. For new news users, and particularly for
>> those who are not REALLY computer freaks, 'tin' is the one.
>
>Does tin understand NOV files yet?
Are we being Operating System specific here? If not, NNR (for VM/CMS)
is unquestionably better than trn. It's method of providing menus
based on the heirachical structure of Usenet, allowing for not having
to worry about bogus newsgroups (the ".newsrc" type file ONLY contains
the groups you are subscribed to) or new newsgroups, ability to
look at a menu of all the articles in a group (and sort it in a variety
of ways), perform threads, mark entire groups or threads, or simply
a "mark to here" makes THIS the BEST newsreader.
Better than Vnews, Trumpet, trn, and even Newsgrazer!
-----------------------------------------------------
Chris Barnes | President - Bryan/College Station
cbarnes@tamvm1.tamu.edu | Retriever Club
(409) 846-3273 (home) | "Dedicated to the betterment of
(409) 845-8300 (work) | the retrieving breeds"
Re: Best news reader?
Author: Guy Middleton
Date: Wed, 21 Jul 1993 18:30
Date: Wed, 21 Jul 1993 18:30
7 lines
1132 bytes
1132 bytes
In article <CAIAtA.Foz@bristol.ac.uk> P.Smee@bristol.ac.uk (Paul Smee) writes: > IM(Very Own Personal)HO, there are two solid contenders. For > experienced news users, particularly those who have long used 'rn', > 'trn' is the definite choice. For new news users, and particularly for > those who are not REALLY computer freaks, 'tin' is the one. Does tin understand NOV files yet?
Re: Best news reader?
Author: Frank Peters
Date: Wed, 21 Jul 1993 23:11
Date: Wed, 21 Jul 1993 23:11
94 lines
5376 bytes
5376 bytes
In article <16C12D4EF.CBARNES@tamvm1.tamu.edu> CBARNES@tamvm1.tamu.edu (Chris Barnes) says: : : In article <CAJ22K.62J@math.uwaterloo.ca> : gamiddle@math.uwaterloo.ca (Guy Middleton) writes: : >In article <CAIAtA.Foz@bristol.ac.uk> P.Smee@bristol.ac.uk (Paul Smee) writes: : >> IM(Very Own Personal)HO, there are two solid contenders. For : >> experienced news users, particularly those who have long used 'rn', : >> 'trn' is the definite choice. For new news users, and particularly for : >> those who are not REALLY computer freaks, 'tin' is the one. : > : >Does tin understand NOV files yet? Yes, the latest release does. I had been holding off installing tin because I didn't want yet another threads database...I installed the latest version and it works quite well and is quite peppy. : Are we being Operating System specific here? Hmm. The original poster indicated that s/he was currently using rn. This makes UNIX readers the obvious thing to suggest. : If not, NNR (for VM/CMS) : is unquestionably better than trn. I can question it. :-) : It's method of providing menus : based on the heirachical structure of Usenet, I find this unintuitive. I prefer, for example to group comp.unix.solaris (solaris is Sun's operating system environment) and comp.unix.sys5.r4 (Sun's latest OS version is based on UNIX SVR4) right in with the comp.sys.sun groups rather than near the rest of the UNIX groups (though the rest of the UNIX groups collectively belong near the Sun groups). In other words, I find that sorting the .newsrc according to how my interests relate groups. The USENET hierachy structure is designed more to allow news administrators to pick and choose which groups they receive. This doesn't always correspond to how users want to pick and choose which groups they want to read and in which order. Actually, I really prefer the strn (strn is based upon trn) method. It allows me to create menu items like "Sun groups", "UNIX groups", "Fun groups", "Policy groups" and so on...and have the same groups appear in as many of these menus as appropriate (the "UNIX groups" item, for example, includes all of the "Sun groups" at the end of its menu). : allowing for not having : to worry about bogus newsgroups (the ".newsrc" type file ONLY contains : the groups you are subscribed to) or new newsgroups, I'm not sure what how NNR deals with new groups and bogus groups so I can't comment on it. I've never been bothered by the way trn handles these situations...but then I have a reasonably fast system with a stable news system that doesn't get many bogus groups...and I want to be bothered by new groups. : ability to : look at a menu of all the articles in a group (and sort it in a variety : of ways), Trn allows these. I don't recall any useful sorting options in NNR that trn didn't also include. : perform threads, mark entire groups or threads, Unless it has improved dramatically over the past couple of months, NNR's concept of a "thread" is not nearly as powerful and useful as the trn concept of threads. Strn, by the way, offers the concept of scoring articles based on various criteria (add 5 points for this subject, delete 10 points for that author unless its in that newsgroup and so on) and then sort and even automatically kill based on the score. Its remarkably powerful...unfortunately it isn't (yet) very easy to set up. : Better than Vnews, Trumpet, trn, and even Newsgrazer! Better than Vnews and Trumpet. About the same as tin. Not as good as trn and strn (though easier to use). I've no real experience with Newsgrazer. NNR is quite good though. One of the top 3 or 4 that I've used...top 2 or 3 if you count strn as just a variant of trn. Of course, that's just my opinion. A lot of this depends upon what you are used to (in other applications perhaps...for instance, our elm users seem to find tin more intuitive than other readers), how many groups you want to read, whether you usually read most or some or only a few of the articles in any given group, whether you like to keep rec groups separate from comp groups and so on. We can disagree and neither of us be wrong. -- Frank Peters - UNIX Systems Programmer - Mississippi State University Internet: fwp@CC.MsState.Edu - Phone: (601)325-7030 - FAX: (601)325-8921
Re: Tin v1.2 PL1 Slooooowww ?
Author: Pope Clifton
Date: Thu, 22 Jul 1993 01:12
Date: Thu, 22 Jul 1993 01:12
38 lines
2223 bytes
2223 bytes
Norb Brotz (nbrotz@poplar15) wrote: : Craig Bruce (cbruce@bnr.ca) wrote: : : Is it just me, or is the latest version of tin (with Xref : : extensions) a *lot* slower on group entry.... : : Anyone else find it almost unbearable ? ... : I'm running 1.21 using nntp and local index files. I built tin : w/ profiling (-pg option) and found that the parse_unread() routine : is taking all of the time. QUICK FIX FOR 1.21 USERS: To see that the newsrc handling is the problem, just create a .newsrc file which has only a small number of lines in it, and your performance will rocket. I cut mine from 3200 lines (mostly unsub'd) to my 40 subscribed groups as follows: cp .newsrc newsrc.bak && sed '/!/d' newsrc.bak > .newsrc Tin jumped in speed incredibly (probably 80 times), both on entering and exiting groups. : (I'm also rewriting parse_unread() to make it faster. But it will : have to be ~5 to 10x faster to be tolerable without the change to : read_newsrc_lines().) I will look at this area and see what I can unriddle. Personally, I'd say that parse_unread() would have to be more like 40x faster, if it may be called for every extant group every time any group is selected. -- Clifton -- cliftonr@netcom.com, Pope of the Church of the Subgenius in Paradise "please forgive the profundity of these meditations whenever i have nothing particular to say i find myself always always plunging into cosmic philosophy or something" archy
Best news reader responses
Author: albright
Date: Tue, 27 Jul 1993 22:26
Date: Tue, 27 Jul 1993 22:26
15 lines
1315 bytes
1315 bytes
Someone requested that I post the results of my reponses to my query about
the best news reader. The responses as best fit my need:
trn: 4
tin: 2
GNUS: 1
I'd like to thank those who responded to me; I've decided to use trn based
on people's responses.
One more question, I ftp'd both trn-3.1.tar.Z and trn-3.1.patch.Z, do I
have to do anything special for the patch, or just uncompress it after I
uncompress and untar the original?
Thanx for your time,
-Nick
Re: Best news reader responses
Author: Wayne Davison
Date: Wed, 28 Jul 1993 01:31
Date: Wed, 28 Jul 1993 01:31
13 lines
1267 bytes
1267 bytes
According to albright <albrnick@bobcat.ent.ohiou.edu>: > One more question, I ftp'd both trn-3.1.tar.Z and trn-3.1.patch.Z, do I > have to do anything special for the patch, or just uncompress it after I > uncompress and untar the original? You don't need the patch -- it generates trn-3.1 from trn-3.0. Maybe I should name it trn-3.0-3.1.diff.Z? As for what you should do with such a patch file when you need to use one, after you uncompress it follow the instructions in the patch. -- Wayne Davison davison@borland.com
Re: Best news reader responses
Author: Kent C. Brodie
Date: Wed, 28 Jul 1993 01:49
Date: Wed, 28 Jul 1993 01:49
15 lines
1168 bytes
1168 bytes
albright (albrnick@bobcat.ent.ohiou.edu) wrote: : Someone requested that I post the results of my reponses to my query about : the best news reader. The responses as best fit my need: : : trn: 4 : tin: 2 : GNUS: 1 geez. only 7 responses...??? -- -------------- Kent C. Brodie - Sr. Systems/Network Manager brodie@post.its.mcw.edu Information Technology Systems Medical College of Wisconsin (414) 257-8769
Re: Tin v1.2 PL1 Slooooowww ?
Author: Aaron Sloman
Date: Mon, 02 Aug 1993 01:15
Date: Mon, 02 Aug 1993 01:15
42 lines
2422 bytes
2422 bytes
[Reposting as this apparently did not go out. Apologies to anyone who gets it twice.] leilabd@syma.sussex.ac.uk (Leila Burrell-Davis) writes: > Organization: Computing Service, University of Sussex, UK > Date: Mon, 19 Jul 1993 11:07:12 GMT > Craig Bruce (cbruce@bnr.ca) wrote: > > .... > : Anyone else find it almost unbearable ? (I'm on HP-UX 8.0 reading via nntp > : with local index files) I am using Tin V1.1 PL 8 and have the same problem. At present we have a very large number of news articles retained in popular news groups and it takes tin a very long time to index them. > .....I deleted all the contents > of ~/.tin except for tinrc and then ran `tin -u -v' and it took 8792 > seconds to index 109 groups! When I then started it up interactively > it was still extremely slow to enter groups. Any ideas? I wonder if there could be an option to make tin not bother to index or make available articles that according to your .newsrc have already been read. Then by manually updating the number associated with a group you can reduce the number of "old" articles that tin takes notice of. Similarly, the "catchup" option would make tin ignore old articles thereafer. Another possibility would be to have a mode in which you ask tin never to pay attention to more than the last N articles in each group. N could be global, or specified per group in a file that's parallel to .newsrc. Aaron ---- -- Aaron Sloman, School of Computer Science, The University of Birmingham, B15 2TT, England EMAIL A.Sloman@cs.bham.ac.uk OR A.Sloman@bham.ac.uk Phone: +44-(0)21-414-3711 Fax: +44-(0)21-414-4281
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