Article View: news.software.nntp
Article #87548Re: Inn CNFS Buffers Question
From: Russ Allbery
Date: Thu, 03 Nov 2016 16:20
Date: Thu, 03 Nov 2016 16:20
36 lines
2171 bytes
2171 bytes
CyberMaster <notreally@home.net> writes:
> Lets take an example of a single cnfs buffer size, created using all of
> the drives space, lets say 1Terabyte.
> Newly created articles data is written from the cnfs buffer from
> beginning to the end:
> ||||||||||||||||||||||||||||||||||||||
> Lets say 3 cancel articles come in:
> ||||||-|||||||||-||||||||||||||-||||||
> Now, there are 3 sections of the alloted hard drive space sectors
> available to write to.
No, that's not how CNFS works.
CNFS is a pure circular buffer. It never reclaims partial space. New
articles are written append-only to the next available spot in the CNFS
buffer until the buffer is full, at which point (possibly after a delay to
fill another buffer if you have multiple buffers in the same metabuffer)
it starts writing to the start of the buffer again and invalidates the
articles that it overwrites.
Cancels make articles unavailable, but they aren't removed from the
buffer. They stay there until overwritten, like any other article.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<871sys8rid.fsf@hope.eyrie.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.(19219).mbox.7z!not-for-mailReferences:
<nvehup$6hk$1@its.enother.net>Show Full Headers
Complete Article Headers
Message-ID: <871sys8rid.fsf@hope.eyrie.org> Subject: Re: Inn CNFS Buffers Question Date: Thu, 03 Nov 2016 09:20:10 -0700 From: Russ Allbery <eagle@eyrie.org> References: <nvehup$6hk$1@its.enother.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.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 34 NNTP-Posting-Host: hope.eyrie.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: usenet.stanford.edu 1478190010 31793 166.84.7.155 (3 Nov 2016 16:20:10 GMT) X-Complaints-To: action@cs.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:Gii+htoDRTm9OVCiEwi65JgHOoU= X-Received-Bytes: 2024 X-Received-Body-CRC: 3035822905