Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2009 11:11:15 -0400
From:      Steve Polyack <korvus@comcast.net>
To:        John Nielsen <lists@jnielsen.net>
Cc:        freebsd-questions@freebsd.org, Steve Bertrand <steve@ibctech.ca>
Subject:   Re: VMWare ESX and FBSD 7.2 AMD64 guest
Message-ID:  <4A69CF13.2000003@comcast.net>
In-Reply-To: <200907241022.15985.lists@jnielsen.net>
References:  <4A68F5CF.8030303@ibctech.ca> <200907241022.15985.lists@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
John Nielsen wrote:
> On Thursday 23 July 2009 19:44:15 Steve Bertrand wrote:
>   
>> I'd appreciate any feedback on tweaks that I can make (either to VMWare,
>> or FreeBSD itself) to make the virtualized environment much more efficient.
>>     
>
> See above about storage. Similar questions come up periodically; searching the 
> archives if you haven't already may prove fruitful. You may want to try 
> running with different kernel HZ settings for instance.
>   

You should certainly try setting both kern.hz and vfs.read_max in the 
FreeBSD VM.  I would recommend:

In loader.conf:
kern.hz=100

In /etc/sysctl.conf:
vfs.read_max=32

You may also try increasing vfs.hirunningspace.  I've had good results 
with setting it to 32MB on write-intensive systems.  Tuning vfs.read_max 
can give some boosts to physical-hardware FreeBSD systems as well.

-Steve Polyack




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A69CF13.2000003>