Thread View: news.software.nntp
2 messages
2 total messages
Started by Derek Dawson
Tue, 07 Sep 1999 00:00
Suggested storage.conf for CNFS
Author: Derek Dawson
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
12 lines
826 bytes
826 bytes
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. Thanks, Derek Dawson.
Re: Suggested storage.conf for CNFS
Author: 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/>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads