Date: Tue, 26 Nov 2019 18:59:39 -0800 (PST) From: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> To: Wojciech Puchar <wojtek@puchar.net> Cc: freebsd-hackers@freebsd.org Subject: Re: what's got broken in bhyve after upgrade Message-ID: <201911270259.xAR2xdS3005661@gndrsh.dnsmgr.net> In-Reply-To: <alpine.BSF.2.20.1911260758100.3103@puchar.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> upgraded to
>
> FreeBSD puchar.net 11.3-STABLE FreeBSD 11.3-STABLE #0 r354807: Fri Nov 22
> 22:45:43 CET 2019 root@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@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911270259.xAR2xdS3005661>
