Subject: Re: OT: recommendation for vm tuning for anoncvs mirror?
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: David Laight <david@l8s.co.uk>
List: netbsd-users
Date: 02/27/2005 11:09:24
> First, it's basically imperative that you put the repository on a filesystem
> that has a 4k blocksize and 512-byte fragment size.  I suggest you
> carefully constrain the size of the filesystem so you don't get a totally
> insane number of cylinder groups.  Since you know approximately how many
> inodes you need, as well, you can adjust the number of bytes per inode to 
> get the cylinder group count down, too.  Twice as many inodes as are currently
> used by the repository should be enough to hold you for a long time.

You won't be able to change the number of cylinder groups, it will be
massive.  With a 512/2048 frag/block size you will have a cylinder group
for each 16MB

However you can request newfs create a filesystem with an explicit
number of inodes.

	David

-- 
David Laight: david@l8s.co.uk