From owner-freebsd-virtualization@FreeBSD.ORG Tue Jan 28 16:10:34 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31A231CA for ; Tue, 28 Jan 2014 16:10:34 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id DD9911CA4 for ; Tue, 28 Jan 2014 16:10:33 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id EDE4511D9E; Wed, 29 Jan 2014 02:10:25 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-69-181-164-196.hsd1.ca.comcast.net [69.181.164.196]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BRM04975 (AUTH peterg@ptree32.com.au); Wed, 29 Jan 2014 02:10:25 +1000 Message-ID: <52E7D666.30503@freebsd.org> Date: Tue, 28 Jan 2014 08:10:14 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Andrea Brancatelli Subject: Re: BHyVe - ESXi comparison References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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: Tue, 28 Jan 2014 16:10:34 -0000 Hi Andrea, > We did a very rough comparison betweend BHyVe and VMWare ESXi. Maybe > you want to give it a read and let me know if I did write a bunch of > sh!t :-) Looks good to me :) Thanks for running the tests. Would you be able to list the command options you used with bhyve when running these tests ? > What I couldn’t really understand (but that’s something not related > to bhyve or VMWare) is how a multiprocessor machine is slower than a > singleprocessor machine in doing the compilation… any idea? Is hyper-threading enabled on your system ? If not, then with a host only having 2 CPUs and a 2 vCPU guest, there isn't as much opportunity to overlap host i/o threads with vCPU threads. It would be interesting to see your "time" results when running bhyve to show %user/%system etc - that may give an indication of how much time is spent on 'overhead' CPU usage as opposed to pure vCPU usage. > 20 VM – 2 CPUs – 2GB RAM Interesting result to say the least :) I'll try and repro this and see if it's something simple. At first guess I'd say it's the classic 'lock-holder-preemption' issue that the ESXi scheduler has a lot of smarts to avoid. Another interesting test would be Qemu/KVM VMs on Linux to see if it has the same issue. later, Peter.