🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17414

GRPscandir

#17414
From: Miquel van Smoorenburg
Date: Wed, 30 Apr 1997 00:00
18 lines
1325 bytes
I noticed that the nnrpd of inn-1.5.1 does a GRPscandir() for every
new group that is entered (ie for every GROUP command, unless that group
has been recently visited). That's probably because the active file
is only read once and this way the article count is kept up-to-date.
That is _really_ expensive!

However using the shared mmap patch by Matt Dillon, it should be *much*
faster to use the data from the active file instead, right? However the
patch doesn't take advantage of that. Is there something I'm overlooking?

Mike.
-- 
|    Miquel van      |  "I need more space" "Well, why not move to Texas" |
| miquels@cistron.nl |  "No, on my account, stupid." "Stupid? Uh-oh.."    |
|   PGP fingerprint: FE 66 52 4F CD 59 A5 36  7F 39 8B 20 F1 D6 74 02     |

Technical Details
Message-ID: <5k5rkb$d30$1@enterprise.cistron.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5k5rkb$d30$1@enterprise.cistron.nl>
Subject: GRPscandir
Date: Wed, 30 Apr 1997 00:00:00 +0000
From: miquels@news.cistron.nl (Miquel van Smoorenburg)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 238251827
Organization: Cistron Internet Services B.V.
X-Server-Date: 29 Apr 1997 22:09:59 GMT
Newsgroups: news.software.nntp