Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to detect second CPU while windows does. #1115

Closed
Kevincav opened this issue Sep 22, 2016 · 8 comments
Closed

Unable to detect second CPU while windows does. #1115

Kevincav opened this issue Sep 22, 2016 · 8 comments
Assignees

Comments

@Kevincav
Copy link

Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!

  • A brief description
    I have a dual socket workstation with 2 e5-2696 v4s in there. Through both top (and htop) lscpu I'm only able to see threads from the first socket.
  • Expected results
    I'm expecting 2 sockets, with 44 cores and 88 threads to show up.
  • Actual results (with terminal output if applicable)
    Kevin@DESKTOP-ALHNGUT:~$ lscpu
    Architecture: x86_64
    CPU op-mode(s): 32-bit, 64-bit
    Byte Order: Little Endian
    CPU(s): 44
    On-line CPU(s) list: 0-43
    Thread(s) per core: 2
    Core(s) per socket: 22
    Socket(s): 1
    Vendor ID: GenuineIntel
    CPU family: 6
    Model: 79
    Stepping: 1
    CPU MHz: 2201.000
    BogoMIPS: 4402.00
    Virtualization: VT-x
  • Your Windows build number
    Windows 10 version 1607 build 14393.187.
  • Steps / All commands required to reproduce the error from a brand new installation
    N/A
  • Strace of the failing command
    N/A
  • Required packages and commands to install
    N/A

See our contributing instructions for assistance.

@fpqc
Copy link

fpqc commented Sep 23, 2016

What? 44cores on one cpu? Never seen anything like that.

Edit: Oh, hyperthreading.

@misenesi
Copy link

misenesi commented Sep 26, 2016

Thank you for reporting your issue. Recognition of multiple processor sockets is something we are aware of and are considering to add support for it. Currently only a single socket is supported. Please add your vote to support this feature on the UserVoice.

@GabeAl
Copy link

GabeAl commented Nov 17, 2018

Here's one such issue on Voice for ease of voting:
https://wpdev.uservoice.com/forums/266908-command-prompt-console-windows-subsystem-for-l/suggestions/16393417-please-add-multi-cpu-socket-support-for-bash

@PetrKryslUCSD
Copy link

What is the status? I do see all 32 CPUs with cat /proc/cpuinfo.
On the other hand, I do have some doubts: https://discourse.julialang.org/t/distributed-computing-in-the-windows-subsystem-for-linux/23723/13

@muratyurdakul75
Copy link

Hi

Unfortunately, there is no development on this issue. There are constant requests on this issue, but they are marked as "duplicate requests" and directed to old notifications. Is there any development?

Actually, there are multiple expectations regarding this NUMA issue;
1> More than one NUMA needs to be supported.
2> It needs to be able to work with more than 64 processors.
3> We need to be able to decide which NUMA it will work on. (There may be those who want it to work on only one NUMA)

It would be really great if such a development could be made.

Thank you in advance for your efforts.

@hyjforesight
Copy link

It has been 8 years! @misenesi @muratyurdakul75
The Peloponnesian War (431-404 BC)
The American Revolutionary War (1775-1783)
World War I (1914-1918) and its immediate aftermath (1918-1922)
The Iraq War (2003-2011)
WSL2 DOES NOT SUPPORT DUAL CPUS (2016-2024)

@benhillis benhillis self-assigned this Dec 2, 2024
@benhillis
Copy link
Member

Should be fixed with https://github.com/microsoft/WSL/releases/tag/2.4.5 - but let me know if this needs more tweaks by opening a new issue.

@muratyurdakul75
Copy link

Should be fixed with https://github.com/microsoft/WSL/releases/tag/2.4.5 - but let me know if this needs more tweaks by opening a new issue.

I have been using it since the day it was published. There is no problem. Thank you again for your efforts.

Actually, I had a different suggestion about this. There may be a NUMA option in the wslconfig file. If you want, you can run it in all NUMA, if you want, you can run it in the NUMA you specify. Maybe it is not a very important request. But it may be needed in this way.

#12319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants