Date: Mon, 11 Aug 2014 08:36:24 -0700 From: Peter Grehan <grehan@freebsd.org> To: Jordan Starcher <jstarcher@gmail.com> Cc: freebsd-virtualization@freebsd.org Subject: Re: Shared CPU in Bhyve Message-ID: <53E8E2F8.4090603@freebsd.org> In-Reply-To: <CAJTeA=%2BccdHDBGygpTx9QqvVxe-wUytS5xX-BmfxT=QxJBtQ1g@mail.gmail.com> References: <CAJTeA=%2BccdHDBGygpTx9QqvVxe-wUytS5xX-BmfxT=QxJBtQ1g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jordan, > As I understand, one of the great features of bhyve is the ability to have > completely isolated resources where a guest OS can only consume N number of > CPUs. However, I only have 4 CPUs on my machine and would like to use bhyve > to create a Linux guest on my FreeBSD host. I don't want to dedicate an > entire CPU to the bhyve guest. Is it possible to limit the CPU execution of > a bhyve guest, or better yet, change the CPU priority so if other processes > on the host machine need the CPU they can have it? Is it as simple as > changing the niceness of the bhyve process? Yes, that should work. bhyve also has idle detection, so it should only use as much CPU as the guest is using. For instance, an idle guest uses almost no host CPU. later, Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E8E2F8.4090603>