-
Notifications
You must be signed in to change notification settings - Fork 846
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
Request: kernel 6.8 for Ubuntu 24.04? #11345
Comments
Is there a specific feature in Ubuntu 24.04 that you want included in WSL2? |
@oscarbg the Linux kernel released by WSL team has code that's not in the main kernel, and it might never be mainlined. That's something to consider! |
Considering WSL sticks to LTS kernels historically 5.15 is probably the version for the foreseeable future. You can always use a community build with the WSL patches, i.e.: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling That's very much unsupported though. |
LTS Kernels shouldn't really be something holding them to 5.15 considering 6.1 and 6.6 are also LTS. In addition, the shrinking of the LTS window to 2 years will probably force Microsoft's hand a bit. That said, having 6.8 available would be outstanding. It is a big release. |
Fair point |
Updating the kernel would also fix at least these issues, that I personally have and are very annoying for me, and probably a lot of other issues as well.
The first issue was fixed for me in WSL 1.1.7, when Microsoft briefly switched to kernel 6.1 https://github.com/microsoft/WSL/releases/tag/1.1.7 a year ago, but for some reason they switched back https://github.com/microsoft/WSL/releases/tag/1.2.0 (Revert to the 5.15.90.1 version of the kernel while we debug a few issues). And newer upgraded again. 6.1, and I think some optimizations after that should also probably make it possible to optimize the file system performance https://www.phoronix.com/news/Linux-9p-10x-Performance, but I believe that it also needs some kind of Windows side implementation to be effective. |
For optimal performance with new features like multi-shot accept or ring-mapped buffers in io-uring or liburing, it is advisable to use a newer kernel version. Therefore, I recommend using a newer kernel version in WSL, such as Ubuntu 22.04 with kernel 6.8. |
https://github.com/nathanchance/WSL2-Linux-Kernel used to be a good source of a bleeding edge kernel, also focused on building with clang and LTO. |
Do not update to Ubuntu 24.04, I made that mistake yesterday. |
not really.. |
|
Looks like it's now a bit easier to see what they changed: https://github.com/microsoft/WSL2-Linux-Kernel/commits/linux-msft-wsl-6.6.36.3/ |
Hi,
Ubuntu 24.04 lts, it’s releasing soon, and comes with kernel 6.8.. will wsl include it by default, once 24.04 released?..
I say, because we are at 5.15 , and there was some wsl beta release with a 6.1 kernel but was scrapped..
https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y
Thanks..
The text was updated successfully, but these errors were encountered: