🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29075

Re: Question regarding CNFS storage method in INN2.0

#29075
From: Forrest J. Cavalier III
Date: Thu, 11 Jun 1998 00:00
47 lines
2464 bytes
A followup to my post about disk fragmentation when creating cycbuffs
.....

>
>See the problem?  CNFS write might require some seeking, which
>is a delay to be avoided.
>
>To be sure CNFS doesn't have to write all the directory information,
>so there is still that improvement.  But not as much as there
>would be if you were able to create cycbufs into a blank spool....

Further thoughts.

If I understand the code correctly, cycbuffs in a metacycbuff are used
in strict round-robin fashion.  This means that if you have more than
one cycbuff on the same spindle, a head seek to write the next article
would be required, even if you initialized your cycbuffs on an empty
file system.

Example: two cycbuffs in a metacycbuf on a 10 block disk.

Disk block: 0 1 2 3 4 5 6 7 8 9            
Cycbuff     X X X X X Y Y Y Y Y

Article writes would be to cycbuff X, then Y, then X, etc.

If these ideas on cnfs seeking are accurate reflections of
reality there are some implications.  One is that having as few
cycbuffs on a disk as possible minimizes seeking.  Another is that
ordering cycbuffs in a metacycbuff on alternating disks may be
better than ordering cycbuffs on the same disk adjacent to each other.

With all of the head seeking that creating many cycbuffs into
a fragmented spool would cause, I wonder if this is the reason
for lower performance that some people are reporting.  

Since there could be a good deal of seeking with cycbuffs sharing
a disk, I wonder how much of the improvement seen with CNFS is just
due to not having to update directory information per article, and how
much is due to lowered seek times for writing.  Has anyone ever tried
to determine this?

Forrest


Technical Details
Message-ID: <6lon9e$qqq$1@news1.epix.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.mbox.zip!not-for-mail
References: <6li1o3$71$1@news.rightiming.com> <357e7192.0@131.162.2.91> <slrn6ntghm.puc.bem@thorin.cmc.net> <6lmrl0$j1n$1@news1.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <6lon9e$qqq$1@news1.epix.net>
Subject: Re: Question regarding CNFS storage method in INN2.0
Date: Thu, 11 Jun 1998 00:00:00 +0000
From: mibsoft@mibsoftware.com (Forrest J. Cavalier III)
References: <6li1o3$71$1@news.rightiming.com> <357e7192.0@131.162.2.91> <slrn6ntghm.puc.bem@thorin.cmc.net> <6lmrl0$j1n$1@news1.epix.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.mbox.zip!not-for-mail
X-Deja-AN: 361693059
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Organization: Mib Software
Newsgroups: news.software.nntp