Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2018 16:03:17 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: is there a vCPU hard limit for bhyve guests?
Message-ID:  <201811070003.wA703H1Q098310@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <20181106172535.20e46ef6@desktop.local>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> 
> On a host with hw.ncpu=48 I tried to start a bhyve guest with -c 24 and
> it failed to start. So I tried -c 16 and it starts and runs as
> expected. Any more than -c 16 fails to run.
> 
> Is a maximum of 16 vCPU hardwired somewhere, and if so, why? Is there a
> way to overcome the limit?

man bhyve
Look at -c option, default is 1 max is 16.

There is a compile time constant VM_MAXCPU, you can raise that
to 20, then other problems come about that require more patching.

Last time I played with this it failed above 16, I suspect
some other places have had a bad derived constant using the
assumption that 16 is the max.

> thanks,
> -- 
> J.
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"
> 

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811070003.wA703H1Q098310>