From owner-freebsd-questions@FreeBSD.ORG Fri Jul 24 15:11:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E76F6106564A for ; Fri, 24 Jul 2009 15:11:22 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id AEE778FC13 for ; Fri, 24 Jul 2009 15:11:22 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Fri, 24 Jul 2009 10:53:40 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::27 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4A69CF13.2000003@comcast.net> Date: Fri, 24 Jul 2009 11:11:15 -0400 From: Steve Polyack User-Agent: Thunderbird 2.0.0.22 (X11/20090630) MIME-Version: 1.0 To: John Nielsen References: <4A68F5CF.8030303@ibctech.ca> <200907241022.15985.lists@jnielsen.net> In-Reply-To: <200907241022.15985.lists@jnielsen.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Steve Bertrand Subject: Re: VMWare ESX and FBSD 7.2 AMD64 guest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2009 15:11:23 -0000 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