microsoft / microsoft/WSL

WSL 2 multiple swapFile possible?

Open
#5,475 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Correct me if I didn't understand it right, wsl 2 manage its own swap file configured in .wslconfig, while wsl 1 utilizes windows managed Vitual Memorry in Control Panel. The problem is the .wslconfig only support one swapFile according to Microsoft Docs. Multiple swap file with different priority on multiple hard drives will be really useful. Is it possible now or in the future?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked Microsoft Docs page and checking the current .wslconfig behavior for WSL 2 swap configuration. The issue is complete only when support for multiple prioritized swap files is either clearly specified and implemented or the current limitation and future status are documented.

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.