Date: Sat, 15 Feb 2025 11:19:25 -0500 From: FreeBSD Louisville <freebsdlouisville@gmail.com> To: Paul Procacci <pprocacci@gmail.com>, freebsd-virtualization@freebsd.org Subject: Re: Can I allocate some CPUs to the bhyve host? Message-ID: <b0068793-cd64-4eb3-85d9-11c14b51d93d@Gmail.com> In-Reply-To: <CAFbbPuigzBuV9YkCnJx7nxzHMddUZRsWR1CdbeFkp95rOOy1RQ@mail.gmail.com> References: <978106d8-1ad0-4227-a387-aa4bece0b156@Gmail.com> <CAFbbPuigzBuV9YkCnJx7nxzHMddUZRsWR1CdbeFkp95rOOy1RQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the quick response and your time. I may have confused the issue. I want to dedicate a certain number of CPUs to the host, thereby assuring CPUs are not over-provisioned to guests. On 2/15/25 10:54, Paul Procacci wrote: > On Sat, Feb 15, 2025 at 10:34 AM FreeBSD Louisville > <freebsdlouisville@gmail.com> wrote: >> It appears to me that a user could over-provision CPUs to guests, >> causing massive slowdown of the system. Can I specify CPUs to be >> "locked" to the host? If I have 16 processors available, could I start >> guests that want 32 CPUs? >> >> > The maximum number of vcpus is limited to the number of cpus. > You can "lock" cpus to a guest by way of cpuset -- which I don't > suggest doing unless you know what you are doing. > > ~Paul >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b0068793-cd64-4eb3-85d9-11c14b51d93d>
