Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jun 2014 21:35:41 -0700
From:      Peter Grehan <grehan@freebsd.org>
To:        Allan Jude <allanjude@freebsd.org>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve max virtual CPUs
Message-ID:  <538EA21D.9060004@freebsd.org>
In-Reply-To: <538E66C1.8040804@freebsd.org>
References:  <20140604001645.GA89475@mouf.net> <538E66C1.8040804@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Allan,

> I asked about increasing it and was told that it can be done by editing
> a value in one of the .h files or something, but the reason it wasn't
> higher was that it didn't scale nicely, and they wanted to reword how it
> works.
>
> I would definitely be interested in this, as we run video transcoding
> (uses a LOT of cpu) on 24 or 32 core machines, and we'd like to pass
> more of the cores into the VM.

  You can bump it by modifying:

sys/amd64/include/vmm.h:#define	VM_MAXCPU	16		/* maximum virtual cpus */

   ... and rebuilding world+kernel.

  Let us know how performance goes with larger values.

  It will probably be a while before this value can be dynamic, but 
that's the goal.

later,

Peter.



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