🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #177213

Re: [tin] Why is entering a group so slow (downloading of unread articles ?)

#177213
From: Urs Janßen
Date: Wed, 07 Dec 2005 10:19
73 lines
4154 bytes
In <MPG.1e000b2e3f4b7caf9896eb@news.individual.net>, Tom B. wrote:
> > I use the -Q option for launching 'tin' which helps at startup.
> > Now, if I want to enter a group with only 3 unread articles, it
> > looks like tin downloads the 5,000 read articles before opening
> > the view of my 3 unread articles ? Am I right ?

yes, per default it reads the headers of all articles in a group (for
threading reasons).

> > What can I do in order to avoid that ?

as Frank mentioned you could use getart_limit

[tin(5)]
|      getart_limit
|            If getart_limit is > 0 not more than getart_limit  arti-
|            cles/group  are  fetched from the server. If getart_limit
|            is < 0 tin(1) will  start  fetching  articles from  your
|            first   unread  minus  absolute  value  of getart_limit.
|            Default is 0, which means no limit.

-> use negative numbers to avoid possible article loss, -500 is a
good value to start with.

advantages:    no local disk space required; instant speedup (no cache
               building required)
disadvantages: may lead to article loss if used wrong, usualy
               downloads too much data

> I'm no tin expert but I also use
> 
> (tinrc)
> 
> # If ON, create local copies of NNTP overview files.
> cache_overview_files=ON

[tin(5)]
|      cache_overview_files
|            If  ON,  create local copies of NNTP overview files. This
|            can be used to  considerably  speed  up accessing  large
|            groups when using a slow connection.  Default is OFF.

advantages:    once the cache is build downloads minimum data required
disadvantages: needs to build the cache frist (only done on the first
               visit after the featuire is enebaled); needs local
               disk space.

> That is, if you have the hard drive space. If you are a heavy duty 
> usenaut and subscribe to many large groups it could be a deal killer. 

keep in mind that the local cache only expires if the 'original'
expires - if you stop visting a certain group its cache will never
go away, thus I recommend a small script like expiretover from the
source tarball (find cache -atime +someweeks | xargs rm).

mixing both options (getart_limit and cache_overview_files)
keeps the local cache small, but you need to remove the cache once
you like to cache 'older' headers as well. I recommend NOT to combine
both options.

so which option is better?
if you can afford to 'waste' some local disk storage (about 300 byte
per article - for a 2.000 article group this would be ~0.6 megabyte,
for a 50.000 article group this would be ~14 megabyte) I would use
cache_overview_files.
if that is still to slow and/or needs too much disk space then use
getart_limit instead.

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Technical Details
Message-ID: <dn6d0f$q8g$1@news2.rz.uni-karlsruhe.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <439586c8$0$14086$626a14ce@news.free.fr> <MPG.1e000b2e3f4b7caf9896eb@news.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <dn6d0f$q8g$1@news2.rz.uni-karlsruhe.de>
Subject: Re: [tin] Why is entering a group so slow (downloading of unread articles ?)
Date: Wed, 07 Dec 2005 10:19:59 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <439586c8$0$14086$626a14ce@news.free.fr> <MPG.1e000b2e3f4b7caf9896eb@news.individual.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
Organization: tin.org
Lines: 73
Sender: Urs Janßen <urs@akk10-int.akk.uni-karlsruhe.de>
NNTP-Posting-Host: akkuser-dmz.akk.uni-karlsruhe.de
X-Trace: news2.rz.uni-karlsruhe.de 1133950799 26896 172.22.9.237 (7 Dec 2005
X-Complaints-To: usenet@rz.uni-karlsruhe.de
NNTP-Posting-Date: Wed, 7 Dec 2005 10:19:59 +0000 (UTC)
X-No-Archive: yes
User-Agent: tin/1.8.0-20051202 ("Tahay") (UNIX) (Linux/2.6.11-1-686 (i686))