From nobody Sun May 7 17:12:20 2023 X-Original-To: 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 4QDrZc0JzLz49F9P for ; Sun, 7 May 2023 17:12:24 +0000 (UTC) (envelope-from rebecca@bsdio.com) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QDrZZ5j8Yz44Cb; Sun, 7 May 2023 17:12:22 +0000 (UTC) (envelope-from rebecca@bsdio.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdio.com header.s=fm1 header.b="f 9pTIIP"; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=AKC+d08f; spf=pass (mx1.freebsd.org: domain of rebecca@bsdio.com designates 66.111.4.26 as permitted sender) smtp.mailfrom=rebecca@bsdio.com; dmarc=none Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E722D5C0094; Sun, 7 May 2023 13:12:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 07 May 2023 13:12:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :sender:subject:subject:to:to; s=fm1; t=1683479541; x= 1683565941; bh=PLXP/cv8u4ctSi1ILxps63RG7ETlpzW2ewG32jIfB4s=; b=f 9pTIIPbthNU57nPHnUrvO6V2tlvx2YvVRXlGTsrCfArG7XKXgaxYntpYwQ5MHoQz j2mvFcQV5s3cQWqCudN8BjBYstWy9PnpRPYq8FTWueWVbMEAVD601tIzPebn6mb9 n/mROajfHxxKS2C3puazclpCwO4SFe0we16EFdsQXX+vpW41OCskWWKy6eCgGPFC PWnuvHB0+Y0Bobl0qS6lHDWmBhNUjvb891bGpvh/Q0EWtALJefGIXKT7xRzKpLFh ZniYhS4/1x4yDxlSf5/v9iG6FjwYLhTt+BA9MMFT+NzXcVP+fc+hHVCFD8q6ngAV Kz7fJDiWYab4EkUtDBrzg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1683479541; x=1683565941; bh=P LXP/cv8u4ctSi1ILxps63RG7ETlpzW2ewG32jIfB4s=; b=AKC+d08fqqG0cFpcN bpdFzQKWodS0p8lBk0D37qDJMHqyrZEIBY28Pmh6V9IJtnCHtmGlffADv9RcaJIb xR3melTvSovOl+UmBk1pl0Mt86czLd4YPSSriW3eeC7ekMalewvIri6c7pq9OtFG K+Um2uzdK+ys1nUJSxmwCg5/+SZXsji00QW6X9x05WPWumwZwNXB5obE1eYzz+kV mDQk6UtrbcWDikiQ+4Zy97yN5oR3yy4GtnlvdQOkznteDVr/zTc1If5FzfM7FEMH H+8G2zKZ4qkIFrcrYWmdFRUi0Tr0jpZ9V2b4S6u7LdqggrfAkPlSv5BJ68/xDx8D pKKJQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefiedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfvhffuvegtgfesthejredttdefjeenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepvdfhhfeguedtkedvleelvddvtdefhfeiueeuhfehiedvgeegheeikeffkeev kefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 7 May 2023 13:12:21 -0400 (EDT) Message-ID: Date: Sun, 7 May 2023 11:12:20 -0600 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 To: virtualization@FreeBSD.org Content-Language: en-US From: Rebecca Cran Subject: Bhyve: SMBIOS area too small for 65+ vCPUs Cc: =?UTF-8?Q?Corvin_K=c3=b6hne?= Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_SHORT(-1.00)[-0.997]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26]; R_DKIM_ALLOW(-0.20)[bsdio.com:s=fm1,messagingengine.com:s=fm3]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.26:from]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.26:from]; DMARC_NA(0.00)[bsdio.com]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[virtualization@FreeBSD.org]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[bsdio.com:+,messagingengine.com:+]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4QDrZZ5j8Yz44Cb X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N I have a machine with enough cores that I'm able to run large VMs with up to 128 or more vCPUs. However, it looks like bhyve's SMBIOS area is too small once we reach 65 vCPUs since I get the following assert failure on boot: bcran@maxamd:~/bhyve % sudo ./runbhyve.sh fbuf frame buffer base: 0xde214e00000 [sz 16777216] Assertion failed: (curaddr - startaddr < SMBIOS_MAX_LENGTH), function smbios_build, file /usr/src/usr.sbin/bhyve/smbiostbl.c, line 936. Abort trap From looking through the code it appears we can't simply make it larger because the ACPI tables after after it. -- Rebecca Cran