Skip to content

Commit aa6a9cb

Browse files
mattwojocraigloewen-msftcmcclisterv-hearyav-surgos
authored
Minor Config, Compare, and FAQ updates (#1129)
* Updated wsl-config.md * Updated compare-versions.md * updated compare-versions.md * Fixed typo on compare-versions.md * Initialize Docs repository: https://github.com/MicrosoftDocs/WSL of branch master * wsl2-faq.md converted into yml (#1128) * wsl2-faq.md converted into yml * wsl2-faq.md converted into yml * bookmark fixed * Bookmark fixed * bookmark fixed * missing hyperlink added * WSL/faq.md file converted to yml file (#1126) * WSL/faq.md file converted to yml file * A few minor updates * Link updates Co-authored-by: Matt Wojciakowski <[email protected]> Co-authored-by: Craig Loewen <[email protected]> Co-authored-by: cmcclister <[email protected]> Co-authored-by: v-hearya <[email protected]> Co-authored-by: v-surgos <[email protected]>
1 parent ef0dd82 commit aa6a9cb

10 files changed

Lines changed: 329 additions & 290 deletions

File tree

WSL/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ Individual Linux distributions can be run with either the WSL 1 or WSL 2 archite
5151

5252
* [Create a user account and password for your new Linux distribution](./user-support.md)
5353

54-
* [Read Frequently Asked Questions](./faq.md)
54+
* [Read Frequently Asked Questions](./faq.yml)
5555

56-
* [Read Frequently Asked Questions about WSL 2](./wsl2-faq.md)
56+
* [Read Frequently Asked Questions about WSL 2](./wsl2-faq.yml)
5757

5858
* [Troubleshooting](./troubleshooting.md)
5959

WSL/compare-versions.md

Lines changed: 5 additions & 7 deletions
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| ❌ |✅
@@ -54,15 +54,15 @@ You can also use windows commands inside WSL's Linux [Terminal](https://en.wikip
5454
WSL 2 is only available in Windows 10, Version 1903, Build 18362 or higher. Check your Windows version by selecting the **Windows logo key + R**, type **winver**, select **OK**. (Or enter the `ver` command in Windows Command Prompt). You may need to [update to the latest Windows version](ms-settings:windowsupdate). For builds lower than 18362, WSL is not supported at all.
5555

5656
> [!NOTE]
57-
> WSL 2 will work with [VMware 15.5.5+](https://blogs.vmware.com/workstation/2020/05/vmware-workstation-now-supports-hyper-v-mode.html) and [VirtualBox 6+](https://www.virtualbox.org/wiki/Changelog-6.0). Learn more in our [WSL 2 FAQs.](./wsl2-faq.md#will-i-be-able-to-run-wsl-2-and-other-3rd-party-virtualization-tools-such-as-vmware-or-virtualbox)
57+
> WSL 2 will work with [VMware 15.5.5+](https://blogs.vmware.com/workstation/2020/05/vmware-workstation-now-supports-hyper-v-mode.html) and [VirtualBox 6+](https://www.virtualbox.org/wiki/Changelog-6.0). Learn more in our [WSL 2 FAQs.](./wsl2-faq.yml#will-i-be-able-to-run-wsl-2-and-other-3rd-party-virtualization-tools-such-as-vmware--or-virtualbox-)
5858
5959
## What's new in WSL 2
6060

6161
WSL 2 is a major overhaul of the underlying architecture and uses virtualization technology and a Linux kernel to enable new features. The primary goals of this update are to increase file system performance and add full system call compatibility.
6262

6363
- [WSL 2 system requirements](./install-win10.md#step-2---check-requirements-for-running-wsl-2)
6464
- [Update from WSL 1 to WSL 2](./install-win10.md#set-your-distribution-version-to-wsl-1-or-wsl-2)
65-
- [Frequently Asked Questions about WSL 2](./wsl2-faq.md)
65+
- [Frequently Asked Questions about WSL 2](./wsl2-faq.yml)
6666

6767
### WSL 2 architecture
6868

@@ -90,10 +90,6 @@ Linux binaries use system calls to perform functions such as accessing files, re
9090

9191
- Any updates to the Linux kernel are immediately ready for use. (You don't have to wait for the WSL team to implement updates and add the changes).
9292

93-
### WSL 2 uses a smaller amount of memory on startup
94-
95-
WSL 2 uses a lightweight utility VM on a real Linux kernel with a small memory footprint. The utility will allocate Virtual Address backed memory on startup. It is configured to start with a smaller proportion of your total memory that what was required for WSL 1.
96-
9793
## Exceptions for using WSL 1 rather than WSL 2
9894

9995
We recommend that you use WSL 2 as it offers faster performance and 100% system call compatibility. However, there are a few specific scenarios where you might prefer using WSL 1. Consider using WSL 1 if:
@@ -102,6 +98,8 @@ We recommend that you use WSL 2 as it offers faster performance and 100% system
10298
- 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.
10399
- A project which requires cross-compilation using both Windows and Linux tools on the same files.
104100
- 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 experience on [the WSL Github repository issue 4166](https://github.com/microsoft/WSL/issues/4166).
105103

106104
> [!NOTE]
107105
> 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).

WSL/faq.md

Lines changed: 0 additions & 221 deletions
This file was deleted.

0 commit comments

Comments
 (0)