what's got broken in bhyve after upgrade
Rodney W. Grimes
freebsd-rwg at gndrsh.dnsmgr.net
Wed Nov 27 02:59:52 UTC 2019
> upgraded to
>
> FreeBSD puchar.net 11.3-STABLE FreeBSD 11.3-STABLE #0 r354807: Fri Nov 22
> 22:45:43 CET 2019 root at puchar.net:/usr/src/sys/amd64/compile/puchar
> amd64
>
>
> i have setting hw.vmm.topology.cores_per_package=16 in loader.conf
I do not have a 11.3-STABLE reference box, but could you check
man bhyve
and see if it has the new -c options:
SYNOPSIS
bhyve [-abehuwxACHPSWY]
[-c [[cpus=]numcpus][,sockets=n][,cores=n][,threads=n]]
If it has that form of -c you SHOULD stop using hw.vmm.topology.cores_per_package
and start to use the new -c options.
I do not believe this feature is in 11.3, but it may of been merged.
>
>
> before upgrade - bhyve virtual machines (windows 7) see one CPU with 2 or
> 4 cores (depending how much i use with -c option in bhyve).
>
> after upgrade - bhyve sees single core CPUs. Which in case of windows 7
> pro means no more than 2 cores will be used.
>
> What's wrong and how to fix it?
-c cores=4
or
-c cores=2
Note unspecified values default to 1. See the man page for additional details.
--
Rod Grimes rgrimes at freebsd.org
More information about the freebsd-hackers
mailing list