Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Feb 2014 19:16:41 -0800
From:      Peter Grehan <grehan@freebsd.org>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: some interesting observations on the relative performance of kvm vs. bhyve
Message-ID:  <52EDB899.9060703@freebsd.org>
In-Reply-To: <CAGBxaXnOrL2SObPJemxzy%2B_%2Bhr0fePoCKFrHG3Cr-R5t=%2BuNHQ@mail.gmail.com>
References:  <CAGBxaXnOrL2SObPJemxzy%2B_%2Bhr0fePoCKFrHG3Cr-R5t=%2BuNHQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52EDB899.9060703>