Article View: news.software.nntp
Article #71490Re: CNFS desgin question...
From: Bill Davidsen
Date: Wed, 04 May 2005 17:28
Date: Wed, 04 May 2005 17:28
65 lines
4826 bytes
4826 bytes
Schroeder, AJ wrote: > "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? > > If you really want to expire these articles, there is a "-N" option to expire which should do it for you. It is likely to make expire take a very long time, depending on how you set up your control file. -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com
Technical Details
Message-ID:
<hD7ee.1859$Yg4.784@newssvr17.news.prodigy.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!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newscon06.news.prodigy.com!prodigy.net!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr17.news.prodigy.com.POSTED!dd8c8703!not-for-mailReferences:
<d5amlf$2k1h$1@sxnews1.qg.com> <87oebr6lh1.fsf@windlord.stanford.edu> <d5aub9$2kdi$1@sxnews1.qg.com>Show Full Headers
Complete Article Headers
Message-ID: <hD7ee.1859$Yg4.784@newssvr17.news.prodigy.com> Subject: Re: CNFS desgin question... Date: Wed, 04 May 2005 17:28:45 GMT From: Bill Davidsen <davidsen@deathstar.prodigy.com> References: <d5amlf$2k1h$1@sxnews1.qg.com> <87oebr6lh1.fsf@windlord.stanford.edu> <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!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newscon06.news.prodigy.com!prodigy.net!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr17.news.prodigy.com.POSTED!dd8c8703!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <d5aub9$2kdi$1@sxnews1.qg.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 65 NNTP-Posting-Host: 207.115.54.37 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr17.news.prodigy.com 1115227725 ST000 207.115.54.37 (Wed, NNTP-Posting-Date: Wed, 04 May 2005 13:28:45 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: Q[R_@SJG@ZWMBWPP\JJB^\TDEZXXPGLLEXRZKB]MPXH@ETUCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM