Date: Sat, 1 Feb 2014 23:13:15 -0500 From: Aryeh Friedman <aryeh.friedman@gmail.com> To: Peter Grehan <grehan@freebsd.org> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: some interesting observations on the relative performance of kvm vs. bhyve Message-ID: <CAGBxaXnK2ph1-pkHcfFAGqYbF9FiY6Ba3B-WnjuDCDYepK%2B=Fw@mail.gmail.com> In-Reply-To: <52EDB899.9060703@freebsd.org> References: <CAGBxaXnOrL2SObPJemxzy%2B_%2Bhr0fePoCKFrHG3Cr-R5t=%2BuNHQ@mail.gmail.com> <52EDB899.9060703@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 1, 2014 at 10:16 PM, Peter Grehan <grehan@freebsd.org> wrote: > > 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)). > Does this bring up the same power failure scenario issues mentioned in the link you provided? It seems like the only way to get reasonable performance is to be essentially unsafe in guest writes to the host disk? A question does the ability of FreeBSD to be able to better handle power failure in general better then linux (it seems like every time there is a unscheduled reboot on linux it messes up)? This seems to be at odds with my personal observations of bhyve via petitecloud which I routinely very abruptly start/stop (petitecloud's "stop" is nothing more then killing the hyperv and any cleanup needed) and except for the occasional need for a fsck have not had an issue. But it does not seem to be at odds with OpenStack's experience http://docs.openstack.org/admin-guide-cloud/content/ch_introduction-to-openstack-compute.html#section_nova-disaster-recovery-process > 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. > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXnK2ph1-pkHcfFAGqYbF9FiY6Ba3B-WnjuDCDYepK%2B=Fw>