Subject: Re: OT: recommendation for vm tuning for anoncvs mirror?
To: Jeff Rizzo <riz@tastylime.net>
From: Tracy Di Marco White <netbsd@gendalia.org>
List: netbsd-users
Date: 02/26/2005 15:06:42
In message <4220E340.6000601@tastylime.net>, Jeff Rizzo writes:
>I'm setting up a machine for a mirror of anoncvs, and it has 4G of RAM.  
>I'm trying to take maximum advantage of it to keep the CVS repository in 
>RAM (in case it's not clear, this is the NetBSD CVS repository, which is 
>over 3G is size) to maximize performance.
>
>Despite various tweaks I've made to things, I'm having a hard time 
>getting the file cache (which is the one I assume I should care about) 
>much over 1.5G - consequently things get pretty slow at times.  Can 
>anyone who might already be running an anoncvs mirror suggest some 
>settings to start with?  I've also bumped kern.maxvnodes to 500000.

The applicable things in /etc/sysctl.conf:
kern.maxvnodes=524288
vm.filemax=90
vm.anonmin=5
vm.anonmax=10

Hope this helps.

-Tracy