🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36553

Re: Hardware advice

#36553
From: Russ Allbery
Date: Wed, 14 Apr 1999 00:00
36 lines
2250 bytes
Mike Horwath <drechsau@yuck.net> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> If you're using raw devices, which under Solaris I'd recommend, be
>> careful about your 2GB partitions and make sure they aren't over 2GB.
>> 2GB is a *hard limit* for raw CNFS buffers on Solaris.  Anything over
>> that you won't be able to use so it'd just be wasted space.

> Is there that much performance benefit by using raw devices under
> solaris?

I honestly don't know for sure, since I've never tried it without raw
devices.  I intuitively would *think* that there would be a reasonable
performance difference since given the size of a typical CNFS buffer, on a
traditional file system you're dealing with a whole bunch of indirect and
double-indirect pointers in the inode, you're wasting all the inode space
on the disk, and a simple seek on a raw device should be much faster.

> My feeder is Ultra II/300Mhz and 512MB.  Think it would be worth while?

Don't know if it would make enough of a difference to be worth the hassle
of changing over.  I like raw devices mostly because I don't have to
fiddle with them, create them with dd, etc.  I just have a little Perl
script that does the mknod for me and if I want to reset the cycbuff, all
I have to do is something like:

        dd if=/dev/zero of=/var/news/cycbuffs/c1t1d0s0 bs=512 c=1

with the server stopped and then start it up again.  (Although I've not
tried that with a full history file; I'm not entirely sure what it would
do with all the tokens that just became invalid.)

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylr9pm3hr3.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!not-for-mail
References: <m3vhf1q7y5.fsf@sgifford.tir.com> <yl90bweusu.fsf@windlord.stanford.edu> <bV6R2.1840$nb3.263602@ptah.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylr9pm3hr3.fsf@windlord.stanford.edu>
Subject: Re: Hardware advice
Date: Wed, 14 Apr 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <m3vhf1q7y5.fsf@sgifford.tir.com> <yl90bweusu.fsf@windlord.stanford.edu> <bV6R2.1840$nb3.263602@ptah.visi.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.mbox.zip!not-for-mail
X-Deja-AN: 466496183
Organization: The Eyrie
Newsgroups: news.software.nntp