On 04/05/2018 06:11 PM, Ming Lei wrote: >> >> Could you please apply the following patch and provide the dmesg boot log? > > And please post out the 'lscpu' log together from the test machine too. attached. As I said before this seems to go way with CONFIG_NR_CPUS=64 or smaller. We have 282 nr_cpu_ids here (max 141CPUs on that z13 with SMT2) but only 8 Cores == 16 threads.
Attachment:
dmesg.gz
Description: application/gzip
Architecture: s390x CPU op-mode(s): 32-bit, 64-bit Byte Order: Big Endian CPU(s): 16 On-line CPU(s) list: 0-15 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s) per book: 3 Book(s) per drawer: 2 Drawer(s): 4 NUMA node(s): 1 Vendor ID: IBM/S390 Machine type: 2964 CPU dynamic MHz: 5000 CPU static MHz: 5000 BogoMIPS: 20325.00 Hypervisor: PR/SM Hypervisor vendor: IBM Virtualization type: full Dispatching mode: horizontal L1d cache: 128K L1i cache: 96K L2d cache: 2048K L2i cache: 2048K L3 cache: 65536K L4 cache: 491520K NUMA node0 CPU(s): 0-15 Flags: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx sie
CPU NODE DRAWER BOOK SOCKET CORE L1d:L1i:L2d:L2i ONLINE CONFIGURED POLARIZATION ADDRESS 0 0 0 0 0 0 0:0:0:0 yes yes horizontal 0 1 0 0 0 0 0 1:1:1:1 yes yes horizontal 1 2 0 0 0 0 1 2:2:2:2 yes yes horizontal 2 3 0 0 0 0 1 3:3:3:3 yes yes horizontal 3 4 0 0 0 0 2 4:4:4:4 yes yes horizontal 4 5 0 0 0 0 2 5:5:5:5 yes yes horizontal 5 6 0 0 0 0 3 6:6:6:6 yes yes horizontal 6 7 0 0 0 0 3 7:7:7:7 yes yes horizontal 7 8 0 0 0 1 4 8:8:8:8 yes yes horizontal 8 9 0 0 0 1 4 9:9:9:9 yes yes horizontal 9 10 0 0 0 1 5 10:10:10:10 yes yes horizontal 10 11 0 0 0 1 5 11:11:11:11 yes yes horizontal 11 12 0 0 0 1 6 12:12:12:12 yes yes horizontal 12 13 0 0 0 1 6 13:13:13:13 yes yes horizontal 13 14 0 0 0 1 7 14:14:14:14 yes yes horizontal 14 15 0 0 0 1 7 15:15:15:15 yes yes horizontal 15