🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46798

Re: nnrp post is very slow

#46798
From: Kai Henningsen
Date: Sun, 04 Jun 2000 00:00
39 lines
2600 bytes
eumel@germany.net (Frank Kloeker)  wrote on 25.05.00 in <8gjdga$31e$1@news.germany.net>:

> Russ Allbery schrieb:
> [...]
> > CNFS will help dramatically.  Dropping binary newsgroups will help, as
> > they take considerably longer to write out to disk, if that's feasible for
> > you.  Moving the overview to a separate disk will also help a reasonable
> > amount.
>
> CNFS is surely the better way for handling big spool, but I will in the
> next time split the spool to 2 raids or split the overview to another
> disk. Not reading binary groups are already dropped.
>
> > You should also check for excessively large directories, since they'll
> > dramatically slow down any writes to those directories on most file
> > systems.  Standard suspects are control/cancel (or control, if you've not
> > broken up control messages), news/lists/filters, and misc/jobs/*
> > (particularly misc/jobs/offered).  Lowering the expire time of problem
> > groups can help a decent amount.
>
> Large directories (control.cancel) have already a short expire time and
> "*jobs*" was filtered on newsfeed. I think, export spool to CNFS is the
> best.

Note that it's still necessary to make sure the directories themselves  
aren't too large, even if they don't contain all that many files. It's the  
time spent scanning the directory for duplicate names that does most of  
the slow-down, and that doesn't go down until you reduce directory size.

Under Unix, that's usually only possibly by rmdir-ing and recreating the  
directory.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

Technical Details
Message-ID: <7fEtWteXw-B@khms.westfalen.de>
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
References: <8fcka4$cvd$1@news.germany.net> <yl7lcj1udl.fsf@windlord.stanford.edu> <8gio02$8rb$1@news.germany.net> <ylzopfkp3h.fsf@windlord.stanford.edu> <8gjdga$31e$1@news.germany.net>

Show Full Headers
Complete Article Headers
Message-ID: <7fEtWteXw-B@khms.westfalen.de>
Subject: Re: nnrp post is very slow
Date: Sun, 04 Jun 2000 00:00:00 +0000
From: kaih=7fEtWteXw-B@khms.westfalen.de (Kai Henningsen)
References: <8fcka4$cvd$1@news.germany.net> <yl7lcj1udl.fsf@windlord.stanford.edu> <8gio02$8rb$1@news.germany.net> <ylzopfkp3h.fsf@windlord.stanford.edu> <8gjdga$31e$1@news.germany.net>
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: 630981767
X-Fix-Your-Modem: +++ATS2=255&WO1
Comment: Unsolicited commercial mail will incur an US$100 handling fee per received mail.
Organization: Organisation? Me?! Are you kidding?
X-No-Junk-Mail: I do not want to get *any* junk mail.
Newsgroups: news.software.nntp