On 23/11/25 22:15, void wrote:
Hi,

Does anyone using bhyve, pin cores?
On a bhyve server with SHT *disabled* (dual Xeon,
10 non-HT cores on each) I'd like to pin
1 core from each cpu per vm for 4 VMs.

What's the syntax using vmrun.sh? Or is it best
to directly use bhybe like bhyve -c 2 -m 16G -w -H etc etc

Say if you want to pin virtual core 0 to physical core 3 and virtual core 1 to physical core 5 (2vCPU guest), you would add the following option:

-p 0:3 -p 1:5

If you use vm-bhyve, you'd add the below to the guest's .conf file:

bhyve_options="-p 0:3 -p 1:5"

Cheers,

Jason


Reply via email to