From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 24 08:05:45 2014 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 848ECF3C for ; Fri, 24 Oct 2014 08:05:45 +0000 (UTC) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46AA691B for ; Fri, 24 Oct 2014 08:05:44 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 00722153416 for ; Fri, 24 Oct 2014 10:05:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2shTwSQcb_yT; Fri, 24 Oct 2014 10:05:16 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:38e4:5c44:f298:d877] (unknown [IPv6:2001:4cb8:3:1:38e4:5c44:f298:d877]) by smtp.digiware.nl (Postfix) with ESMTP id 4FABF153448 for ; Fri, 24 Oct 2014 10:05:16 +0200 (CEST) Message-ID: <544A083B.50007@digiware.nl> Date: Fri, 24 Oct 2014 10:05:15 +0200 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: virtualization@freebsd.org Subject: Bhyve building kernel....Just an observation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 08:05:45 -0000 Hi, Just out of curiosity I did the following: Updated 10-STABLE src in both Dom0 and in the Bhyve FreeBSD VM Rebooted my bhyve AMD testing machine so it was in a fresh state. Nothing special loaded orhter than ZFS. And build a 10-STABLE kernel on the raw box, that took about 6 minutes. no {make,src}.conf, so the full GENERIC KERNEL That took about 6:45 minutes. Again rebooted to clean the box up. And then booted a 10-STABLE bhyve VM with all memory and processors assigned to the VM. So all the power could be available to the VM. The build again 10-STABLE in the VM. That took about 9:30 minutes. Now it looks like the VM has a 50% overhead. My expectations were quite a bit better for the performance difference between the two? Would people with more experience in doing VM stuff expect such a large difference? Or is this a to be expected result? Thanx, --WjW System info: Dom0: 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r273066M (110.0 Head with Neel's patch) CPU: AMD Phenom(tm) II X6 1075T Processor (3013.83-MHz K8-class 16 Gb Ram ZFS mirror 2* 500Gb WD WD5000AA cache 2* Samsung SSD 840 PRO Series DXM05B0Q Dom Bhyve FreeBSD 10.0-RELEASE-p9 ahci-hd 16GB