Article View: news.software.nntp
Article #39682Re: Suggested storage.conf for CNFS
From: Russ Allbery
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
82 lines
2788 bytes
2788 bytes
Derek Dawson <ddawson@esoc.esa.de> writes:
> Any recommendations for storage.conf with CNFS? I'm building a news
> server (Solaris 2.6 with ~30Gb disk space on a striped concatenated
> filesystem) using INN and plan to use CNFS for message storage.
> Any ideas for the best approach? The server will hold all newsgroups.
If you don't care about fiddling with expire times between different
hierarchies, you can do something like this:
| # Large articles go into the first pool.
| method cnfs {
| newsgroups: *
| size: 65536
| class: 1
| options: SET1
| }
|
| # Medium-sized articles go into the third pool.
| method cnfs {
| newsgroups: *
| size: 8192
| class: 2
| options: SET3
| }
|
| # Small articles go into the second-largest pool to try to spread out the
| # write load as much as possible.
| method cnfs {
| newsgroups: *
| class: 3
| options: SET2
| }
That's probably near optimal from the speed standpoint. Otherwise, you
can do something like this:
| # Pick up anything in a few good newsgroups.
| method cnfs {
| newsgroups: comp.*,humanities.*,news.*,sci.*
| class: 1
| options: GOOD
| }
|
| # Grab the other Big Eight hierarchies.
| method cnfs {
| newsgroups: misc.*,rec.*,soc.*,talk.*
| class: 2
| options: REGULAR
| }
|
| # Put all binaries groups into their own storage class.
| method cnfs {
| newsgroups: *.bina*,de.alt.dateien*,alt.anonymous.messages
| class: 3
| options: BINARIES
| }
|
| # All of alt.* except for binaries gets another storage class.
| method cnfs {
| newsgroups: alt.*
| class: 4
| options: ALT
| }
|
| # Finally, pick up everything else and dump it in a final storage class.
| method cnfs {
| newsgroups: *
| class: 5
| options: REST
| }
and then assign space to your cycbuffs to get your expire times where you
want them. Fiddle with moving stuff from one set to another per local
taste; if you have another hierarchy your users read a lot, bump it up to
GOOD or REGULAR. Note that REGULAR needs plenty of space; rec.* is big.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylu2p6u3oe.fsf@windlord.stanford.edu>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-mailReferences:
<7r34nl$cda$1@com36.esoc.esa.de>Show Full Headers
Complete Article Headers
Message-ID: <ylu2p6u3oe.fsf@windlord.stanford.edu> Subject: Re: Suggested storage.conf for CNFS Date: Tue, 07 Sep 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <7r34nl$cda$1@com36.esoc.esa.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 X-Deja-AN: 522142560 Organization: The Eyrie Newsgroups: news.software.nntp