Article View: news.software.nn
Article #8391Re: nn and msnews.microsoft.com
From: Larry Daffner
Date: Sun, 26 Jan 1997 00:00
Date: Sun, 26 Jan 1997 00:00
46 lines
2590 bytes
2590 bytes
Nick.Holloway@alfie.demon.co.uk (Nick Holloway) writes:
> KRIS@KOEHNTOPP.DE (Kristian =?ISO-8859-1?Q?K=F6hntopp?=) writes:
> > As I posted in two other articles in this thread, the fault is
> > on the side of nn. nn uses "LIST active.times" to get a list
> > of newsgroups with their respective creation dates.
>
> After the setup of a nntp proxy, the startup time for nn has rocketed.
> This thread has cast some light on the problem.
>
> Performing "LIST active", "LIST active.times" then "LIST newsgroups"
> (because I had "show-purpose" set) takes quite a while against a newserver
> with a full active file.
>
> I can turn off "show-purpose", to reduce the time by ~1/3. I would like
> to see "NEWGROUPS" used to help reduce the time by another ~1/3.
Agreed. NN was written when INN was still relatively new, and most
people did not read news over a low bandwidth line (like a modem). As
such, the startup takes big hits by retrieving a lot of data it
doesn't need. The startup procedure should go something like:
1) Sign on, mode reader
2) use NEWGROUPS to ask for new groups
3) Check if remote supports LIST active group
a) If so, send list active group for each group in .newsrc and read
data
b) else, use GROUP group commands for each newsgroup and read data
The initialization time can go from about 15 minutes to about 2
minutes for a server with 20,000 groups over a 28.8 modem. The problem
comes when you try to jump to unsubscribe groups. nn's internal
storage format needs a bit of reworking to make this possible. If db.c
was reworked to allow the array to be updated dynamically, then you
could use xgtitle to be able to match incomplete group names.
-Larry
y
--
Larry Daffner | Linux: Unleash the workstation in your PC!
vizzie@airmail.net / http://web2.airmail.net/vizzie/
Playing an unamplified electric guitar is like strumming on a picnic
table. -- Dave Barry, "The Snake"
Technical Details
Message-ID:
<874tg4fcoj.fsf@pinky.mimosa.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailReferences:
<5c3bsu$c96@theoden.intellicorp.com> <tm.853905034@deepika>Show Full Headers
Complete Article Headers
Message-ID: <874tg4fcoj.fsf@pinky.mimosa.org> Subject: Re: nn and msnews.microsoft.com Date: Sun, 26 Jan 1997 00:00:00 +0000 From: Larry Daffner <vizzie@airmail.net> References: <5c3bsu$c96@theoden.intellicorp.com> <tm.853905034@deepika> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 212379840 Distribution: na Sender: vizzie@pinky.mimosa.org Organization: INTERNET AMERICA Newsgroups: news.software.nn