From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 2 03:16:46 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD9F891B for ; Sun, 2 Feb 2014 03:16:46 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9DFDB168B for ; Sun, 2 Feb 2014 03:16:46 +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 7BA4712384; Sun, 2 Feb 2014 13:16:44 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (c-67-161-27-37.hsd1.ca.comcast.net [67.161.27.37]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BRO16583 (AUTH peterg@ptree32.com.au); Sun, 2 Feb 2014 13:16:43 +1000 Message-ID: <52EDB899.9060703@freebsd.org> Date: Sat, 01 Feb 2014 19:16:41 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: some interesting observations on the relative performance of kvm vs. bhyve References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 02 Feb 2014 03:16:46 -0000 > I have 1 host that dual boots FreeBSD and Ubuntu 12.04.3 LTS and bhtyve > seems to be atleast 3 or 4 times faster with disk I/O then kvm using the > most stripped down command lines I can come up with. I'm guessing that the default cache mode for qemu in that release is "none". You may want to switch it to "writeback", which is what bhyve does by default (it can be changed with AHCI, see bhyve(8)). Lots of info on the web about Qemu block i/o cache modes e.g. http://pic.dhe.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=%2Fliaat%2Fliaatbpkvmguestcache.htm later, Peter.