🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4528

Re: Bytes/inode for news spool

#4528
From: bill davidsen
Date: Thu, 01 Feb 1996 00:00
47 lines
2502 bytes
In article <DLxCA0.7G2@abs.net>, Mike Batchelor <mikebat@abs.net> wrote:
| Getting ready to put a news server online, using Solaris 2.5 on a SS20 with
| Andataco RAID5 tower (10 Gig useable space).  I set up a single partition,
| using newfs -i 1024.  Is this going to be enough inodes (1024 bytes per
| inode)?  I only have one notch lower to go, 512 bytes/inode.  I also set the
| frag size to 512 bytes.  I can change the frag size later, but I can't
| change the bytes/inode ratio without doing newfs again, so I am asking now
| before I start filling it up. :)
| 
| For the squeamish, I am doing UFS logging, and have the log slice mirrored
| onto a different drive, different SCSI controller.  With this safeguard, I
| didn't see a need to split the partition for safety reasons, and since it's
| already spread across 6 spindles, the performance needs are also taken care
| of.

Here is some data from an AIX machine (broken lines):

Filesystem    1024-blocks      Used      Free %Used
/dev/newsart      8159232   4638012   3521220   57%
    Iused    Ifree %Iused Mounted on
   936665  1103143    46% /var/spool/news

With 16k+ groups there are 10333 inodes used for directories, so bc says:
  scale=4; 4638012/936665
  4.9516
  4638012/(936665-10333)
  5.0068

If you don't carry binaries, or don't use uniform expiration this
will not match your machine. For binaries (alt.binaries.pictures) the
info is:
  scale=4;1885987/52377
  36.0079

And dropping a.b.p from the original data:
  (4638012-1885987)/(936665-10333-52377)
  3.1489

Bottom line: 1k/inode is fine, I would be surprised if 2k/indoe gave
you any trouble without binaries or 4k with. These are my data, draw
your own conclusions.
--
	Bill Davidsen (davidsen@tmr.com)
Davidsen's first rule of system administration:
  He learns to swim fastest who is thrown in the deepest water.

Technical Details
Message-ID: <4eqmrj$p9a@usenetw1.news.prodigy.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
References: <DLxCA0.7G2@abs.net>

Show Full Headers
Complete Article Headers
Message-ID: <4eqmrj$p9a@usenetw1.news.prodigy.com>
Subject: Re: Bytes/inode for news spool
Date: Thu, 01 Feb 1996 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <DLxCA0.7G2@abs.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.mbox.zip!not-for-mail
X-Deja-AN: 137502889
Distribution: inet
Organization: TMR Associates, Schenectady NY
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com