Skip to content

Commit fc2080e

Browse files
updated compare-versions.md
1 parent c11f037 commit fc2080e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

WSL/compare-versions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Feature | WSL 1 | WSL 2
2626
--- | --- | ---
2727
Integration between Windows and Linux| ✅|✅
2828
Fast boot times| ✅ | ✅
29-
Small resource foot print| ✅ |✅
29+
Small resource foot print compared to traditional Virtual Machines| ✅ |✅
3030
Runs with current versions of VMware and VirtualBox| ✅ | ✅
3131
Managed VM| ❌ | ✅
3232
Full Linux Kernel| ❌ |✅
@@ -98,6 +98,8 @@ We recommend that you use WSL 2 as it offers faster performance and 100% system
9898
- If you will be using your WSL Linux distribution to access project files on the Windows file system, and these files cannot be stored on the Linux file system, you will achieve faster performance across the OS files systems by using WSL 1.
9999
- A project which requires cross-compilation using both Windows and Linux tools on the same files.
100100
- File performance across the Windows and Linux operating systems is faster in WSL 1 than WSL 2, so if you are using Windows applications to access Linux files, you will currently achieve faster performance with WSL 1.
101+
- You have strict memory requirements
102+
- WSL 2's memory usage grows and shrinks as you use it. When a process frees memory this is automatically returned to Windows. However, as of right now WSL 2 does not yet release cached pages in memory back to Windows until the WSL instance is shut down. If you have long running WSL sessions, or access a very large amount of files, this cache can take up memory on Windows. We are tracking the work to improve this exprience on [the WSL Github repository issue 4166](https://github.com/microsoft/WSL/issues/4166).
101103

102104
> [!NOTE]
103105
> Consider trying the VS Code [Remote WSL Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl) to enable you to store your project files on the Linux file system, using Linux command line tools, but also using VS Code on Windows to author, edit, debug, or run your project in an internet browser without any of the performance slow-downs associated with working across the Linux and Windows file systems. [Learn more](tutorials/wsl-vscode.md).

0 commit comments

Comments
 (0)