Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Will there be performance issues running WSL2 on an Intel big.LITTLE CPU ? #9176

Closed
dsyx opened this issue Nov 19, 2022 · 3 comments
Closed

Comments

@dsyx
Copy link

dsyx commented Nov 19, 2022

The current kernel version of WSL2 is: Linux 5.15.74.2-microsoft-standard-WSL2, but Intel's Thread Director Coming to Linux 5.18 to Fix Alder Lake Performance Issues. This means that WSL2 may have thread scheduling issues when running on Intel big.LITTLE CPUs.

Should/can I upgrade the kernel version? Or is there a way to run WSL2 only on P cores or E cores?

Thanks.

@0xbadfca11
Copy link

It doesn't matter which virtual CPU the Linux kernel inside WSL schedules on.
It's the hypervisor's scheduler that actually decides which physical CPU to run on.
(You can see this by running taskset 1 yes > /dev/null and looking at top 1 and taskmgr.exe.)

And those features are hidden by virtualization.

@dsyx
Copy link
Author

dsyx commented Nov 19, 2022

@0xbadfca11
But I'm a bit concerned about the hypervisor's scheduler scheduling my CPU-bound process in WSL2 onto the E core.

@tusharsnx
Copy link

similar issue is being tracked here #9121

@microsoft microsoft locked and limited conversation to collaborators Nov 22, 2022
@OneBlue OneBlue converted this issue into discussion #9190 Nov 22, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants