🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #35986

Re: Questions about optimal FS setting for Solaris

#35986
From: Kjetil Torgrim Homme
Date: Tue, 16 Mar 1999 00:00
50 lines
2760 bytes
[Jim McCullars]

>      Currently, my newsspool is sitting at about 83% capacity, and
>   about 20% of inode capacity.  I may have gone a bit overboard in
>   setting the blocks- per-inode at a low value (mkfs -m tells me it
>   is 1026, I must have meant 1024).  Is the wide discrepancy between
>   disk space usage and inode usage an indication that I created too
>   many inodes?

Probably.  But it sucks to run out of inodes.  With 1024 bytes per
inode, it is impossible[1] to run out of inodes since the smallest
fragment size is 1024.

>   Is there a performance penalty with this?

I don't think so, you are just wasting a small bit of disc space.
Each inode uses 320 bytes.

>   For a news server that is not heavy on the binary groups, what is
>   an appropriate block-per-inode setting?

Depends on your mix.  I think you can calculate it with your data
yourself :-)  Perhaps you should go for 2kB per inode?

>      The news spool is running on a stripe set, to which I am about
>   to add another disk.  I let DiskSuite take the default interlace
>   value of 16K, should I make this smaller?

I don't think so.  You are not interested in speeding up the reading
of a single article, you want the disks serving different readers
concurrently.  Therefore, I think _increasing_ the interlace may be
beneficial -- an article will then span the interlace gap[2] more
seldom.  The mantra for news tuning is "Do not seek".

>   I realize I will have to back up and re- initialize the set to
>   change any of these things (inodes and interlace), but I wonder if
>   I should do this, or just add the new disk on the fly with the
>   current settings?

Backup and restore takes a long time...  I wouldn't bother unless
iostat told me that the setup was marginal.


Kjetil T.

[1] Not strictly correct, quick symlinks use an inode and no disk
    blocks, but you aren't using symlinks.
[2] There's probably a better technical term for it.

Technical Details
Message-ID: <1r6781bp67.fsf@haey.ifi.uio.no>
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: <7cjn51$va$1@info2.uah.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1r6781bp67.fsf@haey.ifi.uio.no>
Subject: Re: Questions about optimal FS setting for Solaris
Date: Tue, 16 Mar 1999 00:00:00 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <7cjn51$va$1@info2.uah.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
X-Deja-AN: 455597530
X-Complaints-To: usenet@mimir.ifi.uio.no
X-Trace: mimir.ifi.uio.no 921586897 28255 129.240.64.139 (16 Mar 1999 12:21:37 GMT)
Organization: Dept. of Informatics, University of Oslo, Norway
NNTP-Posting-Date: 16 Mar 1999 12:21:37 GMT
Newsgroups: news.software.nntp