microsoft / microsoft/WSL

Can we specify which NUMA WSL will run on?

Open
#12,319 10 comments 0 reactions 0 assignees View on GitHub
feature question
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

There are 2 NUMAs in my system. Numa 0 and 1. WSL always uses numa 1. Is there any way to make it use numa 0?
When the computer starts, wsl starts automatically and I want it to work on NUMA 0. Is there a solution for this?

I don't want to use external applications. Can we do this feature directly with Windows or WSL settings?

Thanks

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Begin by tracing how WSL selects or configures NUMA placement, then determine whether Windows or WSL settings expose a supported way to choose NUMA 0 for automatically started instances. Done means the supported configuration is implemented and verified for systems with multiple NUMA nodes.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.