From nobody Tue May 09 09:38:48 2023 X-Original-To: dev-commits-src-main@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 4QFtQp6KhQz49yN0; Tue, 9 May 2023 09:39:14 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QFtQn25Gxz47vX; Tue, 9 May 2023 09:39:13 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1683625151; i=garyj@gmx.de; bh=EcMjjtN8Wwf8VR8wq6aYemDcZWOIxTJs+3R9boefynE=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References: Reply-To; b=ANT5CzdTC0e0EcfPhGounFLyUBM23/nhHEK2i5/fLsauRhXYEIEXmWA8QNxcU4CQt 9cNKP08ueYtX+uV+sQuXDree/bv8KdXF7J2ijtFKqUmF1+KRmyx5K+yiXu5tJY5J8h VMFdKh5uZC/+UQ3YgqGxURZwDZWXrH6lQAIqbX6oyV4GttQ3DVHe3ekkH9eSW8d2Eu qda7gPa8G8sK6ObP5lDwNKHhoDJLpRz+nnjpPq3FLYZT2UICI8KPXFc/3bLWlEuKSh k5rGwoxOfzczrkSEf7aGU64tZozAFqH1gM7KZu3w2RWJyXlGL6c96qDU2++sgGEGJt DF50wXOAVVSbw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.238.143]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mlw7V-1qeDOu1gzz-00j44B; Tue, 09 May 2023 11:39:11 +0200 Date: Tue, 9 May 2023 09:38:48 +0000 From: Gary Jennejohn To: Corvin =?ISO-8859-1?B?S/ZobmU=?= Cc: Ed Maste , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 76887e84be97 - main - cpuset: increase userland maximum size to 1024 Message-ID: <20230509113848.5c9529e1@ernst.home> In-Reply-To: <2f47388ab07eaeb820344e928adb96ff6f7a5916.camel@FreeBSD.org> References: <202305081826.348IQm9N040108@gitrepo.freebsd.org> <0dadaa17917629e3399fe9acbab17eb60b63575d.camel@FreeBSD.org> <2f47388ab07eaeb820344e928adb96ff6f7a5916.camel@FreeBSD.org> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:saRTlKOjdniS77AgDoa46KwKPWNPyWXTmfAYT378KALJ5LetQ2V qcMQRjiZpLyIXGK+27TUhB8veGBgWRZAba0K9t+GyySFKzJhjM3t7M+o/+MY8dac7ma4gq7 gTF7GgOS6bDCFM3zs2mBR9h9aKIv7VqMjV56ccGUA3vpEyH9ER0nme49iu6xqt8/6qESkrD riXnh83Peuk0GePwOG2eA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:noIltLbYZDU=;8CeYrT9GE6EapoUunIvHyrsVvsU 7NHM3lNb4q+GvjLkvG/IfWWGE7rZw9YQFx8UzN1vVMZxB19U4seKd8BHaJW64s+2YEE0sTxCt VBAD/W3zvKbm8QSWjy5VYwx1AVPbgC4mTBvlFMZcSdLehiTMvXrCmUuZj2b5ISXgt+n9lWNB6 K9b+HYWE4U0r/NbArjUbKHApnFppd2ts0xAOpwsZ1OVJI/TL4sgPo2MIuDNmnbSt63KUPsn32 4E4Sei3QJf8ugw4h4yZCyRpMsyteDan3aUR8Q1Wu7v2N0C7b78NSY9Dw6qyTKaosixv/dFOM1 Y9T9KTMitXXoyN4PPKeHrRL2PLDEHQeFZs1txDMkyQNJ1esgnQJe7hwrECiyVrKvYT3pekQ8+ UFENCd9cFPuq4Rb5HF2jNmnauKLeeb/vbYk6uVGtLVueXbEPzbHcW9Bx2MfYzi1IbLO5MjqB+ 8GZn1glixtNjZ+SbVCDgioX6Xybi2sQNOaf3rxkxRYvHR8tJikbiykNjHentMYbjbHw3cwvNd 1UQtilN6EdYtC3AZMyLRDjJQCu3AVYR1xW9EgXmInB4ncQ51TICfWUXYOUgAYn6QOHMyZyQl9 HvzCJU2Aw1yKUF2/fGJngDBcGAB5ffQuhqRgDOLx38E9qLV9ZyM5Xa2z+ZP8PFW4zNUqXlUvg HYGKVHFWUxZsw33slZzR7rbs+LA7Sg0QnPp7aGpPoSB/brkIGSkUuIGPQoJAe9ETx0QkGJfMO AZVHcIAZbKNECAYR8z8kdAsmD1dQ2e7IsngVobrz6WLhpLIrp5kowmleDvKixDHqSOH/PwxWO dgakx92T0y+TmJTlKhWVbv/m0jA2EmjZVlHCDiIGzPmT/W8Ea8dJWf4qmJvSheSYvY86l90FD wHrn/qv7eifHyBceA5bkI5E8LrSXEar/DGj5fkDZHI5InDeN3q6JL4uBJktQns0hVliOa8IQc FuHmPQ== X-Rspamd-Queue-Id: 4QFtQn25Gxz47vX X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Tue, 09 May 2023 09:43:27 +0200 Corvin K=F6hne wrote: > On Tue, 2023-05-09 at 08:59 +0200, Corvin K=F6hne wrote: > > On Mon, 2023-05-08 at 18:26 +0000, Ed Maste wrote: > > > The branch main has been updated by emaste: > > > > > > URL: > > > https://cgit.FreeBSD.org/src/commit/?id=3D76887e84be975698b14699d7d0= dfb157d73e9990 > > > > > > commit 76887e84be975698b14699d7d0dfb157d73e9990 > > > Author:=A0=A0=A0=A0 Ed Maste > > > AuthorDate: 2023-05-02 20:57:12 +0000 > > > Commit:=A0=A0=A0=A0 Ed Maste > > > CommitDate: 2023-05-08 18:25:15 +0000 > > > > > > =A0=A0=A0 cpuset: increase userland maximum size to 1024 > > > =A0=A0=A0 > > > =A0=A0=A0 Hardware with more than 256 CPU cores is now available and= will > > > become > > > =A0=A0=A0 increasingly common.=A0 Bump CPU_MAXSIZE (used for userlan= d > > > cpuset_t > > > =A0=A0=A0 sizing) to 1024 to define the ABI for FreeBSD 14. > > > =A0=A0=A0 > > > =A0=A0=A0 PR:=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 269572, 271213 [ex= p-run] > > > =A0=A0=A0 Reviewed by:=A0=A0=A0 mjg, jhb > > > =A0=A0=A0 Relnotes:=A0=A0=A0=A0=A0=A0 yes > > > =A0=A0=A0 Sponsored by:=A0=A0 The FreeBSD Foundation > > > =A0=A0=A0 Differential Revision: https://reviews.freebsd.org/D39941 > > > --- > > > =A0sys/sys/_cpuset.h | 2 +- > > > =A01 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/sys/sys/_cpuset.h b/sys/sys/_cpuset.h > > > index b75ee595da3c..676f9855f384 100644 > > > --- a/sys/sys/_cpuset.h > > > +++ b/sys/sys/_cpuset.h > > > @@ -40,7 +40,7 @@ > > > =A0#define=A0=A0=A0=A0=A0=A0=A0=A0CPU_SETSIZE=A0=A0=A0=A0=A0MAXCPU > > > =A0#endif > > > =A0 > > > -#define=A0=A0=A0=A0=A0=A0=A0=A0CPU_MAXSIZE=A0=A0=A0=A0=A0256 > > > +#define=A0=A0=A0=A0=A0=A0=A0=A0CPU_MAXSIZE=A0=A0=A0=A0=A01024 > > > =A0 > > > =A0#ifndef=A0=A0=A0=A0=A0=A0=A0=A0CPU_SETSIZE > > > =A0#define=A0=A0=A0=A0=A0=A0=A0=A0CPU_SETSIZE=A0=A0=A0=A0=A0CPU_MAXS= IZE > > > > Hi Ed, > > > > this somehow breaks bhyve on my system. It immediately exits with > > "vm_run error -1" on startup. > > > > > > Setting MAXCPU [1] to 1024 as well, solves the issue. Not sure if it's > a regression of your commit or a bhyve bug. > > [1] > https://github.com/freebsd/freebsd-src/blob/20d8d9809a8c0a3ddd1d0156e77e= c53a1ed95747/sys/amd64/include/param.h#L68 > Unfortunately, not a viable solution for users who set MAXCPU in their kernel configuration file. =2D- Gary Jennejohn