Re: Question with maxcpus= parameter.

2015-11-09 Thread Yinghai Lu
On Mon, Nov 9, 2015 at 1:09 AM, Zhenzhong Duan wrote: > I know that, what confused me is uek2(2.6.39-400.249.4.el6uek.x86_64) works > with maxcpus=, > but uek3(3.8.13-44.1.1.el6uek.x86_64) not when I don't comment out the > script. > I have ever suspected uek2 send CPU ADD event for only 4 cpus.

Re: Question with maxcpus= parameter.

2015-11-09 Thread Zhenzhong Duan
在 2015/11/9 14:12, Yinghai Lu 写道: On Sun, Nov 8, 2015 at 9:47 PM, Zhenzhong Duan 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

Re: Question with maxcpus= parameter.

2015-11-09 Thread Yinghai Lu
On Mon, Nov 9, 2015 at 1:09 AM, Zhenzhong Duan wrote: > I know that, what confused me is uek2(2.6.39-400.249.4.el6uek.x86_64) works > with maxcpus=, > but uek3(3.8.13-44.1.1.el6uek.x86_64) not when I don't comment out the > script. > I have ever suspected uek2 send CPU

Re: Question with maxcpus= parameter.

2015-11-09 Thread Zhenzhong Duan
在 2015/11/9 14:12, Yinghai Lu 写道: On Sun, Nov 8, 2015 at 9:47 PM, Zhenzhong Duan 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

Re: Question with maxcpus= parameter.

2015-11-08 Thread Yinghai Lu
On Sun, Nov 8, 2015 at 9:47 PM, Zhenzhong Duan 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

Re: Question with maxcpus= parameter.

2015-11-08 Thread Zhenzhong Duan
Tried nr_cpus=4, works. [root@rwssq01 ~]# cat /sys/devices/system/cpu/possible 0-3 [root@rwssq01 ~]# cat /sys/devices/system/cpu/present 0-3 [root@rwssq01 ~]# uname -a Linux rwssq01.us.oracle.com 3.8.13-44.1.1.el6uek.x86_64 #2 SMP Wed Sep 10 06:10:25 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux

Re: Question with maxcpus= parameter.

2015-11-08 Thread Zhenzhong Duan
Tried nr_cpus=4, works. [root@rwssq01 ~]# cat /sys/devices/system/cpu/possible 0-3 [root@rwssq01 ~]# cat /sys/devices/system/cpu/present 0-3 [root@rwssq01 ~]# uname -a Linux rwssq01.us.oracle.com 3.8.13-44.1.1.el6uek.x86_64 #2 SMP Wed Sep 10 06:10:25 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux

Re: Question with maxcpus= parameter.

2015-11-08 Thread Yinghai Lu
On Sun, Nov 8, 2015 at 9:47 PM, Zhenzhong Duan 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.

Re: Question with maxcpus= parameter.

2015-11-05 Thread Zhenzhong Duan
Thanks for your quick response, Raj. It's OL6 compatible with rhel6. zduan 在 2015/11/6 14:57, Raj, Ashok 写道: Hi Zduan do you know which distribution it is? This isn't a kernel bug. if you look at dmesg you should see how many CPUs were booted. But the sysfs files are created and the usermode

Re: Question with maxcpus= parameter.

2015-11-05 Thread Raj, Ashok
Hi Zduan do you know which distribution it is? This isn't a kernel bug. if you look at dmesg you should see how many CPUs were booted. But the sysfs files are created and the usermode script is bringing every cpu online. Tony mentioned this to me couple weeks ago when i was fixing another bug

Question with maxcpus= parameter.

2015-11-05 Thread Zhenzhong Duan
Hi Maintainers, Recently we faced an cpu online issue with maxcpus= parameter. We want to have 4 cpus onlined at bootup, test 3.8.13-stable on an 72 cpus env with maxcpus=4, I found more cpus than 4 are onlined. It's the udev scripts make them onlined. But below script exist for a long time.

Question with maxcpus= parameter.

2015-11-05 Thread Zhenzhong Duan
Hi Maintainers, Recently we faced an cpu online issue with maxcpus= parameter. We want to have 4 cpus onlined at bootup, test 3.8.13-stable on an 72 cpus env with maxcpus=4, I found more cpus than 4 are onlined. It's the udev scripts make them onlined. But below script exist for a long time.

Re: Question with maxcpus= parameter.

2015-11-05 Thread Raj, Ashok
Hi Zduan do you know which distribution it is? This isn't a kernel bug. if you look at dmesg you should see how many CPUs were booted. But the sysfs files are created and the usermode script is bringing every cpu online. Tony mentioned this to me couple weeks ago when i was fixing another bug

Re: Question with maxcpus= parameter.

2015-11-05 Thread Zhenzhong Duan
Thanks for your quick response, Raj. It's OL6 compatible with rhel6. zduan 在 2015/11/6 14:57, Raj, Ashok 写道: Hi Zduan do you know which distribution it is? This isn't a kernel bug. if you look at dmesg you should see how many CPUs were booted. But the sysfs files are created and the usermode