🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #69872

Re: [slrn] esc-1-esc p *SLOW* - like minutes stretching by

#69872
From: Jurriaan (note: this is a workin...
Date: Sun, 31 Dec 2000 16:17
34 lines
2616 bytes
On 31 Dec 2000 11:46:55 GMT, Jurriaan (note: this is a working address!)
<no_spam_here@rivierenland.xs4all.nl> wrote:
>I have several newsgroups with a large number of articles (some 16000)
>in a local slrnpull-spool, and given a thread with a large number of
>articles (about 80 or so) pressing esc-1-esc-p to get the whole thread
>on screen is very slow.
>
>The call to xover_for_msgid() in art.c takes about 20 seconds, and the
>call to Slrn_Server_Obj->sv_read_line() in art.c also takes about 20
>seconds. As each of these is called several times, the total time is
>stunning.
>
Let me put in in another, perhaps more constructive form: I'd like to
have slrn use some cache to accelerate this. It seems it is reading
*all* headers from disk in spool_find_artnum_from_msgid for a number of
articles in such a thread, and that is a bit silly. After one run, all
information has been read, so it should be cached. I have memory to
spare, after all :-)

Does anybody have any ideas about what to cache (artnum <-> msgid info?
whole headers? for all groups or just the current?) and how to do it as
efficiently and elegantly as possible? I believe I could create a cache
for all header lines for all articles in all newsgroups, but it wouldn't
be really useful if it only ran on machines with 32 megabytes of memory
to spare, right? So I'd like to have some pointers before I start to
make it useful for everybody.

Thanks,
Jurriaan
-- 
I am the winged scourge that pecks at your nightmares
	Darkwing Duck
GNU/Linux 2.2.19pre3 SMP 2x1117 bogomips load av: 0.11 0.04 0.16
Technical Details
Message-ID: <slrn94umbd.rhn._hate_spam_thunder7@middle.of.nowhere>
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-02!supernews.com!newsfeed.mesh.ad.jp!news.tele.dk!194.109.6.150!transit.news.xs4all.nl!no_spam_here
References: <slrn94u6ue.5b9._hate_spam_thunder7@middle.of.nowhere>

Show Full Headers
Complete Article Headers
Message-ID: <slrn94umbd.rhn._hate_spam_thunder7@middle.of.nowhere>
Subject: Re: [slrn] esc-1-esc p *SLOW* - like minutes stretching by
Date: Sun, 31 Dec 2000 16:17:46 +0000
From: no_spam_here@rivierenland.xs4all.nl (Jurriaan (note: this is a working address!))
References: <slrn94u6ue.5b9._hate_spam_thunder7@middle.of.nowhere>
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-02!supernews.com!newsfeed.mesh.ad.jp!news.tele.dk!194.109.6.150!transit.news.xs4all.nl!no_spam_here
Newsgroups: news.software.readers
Organization: XS4ALL Internet BV
Lines: 33
NNTP-Posting-Host: rivierenland.xs4all.nl
X-Trace: news1.xs4all.nl 978279466 16619 194.109.14.47 (31 Dec 2000 16:17:46 GMT)
X-Complaints-To: abuse@xs4all.nl
NNTP-Posting-Date: 31 Dec 2000 16:17:46 GMT
User-Agent: slrn/0.9.6.3 (GNU/Linux)