From nobody Wed Dec 1 23:12:44 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F0EA018C0DC6 for ; Wed, 1 Dec 2021 23:13:16 +0000 (UTC) (envelope-from bsdlists@jld3.net) Received: from mail.jld3.net (mail.jld3.net [45.55.236.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4J4FHw6McTz4kvM; Wed, 1 Dec 2021 23:13:16 +0000 (UTC) (envelope-from bsdlists@jld3.net) Received: from localhost (localhost [127.0.0.1]) by mail.jld3.net (Postfix) with ESMTP id 703E7415E4; Wed, 1 Dec 2021 16:13:16 -0700 (MST) X-Virus-Scanned: amavisd-new at jld3.net Received: from mail.jld3.net ([127.0.0.1]) by localhost (mail.jld3.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pSaDaH4he9lS; Wed, 1 Dec 2021 16:13:12 -0700 (MST) Received: from [172.21.35.248] (c-24-9-144-115.hsd1.co.comcast.net [24.9.144.115]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jld) by mail.jld3.net (Postfix) with ESMTPSA id 6BDD640551; Wed, 1 Dec 2021 16:13:11 -0700 (MST) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.jld3.net 6BDD640551 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.jld3.net 6BDD640551 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jld3.net; s=8d052f02dde2; t=1638400391; bh=w4a00O/H/Vn9KThfGVs1QdXNwSUXHctjomjTbzrXVXg=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=TdY3BdXsjD4Z/YEhZDRvgQ42wNTrM6ttMhONIpM5/ikFtIEeNBwg18Y3TkjGUOYCd H9WfjKJqOZqnCCEQQa5LdmUcafl7KkxbSDc8w25rQnUmLGWzIn6RH34FIzDPzuATyU o+z7KTB/a6kddQsb5+9wahAHE3gm9lWQRSTKEV7o= To: "Oleg Ginzburg" Cc: "Miroslav Lachman" <000.fbsd@quip.cz>, rgrimes@freebsd.org, jbo@insane.engineer, freebsd-virtualization@freebsd.org Subject: Re: bhyve vCPU limit Date: Wed, 01 Dec 2021 16:12:44 -0700 X-Mailer: MailMate (1.13.2r5673) Message-ID: In-Reply-To: References: <4E8A7FD3-B01E-4ADE-A290-360F3B04AC0F@jld3.net> <30e4454c-414a-833f-3829-586a450e7205@quip.cz> List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4J4FHw6McTz4kvM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: bsdlists@jld3.net From: John Doherty via freebsd-virtualization X-Original-From: John Doherty X-ThisMailContainsUnwantedMimeParts: N On Wed 2021-12-01 11:13 AM MST -0700, wrote: > As far as I remember, it is not enough to simply change one parameter > in .h file: https://bhyvecon.org/bhyveconOttawa2019-Rodney.pdf I may be wrong but my understanding is that prior to the work described = in that presentation, some of the bhyve data structures were such that = vCPU counts above 21 would not be possible. That work resolved that but = the VM_MAXCPU value was left at 16. On my system, I'm sure that all I did was edit vmm.h, make buildworld, = and make installworld. I did some other stuff while sort of stumbling toward that eventual = solution, described here: Once what I was doing wrong was pointed out, it seemed to me that after = editing that file, "make buildworld" and "make installworld" would be = the simplest way to do things, so that's what I did. It's been working = fine for six months or so.