microsoft / microsoft/WSL

Enable UKSM Support in the "wsl.conf" file.

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

Description

**Is your feature request related to a problem? Please describe.**
For me, and likely others, the primary use-case of WSL is to provide a local environment for experimenting, developing, testing and deploying features for a service in a similar and ephemeral environment. When running applications in my WSL Distro via VMs I find that there is a significant amount of memory used.

Other distros resolve this concern by utilizing [UKSM](https://www.usenix.org/system/files/conference/fast18/fast18-xia.pdf). However guides on the internet recommend performing a [patch](https://github.com/dolohow/uksm) which in my unexperienced attempt was unsuccessful.

**Describe the solution you'd like**
Similar to [Systemd support](https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/) it would be nice to enable this option via the wsl.conf file.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how systemd support is exposed through wsl.conf and the systemd support reference linked in the issue. Then assess whether UKSM can be enabled through the same configuration path, using the linked UKSM patch and paper for context. Done means a supported wsl.conf option with documented behavior for enabling UKSM in a WSL distribution.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.