Score:1

Ubuntu 22.04 support for 12th gen Intel CPU

bf flag

I am running Ubuntu 22.04 on a laptop with Intel 12th Gen CPU, with 8 p-cores and 8 e-cores. The CPU supports 24 total threads, 2 for each p-core and 1 for each e-core. Ubuntu identifies the model of the CPU correctly but only recognizes 12 cores and 24 threads. I am running parallel jobs with OpenMPI, which also complains if I try to use more than 12 cores. I also noticed some processes run much faster than others, likely due to the p-core vs e-core speed difference.

I am wondering if there are any suggestions to have Ubuntu and OpenMPI recognize all cores and hopefully distinguish p-cores vs e-cores? Thanks.

Update: I tried Ubuntu 22.04 with a liveusb again and it reported the number of cores and threads correctly. So the issue is most likely from the Windows Subsystem for Linux.

Terrance avatar
id flag
What Kernel version are you running on this system? Please edit your question and add some more details about the system. This might be a bug in the Kernel if it is fully updated and still cannot see all available cores in the OS. If that is the case, I would recommend to [file a bug on launchpad](https://askubuntu.com/questions/5121/how-do-i-report-a-bug) so that it can be fixed and tracked.
ZL-Arctic avatar
bf flag
I am using Ubuntu 22.04 from Windows Subsystem (WSL2). The kernel version is 5.15.79.1-microsoft-standard-WSL2. The Windows 11 recognized all the cores and total thread number correctly. It is interesting that Ubuntu get the thread number right. The core number is wrong but the it is half of the thread number, which is true for the previous generation Intel processors.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.