From owner-freebsd-questions@FreeBSD.ORG Thu Jun 7 01:17:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 548E316A469 for ; Thu, 7 Jun 2007 01:17:13 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id 0530A13C45B for ; Thu, 7 Jun 2007 01:17:12 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.83]) (authenticated bits=0) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id l571HAeU005181 for ; Wed, 6 Jun 2007 20:17:10 -0500 (CDT) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Wed, 6 Jun 2007 20:17:10 -0500 User-Agent: KMail/1.9.6 References: <46674717.6020105@calarts.edu> <26ddd1750706061711t660afba9h737735b9e1805c65@mail.gmail.com> In-Reply-To: <26ddd1750706061711t660afba9h737735b9e1805c65@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706062017.10202.freebsd@dfwlp.com> X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pollux.dfwlp.com Subject: Re: Virtualization of FreeBSD 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: Thu, 07 Jun 2007 01:17:13 -0000 On Wednesday 06 June 2007 19:11:16 Maxim Khitrov wrote: > On 6/6/07, Sean Murphy wrote: > > Is anyone running virtualization of FreeBSD servers on VMware or other > > virtualization software? What experiences have you had, good or bad? > > At home I run have several FreeBSD installs running on Windows 2003 > VMWare Server. The only reason I'm doing this is because FreeBSD > doesn't support my raid controller, so I'm stuck with windows. > > Overall it works fine. However, you do have terrible disk (and to a > lesser extent network) performance. I use these installs mostly for > developing and testing software, so it's not a big deal for me. Here > are a few tips for getting the most out of a FreeBSD server on VMWare > (this is for Windows only): > > - If you have enough memory, add prefvmx.minVmMemPct = "100" and > prefvmx.useRecommendedLockedMemSize = "TRUE" to VMWare config.ini (App > Data under All Users). That will keep all the VM memory in ram instead > of swapping it to the disk. The rest of the settings go into your > FreeBSD.vmx file. > > - Disable named memory file: mainMem.useNamedFile = "FALSE" > > - Disable page sharing: sched.mem.pshare.enable = "FALSE" > > - Disable memory trimming: MemTrimRate = "0" > > - Be sure to use Intel gigabit network adapter: ethernet0.virtualDev = > "e1000" > > In previous versions of VMWare Server you had to configure your > kern.hz sysctl to be 100. Otherwise your clock would run very slow. I > think they fixed it in the latest version, but just keep that in mind. > > Disk performance is quite bad. For example, doing a full extract of > the ports tree takes my server around 16 minutes. On my old laptop > with a crappy hard drive it takes only 8 or so minutes. So that's > something to keep in mind, you're not going to be able to use VMs as a > file server. For most other uses it works fine. > > - Max > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" i too used to run 4 FreeBSDs in VMware server, they ran great for me, i ran 2 DNS servers, an apache server, and a sendmail server. performance was acceptable. my VMware host was suse 10.1. sean, you might also take a look at jails for freebsd. conceptually, its a lot like virtualization, altho it does have its differences. once you get your jails up and running, you really wouldnt know the difference, and performance is basically as fast as the host computer can go. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd@dfwlp.com