Skip to content

Commit 7b8d7df

Browse files
authored
Update compare-versions.md (#1010)
* Update compare-versions.md Serial and USB access are further use cases for WSL over WSL 2 * Update compare-versions.md Remove hard-coded locale
1 parent aa1ca6b commit 7b8d7df

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

WSL/compare-versions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
- Your project needs access to a serial port or USB device.
102+
- According to the [WSL 2 FAQ](https://docs.microsoft.com/windows/wsl/wsl2-faq#can-i-access-the-gpu-in-wsl-2-are-there-plans-to-increase-hardware-support), WSL 2 does not include support for accessing serial ports. The [open issue on serial support](https://github.com/microsoft/WSL/issues/4322) indicates that support has not been added yet.
101103
- You have strict memory requirements
102104
- 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).
103105

0 commit comments

Comments
 (0)