Article View: news.software.nntp
Article #82756Re: CNSF at block devices and FreeBSD?
From: Julien ÉLIE
Date: Sat, 06 Feb 2010 12:10
Date: Sat, 06 Feb 2010 12:10
76 lines
5026 bytes
5026 bytes
Hi Miquel, > Some more datapoints (I'd send a patch, but in a few hours I'll > be heading to the French Alps) : I hope your holiday was fine. What do you think of that change? Index: cycbuff.conf.pod =================================================================== --- cycbuff.conf.pod (révision 8880) +++ cycbuff.conf.pod (copie de travail) @@ -147,10 +147,18 @@ Use block devices directly. If your operating system allows you to call mmap() on block devices (Solaris and recent versions of Linux do, FreeBSD at last report does not), this is the recommended method since you can -avoid all of the native file system overhead. Note, however, that each -cycbuff cannot be larger than S<2 GB> with this method, so if you need a lot -of spool space, you may have to go back to disk files. +avoid all of the native file system overhead. +Note that some OSes do not support files larger than S<2 GB>, which will +limit the size you can make a single cycbuff, but you can still combine +many cycbuffs into each metacycbuff. Very old versions of Linux (before 2.4 +kernels, that raised the limit to S<2 TB>) are known to have this limitation; +FreeBSD does not. Some OSes that support large files don't support direct +access to block devices for large partitions (Solaris prior to S<Solaris +7>, or not running in 64-bit mode, is in this category); on those OSes, +if you want cycbuffs over S<2 GB>, you'll have to use regular files. +If in doubt, keep your cycbuffs smaller than S<2 GB>. + Partition the disk to make each partition equal to or smaller than S<2 GB>. If you're using Solaris, set up your partitions to avoid the first cylinder of the disk (or otherwise the cycbuff header will overwrite the disk partition table and render the cycbuffs inaccessible). Then, create device files for each block device you're going to use. Index: install.pod =================================================================== --- install.pod (révision 8880) +++ install.pod (copie de travail) @@ -1067,17 +1067,9 @@ For each metacycbuff, you now need to determine how many cycbuffs will make up the metacycbuff, the size of those cycbuffs, and where they will -be stored. Some OSes do not support files larger than S<2 GB>, which will -limit the size you can make a single cycbuff, but you can still combine -many cycbuffs into each metacycbuff. Older versions of Linux are known to -have this limitation; FreeBSD does not. Some OSes that support large -files don't support direct access to block devices for large partitions -(Solaris prior to S<Solaris 7>, or not running in 64-bit mode, is in this -category); on those OSes, if you want cycbuffs over S<2 GB>, you'll have to -use regular files. If in doubt, keep your cycbuffs smaller than S<2 GB>. -Also, when laying out your cycbuffs, you will want to try to arrange them -across as many physical disks as possible (or use a striped disk array and -put them all on that). +be stored. Also, when laying out your cycbuffs, you will want to try to +arrange them across as many physical disks as possible (or use a striped +disk array and put them all on that). In order to use any cycbuff larger than S<2 GB>, you need to build INN with the B<--enable-largefiles> option. See L<Installing INN> for more -- Julien ÉLIE « -- Où vous croyez-vous ici ? -- Où je me trouve, je sais. » (Astérix)
Technical Details
Message-ID:
<hkjm8g$6r6$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.amontpellier-159-1-96-131.w90-57.abo.wanadoo.fr!not-for-mailReferences:
<hjl4uq$1d56$2@de-l.enfer-du-nord.net> <87tyu9hldo.fsf@windlord.stanford.edu> <4b61b127$0$22919$e4fe514c@news.xs4all.nl> <hjsh29$bdu$1@news.trigofacile.com> <4b61ec8b$0$22920$e4fe514c@news.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <hkjm8g$6r6$1@news.trigofacile.com> Subject: Re: CNSF at block devices and FreeBSD? Date: Sat, 6 Feb 2010 13:10:56 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <hjl4uq$1d56$2@de-l.enfer-du-nord.net> <87tyu9hldo.fsf@windlord.stanford.edu> <4b61b127$0$22919$e4fe514c@news.xs4all.nl> <hjsh29$bdu$1@news.trigofacile.com> <4b61ec8b$0$22920$e4fe514c@news.xs4all.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.amontpellier-159-1-96-131.w90-57.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 76 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Sat, 6 Feb 2010 12:10:56 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="amontpellier-159-1-96-131.w90-57.abo.wanadoo.fr:90.57.255.131"; logging-data="7014"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <4b61ec8b$0$22920$e4fe514c@news.xs4all.nl> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005