Subject: Re: LFS performance and kern.maxvnodes
To: Blair Sadewitz <blair.sadewitz@gmail.com>
From: Adam Hamsik <haaaad@gmail.com>
List: tech-perform
Date: 09/11/2007 01:19:06
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Aug 27, 2007, at 9:56 AM, Blair Sadewitz wrote:
hi

> Try cranking up kern.maxvnodes, and you'll notice that at some point,
> you'll be able to untar pkgsrc without tar/LFS eating up all your CPU
> time.  This should probably be in the guide.
>
> Regards,
>
> --Blair



Today I found that is good idea to increase this values also if  
system is under  the bigger filesystem activity e.g. cvs update. With  
running cvs update system is slow in fs operations like directory  
list. After increas of kern.maxvnodes to 65000 (i know this is  
probably too much;) system worked smoothly again.

We should increase default kern.maxvnodes to something bigger than  
45692 or at least document this somewhere so people can tune their  
netbsd better. Is tunning netbsd chapter in our guide correct place ?  
if yes I will write a patch .



Regards
- -----------------------------------------
Adam Hamsik
jabber: haad@jabber.org
icq: 249727910

Proud NetBSD user.

We program to have fun.
Even when we program for money, we want to have fun as well.
~ Yukihiro Matsumoto




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFG5dDqlIxPgX3Go0MRAlTVAKCqVevPBsy26bJhqGPu/X54B28tggCgoZyO
hE8aJ53Ddn+FnGk/OBh5blE=
=Ez97
-----END PGP SIGNATURE-----