From nobody Fri Jul 21 20:22:36 2023 X-Original-To: dev-commits-doc-all@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 4R71FV5Hjqz4ngYY for ; Fri, 21 Jul 2023 20:22:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R71FS43Wdz3QSL; Fri, 21 Jul 2023 20:22:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689970956; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CGQLwpDuT5DncHqJaBfrUvsbGXqWmwnLTwCLt36Wbyk=; b=MYSdQEz3sbFwtVUSYUWRJr9+Z7v15vBJO8QBdL08JJYLuSlmE96UCPh9kDEMLBxLS4mC1K 9Tq5jT/Az7gBVsat/i0kGfOnaX1qETtVY9XaFYFFNRMZHrErIxEcxiMt6wFFXHxIGD3cKe hyG6NLLxl07aThCq8m9g5UDmPe7iYnt7beJzoxzUrvXdrw57OghfnbVlqNRl+SSKdFYfDi Vpwp4yAW/I+sRFg/B/jKKSnXvJj/GaxtBFO9Oll4YCeDEP2W5WWE4TXy42SFTVYEaktIln GLUcG+8rIBI3jNKq2QMaE+JGo/paBxLVYizr9NuWxDcpZpCUTvfX7D+/e9q9bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689970956; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CGQLwpDuT5DncHqJaBfrUvsbGXqWmwnLTwCLt36Wbyk=; b=iMrV+/iI8J+9Qy23SHYLAiJRmb2/WEvjmSMlaEljQ7HgkOs/o5d6SE2tg5sbpzG/TBkREs QKuAnAnYZK5PvK5SszGAiLqou98s4nSxKmy86DSksUM/kkhzsStFUQlS4BzK/XcKiOuRmo 01hYLIGmy4Q2fA1jRZ1p1DKnPtiB4g6wgACfLvBU9xFxhur7ZKELfN28lXRi28j/n566/I xqJ3TXRxt0ODAPfF6JJLijhtgjzmJaA53oWrKGApYHvUiuxosW6LA4v1WcMnlb7GnCP4WH cAFqgSCmYk62JD6neYzNJGBw9IGrxRzrXvnVLtggrf71ehhoqJ9rIv+lPFp4wQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689970956; a=rsa-sha256; cv=none; b=E0VC3V9e5225XRkJBLSUetHCnlaeomom+VUbrz1UQwR1dER+ZuiF4Svgz7Fd71cjVFZG9O BXuZA5lQnw+8lBm+gWyuauu3Qr1pEP8GxTnn9rpHknyXmINtZtR/54Cql//bUPKTk2DbwP 6TsPdYiOm6OIwT51vmUPV6teR1Wlax2gSZRhDKje9QDuGUCBjj+B0HCAfBL5p7CSpS69DB TM6LstSorZ3DnYBAeqdWJ/gf7SqskY3vNRWxq6m8NykzXnFeR6V2FRn2M5t0kpqz8BfewW 0rsy/Xj13FmiQne+C6flQk5fLmbHFZK8P6BIQSc8A5f2JkzLkD9Dro6JcuIjkw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R71FS2XnmzRZj; Fri, 21 Jul 2023 20:22:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36LKMaSI090070; Fri, 21 Jul 2023 20:22:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36LKMasq090069; Fri, 21 Jul 2023 20:22:36 GMT (envelope-from git) Date: Fri, 21 Jul 2023 20:22:36 GMT Message-Id: <202307212022.36LKMasq090069@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Ed Maste Subject: git: a8004081b8 - main - 2023q2 status: add MAXCPU report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a8004081b8ec9d3e929c38683290c1fbadd40c27 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/doc/commit/?id=a8004081b8ec9d3e929c38683290c1fbadd40c27 commit a8004081b8ec9d3e929c38683290c1fbadd40c27 Author: Ed Maste AuthorDate: 2023-07-18 20:09:47 +0000 Commit: Ed Maste CommitDate: 2023-07-21 20:22:15 +0000 2023q2 status: add MAXCPU report Reviewed by: salvadore Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D41142 --- .../en/status/report-2023-04-2023-06/maxcpu.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/website/content/en/status/report-2023-04-2023-06/maxcpu.adoc b/website/content/en/status/report-2023-04-2023-06/maxcpu.adoc new file mode 100644 index 0000000000..3c0485946c --- /dev/null +++ b/website/content/en/status/report-2023-04-2023-06/maxcpu.adoc @@ -0,0 +1,18 @@ +=== Increasing MAXCPU + +Links: + +link:https://reviews.freebsd.org/D36838[Review D36838: amd64: Bump MAXCPU to 1024 (from 256)] URL: https://reviews.freebsd.org/D36838[] + +Contact: Ed Maste + +The default amd64 and arm64 FreeBSD kernel configurations currently support a maximum of 256 CPUs. +A custom kernel can be built with support for larger core counts by setting the `MAXCPU` kernel option. +However, commodity systems with more than 256 CPUs are becoming available and will be increasingly common during FreeBSD 14's support lifecycle. +We want to increase the default maximum CPU count to 1024 to support these systems "out of the box" on FreeBSD 14. + +A number of changes have been made to support a larger default `MAXCPU`, including fixing the userland maximum for `cpuset_t` at 1024. +Changes have also been made to avoid static `MAXCPU`-sized arrays, replacing them with on-demand memory allocation. + +Additional work is required to continue reducing static allocations sized by `MAXCPU` and addressing scalability bottlenecks on very high core count systems, but the goal is to release FreeBSD 14 with a stable ABI and KBI with support for large CPU counts. + +Sponsor: The FreeBSD Foundation