Article View: news.software.nntp
Article #72031Re: Optimal cycbuff size and quantity
From: Jeffrey M. Vinocur
Date: Tue, 12 Jul 2005 20:41
Date: Tue, 12 Jul 2005 20:41
58 lines
3593 bytes
3593 bytes
In article <u64vf6fi3.fsf@raines.ws>, Andrew Raines <aa@raines.ws> wrote: > >Let me ask my question a different way. Is there >any way to create cycbuffs that would *hamper* >performance? In other words, am I free to create >them in whatever way makes logistical sense in my >configuration without causing problems? This is an excellent question. Unfortunately, I think we have only anecdotal experience. I'll throw some ideas out, and perhaps people will disagree. Let's assume we start from a base configuration, in which you have your spool divided up into metacycbuffs based on whatever characteristics you like (article size, hierarchy, etc), and each metacycbuff has a single cycbuff associated with it. Then you consider different variations of this configuration. - If you split a metacycbuff across multiple smaller cycbuffs, all on the same physical drive, with SEQUENTIAL set in cycbuff.conf, I don't think you'll see a change. People certainly do this when they lack large file support (many 2 GB cycbuffs combined into one metacycbuff). We're talking in the dozens of cycbuffs here, maybe up to a hundred. I've never heard anyone report using more than that. - If you do the same split, but don't set SEQUENTIAL, you may see a drop in performance (because your drive is presumably going to get the best performance with bulk throughput and the worst with random access, and requiring it to simultaneously read multiple files has an element of the latter). I don't think this drop would be very large, however, as long as you have enough disk cache to hold a chunk of each cycbuff. - On the other hand, if you do the same split but put each cycbuff on a different physical drive, and don't set SEQUENTIAL, you may get a decent benefit, due to striping. - If you have SEQUENTIAL set and do any of these splits, but create nonequal cycbuff sizes, you will see very strange behavior with article expiration patterns. In particular, many articles will expire early (because they were in a small cycbuff that rolled over faster) while older articles in the same group are still accessible. Users will probably find this frustrating. - Starting from the base configuration again, using raw partitions instead of files can markedly degrade performance on some operating systems, but that doesn't seem to be an issue for you. Any other configurations you were considering? -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<db19tp$ova$1@puck.litech.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!news.litech.org!not-for-mailReferences:
<uackr6hhf.fsf@raines.ws> <1t97lbzg79bbq.dlg@falcon.sloth.hell.pl> <u64vf6fi3.fsf@raines.ws>Show Full Headers
Complete Article Headers
Message-ID: <db19tp$ova$1@puck.litech.org> Subject: Re: Optimal cycbuff size and quantity Date: Tue, 12 Jul 2005 20:41:29 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <uackr6hhf.fsf@raines.ws> <1t97lbzg79bbq.dlg@falcon.sloth.hell.pl> <u64vf6fi3.fsf@raines.ws> 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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 58 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1121200889 25578 66.218.0.75 (12 Jul 2005 20:41:29 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 12 Jul 2005 20:41:29 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)