You have been subscribed to a public bug:

Update:
This is likely due to the WSL2 limit on the number of cores. I used a Ubuntu 
22.04 usb boot drive to test and find the correct number of cores.
------------------------------------------
My Laptop has Intel 12th Gen CPU 12800HX, which has 16 cores (8 p-cores and 8 
e-cores), and 24 threads (2 per p-core and 1 per e-core)
https://www.intel.com/content/www/us/en/products/sku/226058/intel-core-i712800hx-processor-25m-cache-up-to-4-80-ghz/specifications.html

I am using (5.15.79.1-microsoft-standard-WSL2), it only sees 12 cores with 2 
threads each. The host Windows 11 does recognize the CPU correctly.
lscpu returns the following:
------------------------------------------------
Architecture:            x86_64
CPU op-mode(s):        32-bit, 64-bit
Address sizes:         39 bits physical, 48 bits virtual
Byte Order:            Little Endian
CPU(s):                  24
On-line CPU(s) list:   0-23
Vendor ID:               GenuineIntel
Model name:            12th Gen Intel(R) Core(TM) i7-12800HX
CPU family:          6
Model:               151
Thread(s) per core:  2
Core(s) per socket:  12
Socket(s):           1
Stepping:            2
BogoMIPS:            4608.01
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse ss                         e2 ss ht syscall 
nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology tsc_reliable nonstop  
                       _tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 
sse4_2 x2apic movbe popcnt tsc_deadline                         _timer aes 
xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd 
ibrs                          ibpb stibp ibrs_enhanced tpr_shadow vnmi ept vpid 
ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi                         2 erms 
invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves 
avx_vnni u                         mip waitpkg gfni vaes vpclmulqdq rdpid 
movdiri movdir64b fsrm serialize flush_l1d arch_capabili                        
 ties                                                                           
                Virtualization features:                  
                                                                                
 Virtualization:        VT-x                                                    
                                         Hypervisor vendor:     Microsoft       
                                                                                
 Virtualization type:   full                                                    
                                       Caches (sum of all):                     
                                                                                
 L1d:                   576 KiB (12 instances)                                  
                                         L1i:                   384 KiB (12 
instances)                                                                      
     L2:                    15 MiB (12 instances)                               
                                             L3:                    25 MiB (1 
instance)                                   
                                          Vulnerabilities:                      
                                                                                
    Itlb multihit:         Not affected                                         
                                            L1tf:                  Not affected 
                                                                                
    Mds:                   Not affected                                         
                                            Meltdown:              Not affected 
                                                                                
    Mmio stale data:       Not affected                                         
                                            Retbleed:              Mitigation; 
Enhanced IBRS                                                                   
     Spec store bypass:     Mitigation; Speculative Store Bypass disabled via 
prctl and seccomp                        
       Spectre v1:            Mitigation; usercopy/swapgs barriers and __user 
pointer sanitization                             Spectre v2:            
Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW 
sequence                Srbds:                 Not affected                     
                                                                Tsx async 
abort:       Not affected
---------------------------------------------------

I found this when I was trying to use OpenMPI for some parallel data
processing. The OpenMPI can also see 12 cores only and complains if I
use `mpirun -np 16 myapp` because there is "not enough" cores.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Invalid


** Tags: bot-comment
-- 
Incorrect number of cores for 12th Gen Intel CPU
https://bugs.launchpad.net/bugs/2003985
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to