Re: Can I allocate some CPUs to the bhyve host?
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Feb 2025 16:19:25 UTC
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 >