🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Joshua Gould Wed, 18 Jul 2001 18:35
CNFS info
#53346
Author: Joshua Gould
Date: Wed, 18 Jul 2001 18:35
14 lines
1626 bytes
I'm in the very early stages of planning our news server upgrade. It's
pretty small by most standards... carring a mix of local as well as
big 8 groups.

The main question I have is: Where can I find good information on
sizing CNFS? Everything that I've seen is very general and not of too
much help. I know that there isn't a magic formula that will fit all
servers for all situations, but I'd think that there is at least a
list of good suggestions and such.


  Joshua
Re: CNFS info
#53351
Author: Jeffrey M. Vinocur
Date: Wed, 18 Jul 2001 19:43
15 lines
1342 bytes
In article <vakbsmi3x17.fsf@darkstar.cis.ohio-state.edu>,
Joshua Gould  <gould@cis.ohio-state.edu> wrote:
>
>The main question I have is: Where can I find good information on
>sizing CNFS?

Are you sure you need CNFS?  You've got surely no more than half
a gigabyte of traffic each day, right?  Tradspool can handle
that.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: CNFS info
#53352
Author: fnews
Date: Wed, 18 Jul 2001 21:34
30 lines
2072 bytes
In article <9j4oso$rb7$2@marduk.litech.org>, "Jeffrey M. Vinocur"
<jeff@litech.org> wrote:

> In article <vakbsmi3x17.fsf@darkstar.cis.ohio-state.edu>, Joshua Gould
>  <gould@cis.ohio-state.edu> wrote:
>>
>>The main question I have is: Where can I find good information on
>>sizing CNFS?
> 
> Are you sure you need CNFS?  You've got surely no more than half a
> gigabyte of traffic each day, right?  Tradspool can handle that.

CNFS is not just for huge traffic, it can save a lot of access disk,
since INN has not to create a file for each article received, so CNFS
is amazingly more rapid and save a lot of hard disk activity.

CNFS has the other advantage that there is no need to expire : the
volume does not increase.

Here are the avg timer values for my cnfs server (well, small 20 Mo/day
hierarchy). Look and compare with tradspool values !
article cancel  3.200 ms
article control  3.414 ms
article link 0 ms
article write  2.441 ms
history grep  1.773 ms
history lookup  0.145 ms
history sync 0.05 ms
history write  0.931 ms
Re: CNFS info
#53353
Author: Jeffrey M. Vinocur
Date: Thu, 19 Jul 2001 01:14
42 lines
2470 bytes
In article <20010718.233415.1106059479.16735@franconews.org>,
fnews <news@franconews.org> wrote:
>
>CNFS is not just for huge traffic, it can save a lot of access disk,
>since INN has not to create a file for each article received, so CNFS
>is amazingly more rapid and save a lot of hard disk activity.

Indeed.  But I think in general most people with small servers
prefer tradspool.  


>CNFS has the other advantage that there is no need to expire : the
>volume does not increase.

I think people with small servers don't generally consider CNFS
expiration a feature, in that they prefer to be able to have
guaranteed fine-tuned retention times rather than global or
near-global approximations.


>Here are the avg timer values for my cnfs server (well, small 20 Mo/day
>hierarchy). Look and compare with tradspool values !

I think this is a silly approach, but if you want play, let's
play.  The second column is tradspool, 50MB/day:

>article cancel         3.200 ms      2.881
>article control        3.414 ms      0.988
>article link           0.000 ms      0.000
>article write          2.441 ms      6.066
>history grep           1.773 ms      0.024
>history lookup         0.145 ms      0.061
>history sync           0.050 ms      0.454
>history write          0.931 ms      0.556

What sort of conclusions am I supposed to be drawing?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: CNFS info
#53356
Author: fnews
Date: Thu, 19 Jul 2001 07:25
22 lines
2125 bytes
In article <9j5cab$uro$1@marduk.litech.org>, "Jeffrey M. Vinocur"
<jeff@litech.org> wrote:

> I think people with small servers don't generally consider CNFS
> expiration a feature, in that they prefer to be able to have
> guaranteed fine-tuned retention times rather than global or
> near-global approximations.

Sure, but with a regular traffic and different buffers (eg for
news.lists.filters) it is quite easy to predict the expire period.

>>article cancel         3.200 ms      2.881 article control       
>>3.414 ms      0.988 article link           0.000 ms      0.000 article
>>write          2.441 ms      6.066 history grep           1.773 ms    
>> 0.024 history lookup         0.145 ms      0.061 history sync        
>>  0.050 ms      0.454 history write          0.931 ms      0.556
> 
> What sort of conclusions am I supposed to be drawing?

Nothing, you're right, the comparison should be made on the same machine, i'm
runnning a poor pentium with an IDE disk.
Re: CNFS info
#53363
Author: Joshua Gould
Date: Thu, 19 Jul 2001 13:19
16 lines
1727 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes:

> Are you sure you need CNFS?  You've got surely no more than half
> a gigabyte of traffic each day, right?  Tradspool can handle
> that.
> 

I took a look at our innreport and we have incoming about 800-900k
articles per day and feed out about a million articles per day.

No, I'm not sure we need CNFS. I'm mainly just doing research at this
point. I take it you reccoment trad. spool?


  Joshua
Re: CNFS info
#53381
Author: Jeffrey M. Vinocur
Date: Thu, 19 Jul 2001 21:19
22 lines
1746 bytes
In article <vaklmll2h0g.fsf@darkstar.cis.ohio-state.edu>,
Joshua Gould  <gould@cis.ohio-state.edu> wrote:
>
>I took a look at our innreport and we have incoming about 800-900k
>articles per day and feed out about a million articles per day.

(Any idea what this is byte-wise?)


>No, I'm not sure we need CNFS. I'm mainly just doing research at this
>point. I take it you reccoment trad. spool?

Mmm, recommend might be too strong.  There are uses for both, and
you should choose whichever fits your needs (do you have an idea
of the pros and cons?).  I'm just saying that if I had to guess
from here, I'd guess you'd be choosing tradspool.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: CNFS info
#53382
Author: Joshua Gould
Date: Thu, 19 Jul 2001 21:34
34 lines
2610 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes:

> In article <vaklmll2h0g.fsf@darkstar.cis.ohio-state.edu>,
> Joshua Gould  <gould@cis.ohio-state.edu> wrote:
> >
> >I took a look at our innreport and we have incoming about 800-900k
> >articles per day and feed out about a million articles per day.
> 
> (Any idea what this is byte-wise?)
> 

For some reason innreport only prints the number of articles accepted
and rejected. It does have a byte field but all of them have been
consistantly 0kb.

I know that I'd choose trad. spool at least for the local groups since
some of them need to be cleaned out at the end of the quater and
such. I guess it wouldn't hurt to go with trad. spool over all since
that's what our existing server uses.

I was planning on going with a 12x9GB array with hardware RAID-5 and
128MB of cache. 

The other real question I have is, since this array will be so fast,
can I make it one big RAID-5 stripe or would you reccomend splitting a
few disks off for a logs partition and an overview partition?

My initial impression is that the speed will be fast enough that I
wouldn't have to break the 12 disk array into smaller arrays, but if
you have any advice or tips I'd be interested.


  Joshua
Re: CNFS info
#53385
Author: Russ Allbery
Date: Thu, 19 Jul 2001 22:28
24 lines
2105 bytes
Joshua Gould <gould@cis.ohio-state.edu> writes:

> For some reason innreport only prints the number of articles accepted
> and rejected. It does have a byte field but all of them have been
> consistantly 0kb.

I think we figured out that this is a syslog bug on some platforms, if I
remember Barry's fix and the context surrounding it correctly.  It works
for me now on Solaris with INN 2.3, at least.

> The other real question I have is, since this array will be so fast, can
> I make it one big RAID-5 stripe or would you reccomend splitting a few
> disks off for a logs partition and an overview partition?

One big RAID-5 stripe will probably be fine (although I have to admit that
I always run RAID 1+0 for news, since I used to have serious speed
problems with RAID 5 -- that may be outdated now, though).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: CNFS info
#53388
Author: Dan Riley
Date: Fri, 20 Jul 2001 00:10
30 lines
2406 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes:
> In article <20010718.233415.1106059479.16735@franconews.org>,
> fnews <news@franconews.org> wrote:
> >CNFS has the other advantage that there is no need to expire : the
> >volume does not increase.
> 
> I think people with small servers don't generally consider CNFS
> expiration a feature,

I do!  The great thing about CNFS is there's very little temptation to
fiddle with it.  Plus I like the way the disk LEDs don't flash hardly
at all. :-)

> in that they prefer to be able to have guaranteed fine-tuned
> retention times rather than global or near-global approximations.

We've got local "never expire" groups in tradspool, and everything
else is in CNFS.  The general feeling is that in the long run,
throwing enough disk at CNFS to guarantee long enough retention is
cheaper than having me fiddle with expiration times.  Yes, we could
throw that disk at tradspool, but then I'd want to fiddle.  CNFS
avoids the temptation.

Of course, your economic tradeoffs may be different from ours--apply
your own metric for optimisation.
-- 
Dan Riley                                         dsr@mail.lns.cornell.edu
Wilson Lab, Cornell University      <URL:http://www.lns.cornell.edu/~dsr/>
    "History teaches us that days like this are best spent in bed"
Re: CNFS info
#53393
Author: Karsten Thygesen
Date: Fri, 20 Jul 2001 14:36
29 lines
2416 bytes
>>>>> "Joshua" == Joshua Gould <gould@cis.ohio-state.edu> writes:

 Joshua> I was planning on going with a 12x9GB array with hardware
 Joshua> RAID-5 and 128MB of cache.

 Joshua> The other real question I have is, since this array will be
 Joshua> so fast, can I make it one big RAID-5 stripe or would you
 Joshua> reccomend splitting a few disks off for a logs partition and
 Joshua> an overview partition?

Hmm...Be carefull about too many disks in a single RAID-5 set. Most
RAID hardware producers recommends something like 6 disks pr. set. If
you use more disks, the overhead for reading+calculating+writing the
checksum is to expensive.

With CNFS it really don't matter. If you have a lot of say 9GB raids
then just put one spool on each raid and add them in a huge
metacycbuff. 

I have done that with 16x108Gb raids (each raid consists of 6 18.2GB
disks) and it works just fine. As long as each cycbuff is equal in
size, INN does a fine job in distributing the articles among the
spools.

Also, I have some raids (0+1) for history and overview - RAID-5 is not
ideal for that usage.

Karsten
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