Article View: news.software.nntp
Article #71484Re: CNFS desgin question...
From: Schroeder, AJ
Date: Wed, 04 May 2005 16:47
Date: Wed, 04 May 2005 16:47
52 lines
3967 bytes
3967 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message news:87oebr6lh1.fsf@windlord.stanford.edu... > Schroeder, AJ <aj1@qg.com> writes: > > > I have read and re-read the storage.conf and cycbuff.conf manpages, and > > the INN architecture guide, and I am left with a couple of design > > questions. First, is it better to have many smaller files make up a > > buffer, or a couple of gargantuan ones? Reason I ask is that I was > > playing around with this and I created a 100GB file and made it my > > initial buffer for the limited binaries feed that we have. Would I be > > better served by creating ten 10GB files in this instance? > > Unless by creating multiple files you can spread the load across multiple > physical spindles, it's going to be generally more efficient to use one > huge buffer. However, the caveats to that are that building INN with > large file support will slow it down (it makes a lot of internal data > structures larger, which in turn affects how much data it has to read and > write off disk) and that if you're creating large files, rather than using > raw devices, your file system design *might* slow down accesses to really > large files. > I have an external U160 SCSI disk shelf with a single RAID 5 array spread across 14 physical disk drives (I pushed for RAID 10, but not enough hardware) for the cycbuffs. I store overview on a separate mirrorset on a separate RAID controller. Overall I would say my disk subsystem is more than sufficient for my current feed - it was a major concern for me so I have been watching disk I/O and it has been performing quite well. I am using FreeBSD 5.3 and I don't believe that the OS supports writing directly to a raw device, at least I have not found any documentation to prove/disprove my assumption. I don't remember building INN with large file support? I installed from ports with no special options, but maybe that was set by the port maintainer by default. > > Reason I ask is because it seems that the 100GB buffer is holding onto > > articles way past their usefulness. The manpages state that CNFS is > > self-expiring, meaning that expire.ctl settings don't work with CNFS, so > > it would make sense to me to make several smaller buffers that rollover > > faster to alleviate the old article problem. > > Well, rollover will happen based on the total space that you have in the > metacycbuff into which you're putting the articles. 10 10GB buffers will > expire articles exactly as fast (with some minor wiggles around the edge > conditions) as one 100GB buffer. > Ok, that answers that question, I had hoped that rollover happend on the individual buffer and not the meta buffer. Metacycbuffs are set by default to fill each cycbuff at the same time instead of filling one, then moving to the next?
Technical Details
Message-ID:
<d5aub9$2kdi$1@sxnews1.qg.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!nntp.gblx.net!nntp3.phx1!sxnews1.qg.com!not-for-mailReferences:
<d5amlf$2k1h$1@sxnews1.qg.com> <87oebr6lh1.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <d5aub9$2kdi$1@sxnews1.qg.com> Subject: Re: CNFS desgin question... Date: Wed, 4 May 2005 11:47:36 -0500 From: "Schroeder, AJ" <aj1@qg.com> References: <d5amlf$2k1h$1@sxnews1.qg.com> <87oebr6lh1.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!nntp.gblx.net!nntp3.phx1!sxnews1.qg.com!not-for-mail Newsgroups: news.software.nntp Organization: Quad/Graphics, Inc. Lines: 52 NNTP-Posting-Host: 161.49.13.159 X-Trace: sxnews1.qg.com 1115225257 86450 161.49.13.159 (4 May 2005 16:47:37 GMT) X-Complaints-To: usenet@sxnews1.qg.com NNTP-Posting-Date: Wed, 4 May 2005 16:47:37 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165