🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83337

Re: CNFS v4

#83337
From: D. Stussy
Date: Mon, 02 Aug 2010 20:35
34 lines
2603 bytes
"Michael Grimm" <trashcan@odo.in-berlin.de> wrote in message
news:i3769k$ugj$1@de-l.enfer-du-nord.net...
> Hi --
> Regarding http://www.eyrie.org/~eagle/software/inn/docs-2.5/news.html#S3
> a new CNFS v4 has been introduced, using 4 KB blocks instead of 512
bytes.
> And ...
> ,----
> | Existing CNFS buffers are kept unchanged; only new CNFS buffers are
> | initialized with that new version.
> `----
>
> Is there a way to initialize *new* CNFS with the old blocksize of 512
> bytes? The reason why I'm asking is: I do recognize CNFS of regular text
> newsgroups use approximatly 50-75% more CNFS space compared to the old
> version.

I too would prefer a CHOICE of blocksize.  Many messages on TEXT-ONLY
servers would do better with a blocksize of 512 bytes than 4K.

Whatever the blocksize, remember that per allocation (file, message, etc.),
50% of the blocksize on average results in wasted space.  Therefore, larger
blocksizes yield more wasted space.  This change is an 8x increase in
wasted space.

What may be better is to create an external program (e.g. "cnfsinit") to
create and initialize CNFS buffers, and allow us to set the blocksize (2^8
... 2^15; powers of 2 only).  When INN encounters an uninitialized CNFS
buffer, it calls the program instead of initializing it itself.

With a blocksize varying across CNFS buffers, we could set small sizes for
text groups and larger sizes for binary and/or high volume groups.

Technical Details
Message-ID: <i37a65$b6b$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.addix.net!news.glorb.com!news.snarked.org!.POSTED!not-for-mail
References: <i3769k$ugj$1@de-l.enfer-du-nord.net>

Show Full Headers
Complete Article Headers
Message-ID: <i37a65$b6b$1@snarked.org>
Subject: Re: CNFS v4
Date: Mon, 2 Aug 2010 13:35:11 -0700
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
References: <i3769k$ugj$1@de-l.enfer-du-nord.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.addix.net!news.glorb.com!news.snarked.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 34
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-210-230.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1280781317 11467 71.106.210.230 (2 Aug 2010 20:35:17 GMT)
X-Complaints-To: newsmaster+complaints@snarked.org
NNTP-Posting-Date: Mon, 2 Aug 2010 20:35:17 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-Original-Bytes: 2402