From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 21:52:42 2006 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 441BF16A40F for ; Mon, 18 Dec 2006 21:52:42 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id D91FF43C9F for ; Mon, 18 Dec 2006 21:52:41 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBILqX56024860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Dec 2006 13:52:33 -0800 X-Auth-Received: from [128.208.1.235] (colin.cs.washington.edu [128.208.1.235]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBILqXfL006900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 18 Dec 2006 13:52:33 -0800 Message-ID: <45870DA1.7070901@u.washington.edu> Date: Mon, 18 Dec 2006 13:52:33 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.8 (X11/20061108) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4586ADC2.9030807@networktest.com> <20061218123301.c5e0040c.wmoran@collaborativefusion.com> <4586DB96.5020801@u.washington.edu> <200612182015.58087.mario.lobo@ipad.com.br> In-Reply-To: <200612182015.58087.mario.lobo@ipad.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.12.18.133433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: FreeBSD as VM host OS? 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: Mon, 18 Dec 2006 21:52:42 -0000 Mario Lobo wrote: > On Monday 18 December 2006 18:19, Garrett Cooper wrote: > >> Bill Moran wrote: >> >>> In response to David Newman : >>> >>>> My question is whether FreeBSD is a suitable _host_ OS for any virtual >>>> machine environment, preferably with support for SMP, amd64, and guest >>>> OS speed at or close to native hardware speeds. >>>> >>> *) jails provide virtual hosting at native speed, but _only_ for FreeBSD >>> guests. i.e., you can't run Linux in a FreeBSD jail >>> *) qemu works well on FreeBSD in my experience, but there is a >>> considerable performance hit. >>> *) Xen should give you what you want, but I've no information on the >>> status of Xen on FreeBSD at this time. >>> >>> HTH >>> >> Try qemu. Some people on this list (or maybe other FreeBSD lists--can't >> remember :P), have reported success in using qemu as the host VM. >> >> Xen is a royal pain, even though it is fast. I tried setting it up once >> under Gentoo and it was trying to load a lot of services at boottime, >> pulled in custom (Xen) kernel patched sources, etc. Needless to say, the >> Xen patched kernel sources was the show stopper, because one never knows >> what in the world the patches may do if installed with other patches. >> Moreover, the Xen patches may wreak havoc with userland programs (like >> Linux does on occasion), etc. >> >> Just my .02.. qemu has a kernel module, but if you don't feel like >> tainting the kernel with an alpha feature, their userland(-only) program >> is fairly stable from what I have read. >> >> -Garrett > I use qemu here. I run a windows XP pro VM and a FEDORA CORE 5 VM, inside a > FreeBSD host, with kqemu mod loaded. This make a huge diff in performance. > > The install for both OSes were slow but it's perfectly OK if you take into > account the disk emulation and all. > > Besides that, no complains whatsoever !. Native speed ? on a VM ? only in jail > ( I think) or dual boot, but qemu comes pretty close. I have them hooked on a > bridged network, with sound. and a big plus: no linux emulation required > (like vmware, which I tried to try but serial numbers and linux stuff made me > give up) > > I hope this helps > Your success with kqemu probably depends on what architecture you are running though, because some things may run solid on i386, but x64, ppc, sparc(n), etc may not agree with kqemu as much.. -Garrett