🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82656

Re: CNSF at block devices and FreeBSD?

#82656
From: Russ Allbery
Date: Mon, 25 Jan 2010 23:05
23 lines
2077 bytes
Michael Grimm <trashcan@odo.in-berlin.de> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> The advantages of using block devices instead of files 
>> in a file system are somewhat dubious.

> -v please, if you don't mind. 

> I'd always ran into claims that when it comes to speed, 
> raw devices are the ultimate answer ... true?

The problem is that you may be bypassing the buffer cache in the kernel
when accessing block devices directly, and INN is not doing equivalent
caching.  So while you save some overhead from the file system layout
since most file systems don't do that sensible of things for really large
files, you're probably losing that speed again by bypassing useful kernel
caching.  The result is probably mostly a wash.

-- 
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: <87pr4xhjjy.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.CARNet.hr!news.glorb.com!news2.glorb.com!news.kjsl.com!usenet.stanford.edu!news.stanford.edu!not-for-mail
References: <hjl4uq$1d56$2@de-l.enfer-du-nord.net> <87tyu9hldo.fsf@windlord.stanford.edu> <hjl76b$1d56$3@de-l.enfer-du-nord.net>

Show Full Headers
Complete Article Headers
Message-ID: <87pr4xhjjy.fsf@windlord.stanford.edu>
Subject: Re: CNSF at block devices and FreeBSD?
Date: Mon, 25 Jan 2010 15:05:37 -0800
From: Russ Allbery <rra@stanford.edu>
References: <hjl4uq$1d56$2@de-l.enfer-du-nord.net> <87tyu9hldo.fsf@windlord.stanford.edu> <hjl76b$1d56$3@de-l.enfer-du-nord.net>
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.ams.giganews.com!nntp.giganews.com!newsfeed.CARNet.hr!news.glorb.com!news2.glorb.com!news.kjsl.com!usenet.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 23
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.stanford.edu 1264460737 19765 171.67.225.134 (25 Jan 2010
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:lVqZxk0s4SKJ8FTUx+boLQ/+p+A=