Article View: news.software.nntp
Article #82689Re: CNSF at block devices and FreeBSD?
From: Julien ÉLIE
Date: Thu, 28 Jan 2010 17:21
Date: Thu, 28 Jan 2010 17:21
49 lines
3770 bytes
3770 bytes
Hi Miquel,
>>> Another add-on: what is the technical background of ...
>>> ,----
>>> | Note, however, that each cycbuff cannot be larger than 2 GB with this
>>> | method
>>> `----
>>> ... if one would have enabled --enable-largefiles?
>>
>>Even if you enabled large files, there were problems with using larger
>>cycbuffs as block devices on Solaris, IIRC.
>
> Okay this thread was originally about FBSD8, and I don't know
> anything about that, but the documentation that is referred to
> above isn't completely correct.
>
> Solaris may have a 2GB limit on raw block devices, but Linux
> doesn't (also, on Linux, the blockdevice isn't quite 'raw',
> the buffer cache is still being used).
Maybe we should update the documentation of cycbuff.conf to be more specific
about that limit of 2 GB.
It appears that *older* Linux versions have a limit according to that
other part of documentation (in INSTALL):
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 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 Solaris 7, or not running in 64-bit mode, is in this
category); on those OSes, if you want cycbuffs over 2 GB, you'll have to
use regular files. If in doubt, keep your cycbuffs smaller than 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).
In order to use any cycbuff larger than 2 GB, you need to build INN with
the --enable-largefiles option.
--
Julien ÉLIE
« -- Ouvre l'œil, et le bon !
-- L'autre, je peux pas encore l'ouvrir, je risque pas de me tromper ! » (Astérix)
Technical Details
Message-ID:
<hjsh29$bdu$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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!feeder.news-service.com!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-9-10.w83-114.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>Show Full Headers
Complete Article Headers
Message-ID: <hjsh29$bdu$1@news.trigofacile.com> Subject: Re: CNSF at block devices and FreeBSD? Date: Thu, 28 Jan 2010 18:21:18 +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> 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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!feeder.news-service.com!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-9-10.w83-114.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 49 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Thu, 28 Jan 2010 17:21:13 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-151-1-9-10.w83-114.abo.wanadoo.fr:83.114.8.10"; logging-data="11710"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <4b61b127$0$22919$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 X-Original-Bytes: 3548