Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2021 20:45:42 -0600
From:      "John Doherty" <bsdlists@jld3.net>
To:        "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: increasing bhyve VM_MAXCPU
Message-ID:  <13804A0B-E22F-4C02-BFFF-2C1EFF214EC3@jld3.net>
In-Reply-To: <202105190121.14J1L3BV001126@gndrsh.dnsmgr.net>
References:  <202105190121.14J1L3BV001126@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 May 2021, at 19:21, Rodney W. Grimes wrote:

>> I'm experimenting with bhyve VMs with more than 16 vCPUs on FreeBSD
>> I began working on a machine with only eight CPU cores/threads, so
>> rather than trying to increase VM_MAXCPU, I tried to decrease it, which
>> seemed to work fine. My procedure was:
>>
>>    edit /usr/src/sys/amd64/include/vmm.h
>
> cp /usr/src/sys/amd64/include/vmm.h /usr/include/machine/vmm.h

Thanks so much for this. Things are now working fine, e.g.:

  [root@fbsd1] # grep 'Multiprocessor System Detected' /var/run/dmesg.boot
  FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13804A0B-E22F-4C02-BFFF-2C1EFF214EC3>