Thread View: news.software.nntp
2 messages
2 total messages
Started by Jim McCullars
Mon, 15 Mar 1999 00:00
Questions about optimal FS setting for Solaris
Author: Jim McCullars
Date: Mon, 15 Mar 1999 00:00
Date: Mon, 15 Mar 1999 00:00
27 lines
1813 bytes
1813 bytes
Greetings! I have a couple of questions about optimal file system settings in a Solaris 2.6 setting, running INN 2.2. I chose to go with traditional spool system rather than CNFS. 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? Is there a performance penalty with this? For a news server that is not heavy on the binary groups, what is an appropriate block-per-inode setting? 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 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? Thanks for any advice... Jim
Re: Questions about optimal FS setting for Solaris
Author: Kjetil Torgrim Homme
Date: Tue, 16 Mar 1999 00:00
Date: Tue, 16 Mar 1999 00:00
50 lines
2760 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads