🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Ragnar Lonn Thu, 19 Nov 1998 00:00
CNFS cycbuff size on NFS file system?
#33027
Author: Ragnar Lonn
Date: Thu, 19 Nov 1998 00:00
24 lines
1549 bytes
Hello people (and Barry too), 

I'm considering upgrading our INN 1.7insync-with-funny-patches to 2.2 beta or 
at least 2.1 for, among other things, performance reasons. However, to get
real performance it would be nice to use CNFS instead of the traditional 
storage method and that prompts a couple of questions:

First the difficult (?) one. We have a reader system with a Netapp NFS
server (with 60GB disk) as spool and some Sparcs mounting it and then serving 
readers via nnrpd. What cycbuff size would be recommended for that kind of 
setup? If I use a large cycbuff size, will the Netapp have problems caching 
data? (I know this is really a Netapp question rather than an NNTP software 
one) If I use a small cycbuff size, will that result in a lot of overhead for 
innd and nnrpd?

And another question - what's the easiest way to transfer a certain hierarchy
of articles stored with the 'traditional' storage method to a newly installed 
system that uses CNFS?

Regards,

  /Ragnar

Re: CNFS cycbuff size on NFS file system?
#33042
Author: Sasha Mikheev
Date: Thu, 19 Nov 1998 00:00
33 lines
2258 bytes
On Thu, 19 Nov 1998 18:33:41 GMT, Ragnar Lonn <prl@algo.net> wrote:
>Hello people (and Barry too), 
>
>
>First the difficult (?) one. We have a reader system with a Netapp NFS
>server (with 60GB disk) as spool and some Sparcs mounting it and then serving 
>readers via nnrpd. What cycbuff size would be recommended for that kind of 
>setup? If I use a large cycbuff size, will the Netapp have problems caching 
>data? (I know this is really a Netapp question rather than an NNTP software 
>one) If I use a small cycbuff size, will that result in a lot of overhead for 
>innd and nnrpd?
>
We have a similar setup here.  We use 1GB files for cycbuffs. I guess
you can use larger files but you will have to compile innd with large
file support if files are bigger then 2GB.
 Also do not use versions prior to 2.2b2. 2.1 caused history/overview
file corruption. And I think it is a good idea to turn off memory mapping
of cycbufs. It caused random OS crashes.

>And another question - what's the easiest way to transfer a certain hierarchy
>of articles stored with the 'traditional' storage method to a newly installed 
>system that uses CNFS?
You can try article translation switches in makehistory or you can run
innd as slave and give it some time to build up spool.

--
 Sasha Mikheev                      Linux -- put a penguin in your processor

 System Manager at Netvision Israel, Ltd
 Tel  +972-4-8560600 
 http://aldan.netvision.net.il/~sasha

Re: CNFS cycbuff size on NFS file system?
#33053
Author: Ragnar Lonn
Date: Fri, 20 Nov 1998 00:00
46 lines
2769 bytes
In article <slrn7597bu.vo.sasha@aldan.netvision.net.il>, 
sasha@aldan.netvision.net.il (Sasha Mikheev) wrote:
>We have a similar setup here.  We use 1GB files for cycbuffs. I guess
>you can use larger files but you will have to compile innd with large
>file support if files are bigger then 2GB.

I actually thought about using e.g. 100MB cycbuff files. That would give me
about 600 cycbuffs to play with and assign to various metabuffs for different 
hierarchies, allowing for fairly fine control.

Would 600 cycbuffs mean any kind of noticeable performance hit as opposed to
using 60 cycbuffs?

> Also do not use versions prior to 2.2b2. 2.1 caused history/overview
>file corruption. And I think it is a good idea to turn off memory mapping
>of cycbufs. It caused random OS crashes.

Yeah, memory mapped files over NFS sounds a bit dangerous. I never
tried it before.

>>And another question - what's the easiest way to transfer a certain hierarchy
>>of articles stored with the 'traditional' storage method to a newly installed 
>>system that uses CNFS?
>You can try article translation switches in makehistory or you can run
>innd as slave and give it some time to build up spool.
>

Will makehistory actually copy the articles to the new storage area using the 
new storage method?  Or will it just read them and build the new history db 
with references to the articles in it?

I have a local hierarchy where I save articles for 3 months and when upgrading 
to INN 2.x and replacing the traditional storage method with CNFS, I'd like 
for the past 3 months worth of articles in this local hierarchy to be 
transferred to the CNFS spool so we won't lose all the recent articles. 
The bulk of the hierarchies - the international ones - will be zeroed, that's 
no big problem. Running innd as slave for 3 months is not a good solution,
I think. It'll mean multiple servers on the same machine and a sharing of the
NFS spool server capacity. But most of all, I'd like to upgrade pretty quickly
as the current version is having problems coping with the full incoming feed!

Regards,

  /Ragnar

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