Article View: news.software.readers
Article #10494Re: Tin -r is too slow...
From: Bruce Momjian
Date: Sun, 31 Jul 1994 19:59
Date: Sun, 31 Jul 1994 19:59
44 lines
3131 bytes
3131 bytes
POLLOCK, DAN SOLEIL (ds_poll@pavo.concordia.ca) wrote: : I have a 14.4 slip connection to my nntp server and when I run : tin -r it takes about 5 minutes saying "reading active file..." : and another 5 saying "reading newsgroups file...". I am assuming : that it is reading these from the server. This is useless since : I can keep a copy of each of these files on my hardrive and when : tin is run all it has to do is ask for the latest stuff ie:Since : the last time tin was run. I am using tin -r over a 14.4 PPP line, and had similar problems. First, the reason things are slow on startup is because it is reading not only the newgroup names, but also the article numbers available for each group on the server. These numbers change quite frequently. A solution for this is to use the -q and -n options to tin. Subscribe to the groups you regularly want to read, then subsequent startups should use the -q and -n options to read the article numbers only for your subscribed groups. When you need to subscribe to a new group, you have to do the slow startup thing to pull in all groups. As far as reading articles, if your feed creates index files, then the index will be transfered as you enter each group. If your feed has an nntp server who doesn't understand index extensions, or if you move the DONT_HAVE_NNTP_EXTS above the test for xover in open.c, then you will have the index files created on your own system. Each time you go into a group, your system will request the headers of each article and save those indexes on your system. Subsequent entries will read your local index files. Note that though local index creation is fast when you enter a group over and over again, if you go into a group that has alot of new articles, transfering many headers can be much slower than grabbing the whole index from the remote server. This is the formula I have used to allow efficient NNTP new reading over a 14.4 line using tin. If anyone has other suggestions, or if I have made a mistake, please let me know. -- Bruce Momjian | 830 Blythe Avenue root@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)
Technical Details
Message-ID:
<31gvqi$fit@nova.voicenet.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!news.onramp.net!convex!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!agate!msuinfo!netnews.upenn.edu!nova.voicenet.com!rootReferences:
<31JUL199402012751@pavo.concordia.ca>Show Full Headers
Complete Article Headers
Message-ID: <31gvqi$fit@nova.voicenet.com> Subject: Re: Tin -r is too slow... Date: Sun, 31 Jul 1994 19:59:14 +0000 From: root@candle.pha.pa.us (Bruce Momjian) References: <31JUL199402012751@pavo.concordia.ca> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!news.onramp.net!convex!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!agate!msuinfo!netnews.upenn.edu!nova.voicenet.com!root Newsgroups: news.software.readers Organization: a consultant's basement Lines: 44 NNTP-Posting-Host: candle-slip.voicenet.com X-Newsreader: TIN [version 1.2 PL2]