-
Notifications
You must be signed in to change notification settings - Fork 838
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 allocate more than 32 CPU cores to WSL2 #11860
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
/emailed-logs |
Diagnostic information
|
I really love the Dynamic-Wallpaper software. If there were a Windows or Linux version, I would be willing to purchase it for a lifetime. |
Windows Version
Microsoft Windows [Version 10.0.22631.3958]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu-24.04
Other Software
OS: Windows 11 Pro for Workstations 23H2
Repro Steps
I'm using a workstation with one AMD EPYC 7K62 48-Core Processor. So, I have 48 physical cores and 96 logical cores.
Enable these features in Control Panel:
Hyper-V
,Virtual Machine Platform
,Windows Hypervisor Platform
andWindows Subsystem for Linux
.Install the latest WSL from https://github.com/microsoft/WSL/releases/latest
the WSL configuration in file
%USERPROFILE%/.wslconfig
In this configuration, I tried to allocate 40 CPU cores to WSL.
Install Ubuntu-24.04 from Microsoft Store.
Run the command
lscpu
in the WSL terminal to check how many CPU cores are available.Expected Behavior
I hope I can get 40 logical cores available in WSL.
or
Actual Behavior
But I get 32 logical cores available in WSL.
I also tried to set
processors
to other values, and I found that:In short, I can't use more than 32 cores.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: