Update kernel to support my max vCPU count

Status
Not open for further replies.

maaadbob

Cadet
Joined
Dec 26, 2017
Messages
3
Hi everyone,

Recently purchased an HP Proliant twin X5650 32GB server as a machine which could be used for pure number crunching.
When experimenting with the VM setup I found I was limited to 16 vCPUs.
Investigating further it is clear the limit is imposed by a define in :
https://github.com/freebsd/freebsd/blob/master/sys/amd64/include/vmm.h
line 404 :
#define VM_MAXCPU 16 /* maximum virtual cpus */

In the email below, Allan Jude explains how the above file can be edited and the kernel recompiled to allow use of as many vCPUs as you wish :
https://lists.freebsd.org/pipermail/freebsd-virtualization/2014-November/003104.html

Now, the experts reading this will know where this is going. :)
Since FreeNAS is provided as 'an appliance' it comes with no src files and attempting a pkg update doesn't work because meta.txz is missing (amongst other things).
So, how would I go about obtaining the source file ?
If this has to be done inside a jail, am I then able to force a kernel update from inside the jail ?
Or, should I be looking at building FreeNAS on another system, creating an installer and then install onto my twin processor server ?

Questions, questions, questions. :)
Bob.
 
Status
Not open for further replies.
Top