Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1265390

Re: Question with maxcpus= parameter.

From Yinghai Lu <yinghai@kernel.org>
Newsgroups linux.kernel
Subject Re: Question with maxcpus= parameter.
Date 2015-11-09 07:20 +0100
Message-ID <qsNY6-2He-7@gated-at.bofh.it> (permalink)
References <qrHL4-ha-1@gated-at.bofh.it> <qsNv5-2fT-29@gated-at.bofh.it> <qsNv5-2fT-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Nov 8, 2015 at 9:47 PM, Zhenzhong Duan
<zhenzhong.duan@oracle.com> wrote:
> Tried nr_cpus=4, works.
>

nr_cpus and maxcpus are different.

maxcpus=4 means kernel will only bring up 4 cpus, but other cpus still
can be brought up online.
if there are more cpu are there according acpi MADT.

nr_cpus=4 that means 4 is hard limit, just like you compiled kernel
with CONFIG_NR_CPUS=4.

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Question with maxcpus= parameter. Zhenzhong Duan <zhenzhong.duan@oracle.com> - 2015-11-06 06:30 +0100
  Re: Question with maxcpus= parameter. "Raj, Ashok" <ashok.raj@intel.com> - 2015-11-06 07:00 +0100
    Re: Question with maxcpus= parameter. Zhenzhong Duan <zhenzhong.duan@oracle.com> - 2015-11-06 07:30 +0100
  Re: Question with maxcpus= parameter. Zhenzhong Duan <zhenzhong.duan@oracle.com> - 2015-11-09 06:50 +0100
    Re: Question with maxcpus= parameter. Yinghai Lu <yinghai@kernel.org> - 2015-11-09 07:20 +0100
      Re: Question with maxcpus= parameter. Zhenzhong Duan <zhenzhong.duan@oracle.com> - 2015-11-09 10:10 +0100
        Re: Question with maxcpus= parameter. Yinghai Lu <yinghai@kernel.org> - 2015-11-09 18:10 +0100

csiph-web