Date: Tue, 09 May 2023 09:43:27 +0200 From: Corvin =?ISO-8859-1?Q?K=F6hne?= <corvink@FreeBSD.org> To: Ed Maste <emaste@FreeBSD.org>, 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: <2f47388ab07eaeb820344e928adb96ff6f7a5916.camel@FreeBSD.org> In-Reply-To: <0dadaa17917629e3399fe9acbab17eb60b63575d.camel@FreeBSD.org> References: <202305081826.348IQm9N040108@gitrepo.freebsd.org> <0dadaa17917629e3399fe9acbab17eb60b63575d.camel@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-hjvjSbrLLmF/T5yNE9Cx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2023-05-09 at 08:59 +0200, Corvin K=C3=B6hne wrote: > On Mon, 2023-05-08 at 18:26 +0000, Ed Maste wrote: > > The branch main has been updated by emaste: > >=20 > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=3D76887e84be975698b14699d7d0dfb= 157d73e9990 > >=20 > > commit 76887e84be975698b14699d7d0dfb157d73e9990 > > Author:=C2=A0=C2=A0=C2=A0=C2=A0 Ed Maste <emaste@FreeBSD.org> > > AuthorDate: 2023-05-02 20:57:12 +0000 > > Commit:=C2=A0=C2=A0=C2=A0=C2=A0 Ed Maste <emaste@FreeBSD.org> > > CommitDate: 2023-05-08 18:25:15 +0000 > >=20 > > =C2=A0=C2=A0=C2=A0 cpuset: increase userland maximum size to 1024 > > =C2=A0=C2=A0=C2=A0=20 > > =C2=A0=C2=A0=C2=A0 Hardware with more than 256 CPU cores is now availab= le and will > > become > > =C2=A0=C2=A0=C2=A0 increasingly common.=C2=A0 Bump CPU_MAXSIZE (used fo= r userland > > cpuset_t > > =C2=A0=C2=A0=C2=A0 sizing) to 1024 to define the ABI for FreeBSD 14. > > =C2=A0=C2=A0=C2=A0=20 > > =C2=A0=C2=A0=C2=A0 PR:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 269572, 271213 [exp-run] > > =C2=A0=C2=A0=C2=A0 Reviewed by:=C2=A0=C2=A0=C2=A0 mjg, jhb > > =C2=A0=C2=A0=C2=A0 Relnotes:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 yes > > =C2=A0=C2=A0=C2=A0 Sponsored by:=C2=A0=C2=A0 The FreeBSD Foundation > > =C2=A0=C2=A0=C2=A0 Differential Revision: https://reviews.freebsd.org/D= 39941 > > --- > > =C2=A0sys/sys/_cpuset.h | 2 +- > > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > 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 @@ > > =C2=A0#define=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0CPU_SETSIZ= E=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0MAXCPU > > =C2=A0#endif > > =C2=A0 > > -#define=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0CPU_MAXSIZE=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0256 > > +#define=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0CPU_MAXSIZE=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A01024 > > =C2=A0 > > =C2=A0#ifndef=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0CPU_SETSIZ= E > > =C2=A0#define=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0CPU_SETSIZ= E=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0CPU_MAXSIZE >=20 > Hi Ed, >=20 > this somehow breaks bhyve on my system. It immediately exits with > "vm_run error -1" on startup. >=20 >=20 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/20d8d9809a8c0a3ddd1d0156e77ec53= a1ed95747/sys/amd64/include/param.h#L68 --=20 Kind regards, Corvin --=-hjvjSbrLLmF/T5yNE9Cx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmRZ+Z8ACgkQ2FTaVjFe AmpXDw//RmtEeG1ABYr0cB2YtkfNQ/KyNZEt3VserTF07bBh5c7YHe2EVaiLeO2P vKMLquiaKenGs7XnlMtCF3wBOg3bA2ohpLnK9Vmq9wEYnISDiixmZNm//3zaNCE2 WPg52219MadO+It5zlR57WxX9pywfnroFirfscaglowrAYPRAFGooM0WKpPZwIym 5FFlrUoFWFwBnD/fo/MiOEFWJ7l8hChUXyiwZhnktovHtLheOn9fc+iENYV0EHGp 1JTT6nd8KSHJac2SRFfSA8SlO9vwNVyEk4rPC7chKfraJrX3F92P2VR4JIwunm4C wOiCg0FEtgyspcD5Db1dfqI7OgP0VakACzQuUuCWUv3enzsX6V7M4DmC9wPa9E5B CGobxy+XDzo5dVCWW6+rZmPWOsoFyu5AGSx38oqDgjBvJQ7qplG3ScqqdRKxbAOP J81EILuQmgXFZ1suD6mvYCPaQ7e6MMqhMGH/oG8sx8+CRbcBZxvmSbZiC+2ibUPM X5bTuj0lh9xrI1Ps7/xkBpprMPEJw8fY/usBLTsTZdLsRBp7dZ9YjHTGK+keDXWm uMNtWl8Nyv+yeb+LRrfupBpE5YMZJFSIWh2vsd/0B+Z+OFLFTPteXM0bIIJNR/8r +BPRNpF4ysZ7H4mKuEFDvizLq6l4gUOwdDHKfu5U6oLiQjI+4aU= =3yGb -----END PGP SIGNATURE----- --=-hjvjSbrLLmF/T5yNE9Cx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2f47388ab07eaeb820344e928adb96ff6f7a5916.camel>