Article View: news.software.nntp
Article #60250Re: cnfs file size > 2Gb problem
From: Russ Allbery
Date: Fri, 06 Sep 2002 02:33
Date: Fri, 06 Sep 2002 02:33
26 lines
2277 bytes
2277 bytes
bill <ccbill_at_@ust.hk> writes:
> Another questions about VERY BIG cycbuff. If I want to create 100GB buffer,
> I have the following options:
> 1) one 100GB cycbuff and one metacycbuff contains it
> 2) four 25GB cycbuff and one metacycbuff contains these four cycbuff
> 3) many small cycbuff and one metacycbuff contains all cycbuff
> Which one is better in terms of performance?
> The asssumption is that all of them are on a 100GB hardware RAID 5 disk.
If you're creating these as large files, smaller ones are probably more
efficient due to the way that Unix file systems handle large files
(they're not optimized for it and it tends to involve a lot of redirection
through multiple inode blocks). However, at some point you hit
inefficiencies due to consumption of resources from all the open files, so
there's probably some local minima in the curve somewhere.
I don't know exactly where it is, though.
--
Russ Allbery (rra@stanford.edu) <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:
<ylit1jsv8f.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<al4h1g$gkl$1@news.ust.hk> <al4n84$gh8$2@puck.litech.org> <al4qg7$jou$1@news.ust.hk> <al4qkm$jp8$1@news.ust.hk> <yld6rtka1x.fsf@windlord.stanford.edu> <al90kp$2sk$1@news.ust.hk>Show Full Headers
Complete Article Headers
Message-ID: <ylit1jsv8f.fsf@windlord.stanford.edu> Subject: Re: cnfs file size > 2Gb problem Date: Thu, 05 Sep 2002 19:33:04 -0700 From: Russ Allbery <rra@stanford.edu> References: <al4h1g$gkl$1@news.ust.hk> <al4n84$gh8$2@puck.litech.org> <al4qg7$jou$1@news.ust.hk> <al4qkm$jp8$1@news.ust.hk> <yld6rtka1x.fsf@windlord.stanford.edu> <al90kp$2sk$1@news.ust.hk> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 25 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1031279585 17846 171.64.13.23 (6 Sep 2002 02:33:05 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:WKt8IhMt7CransCFGUO63R7IzA4=