> -----Original Message----- > From: linux-yocto@lists.yoctoproject.org <linux- > yo...@lists.yoctoproject.org> On Behalf Of Paul Gortmaker via > lists.yoctoproject.org > Sent: Friday, December 1, 2023 03:08 > To: Bruce Ashfield <bruce.ashfi...@gmail.com> > Cc: linux-yocto@lists.yoctoproject.org > Subject: [linux-yocto] [PATCH 4/5] x86-64: use the defaults for number of > CPUs > > From: Paul Gortmaker <paul.gortma...@windriver.com> > > The x86-64 BSP isn't quite the same as the "more specific" BSP like a > Beaglebone Black or the (now deleted) Edgerouter. Where we have exact > hardware specifics for boards like those, the x86-64 BSP is more of a > "generic" thing used as the baseline across an endless sea of boards. > > To that end, this is somewhat a revert of commit bd77e1f904f6 > ("bsp/intel-x86: change the supported maximum number of CPUs to 512 in 64- > bit bsp") > > It is great that a handful of people out there are using Yocto on these > huge server machines, but that doesn't reflect 99% of the rest of us who > continue to lean towards the original "embedded theme" of Yocto. > > That means a whole bunch of extra per-CPU jumping through hoops; some can > be mitigated by booting with "nr_cpus=4" (or whatever the core count > is) but I guarantee largely nobody out there is doing that. > > Let those users with the crazy CPU count own that config customization > locally. The default is 64 which still seems way too large IMHO, but at > least we are moving in the right direction.
This intel-x86-64 BSP is a generic one used from mobile to server. Customers need to customize not only the CPU number config but also other configs, like, removing unused drivers or adding debug options. >From this point of view, there is no difference between 64 or 512. But it changes the "rule" that intel-x86-64 works for all supported platforms. We need to do extra work for servers with large CPU number. Thanks, Yongxin > > Signed-off-by: Paul Gortmaker <paul.gortma...@windriver.com> > --- > bsp/intel-x86/intel-x86-64.cfg | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/bsp/intel-x86/intel-x86-64.cfg b/bsp/intel-x86/intel-x86- > 64.cfg index 58b0fed637e8..da9bc7b57eca 100644 > --- a/bsp/intel-x86/intel-x86-64.cfg > +++ b/bsp/intel-x86/intel-x86-64.cfg > @@ -31,6 +31,3 @@ CONFIG_CRYPTO_DEV_QAT_DH895xCCVF=m > > # x86 CPU resource control support > CONFIG_X86_CPU_RESCTRL=y > - > -# Processor type and features > -CONFIG_NR_CPUS=512 > -- > 2.40.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13342): https://lists.yoctoproject.org/g/linux-yocto/message/13342 Mute This Topic: https://lists.yoctoproject.org/mt/102900654/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-