Unverified Commit ee01d2fe authored by mgt/Enter-tainer's avatar mgt/Enter-tainer Committed by GitHub
Browse files

Update docs/tools/wsl.md

parent e750870d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ WSL 1 的机制,总体上是在运行时将 Linux 系统调用翻译为 NT API

性能方面,WSL 和 WSL 2 各有优势。 **如果不和本机系统交互,WSL 2 的性能非常不错,但如果访问 Windows 文件系统下的文件,IO 性能会下降很多。** 

微软给出的建议是,如果经常使用 WSL 来访问 Windows 文件系统上的项目文件,或者需要对相同的文件使用 Windows 和 Linux 工具进行交叉编译,那么建议这些用户使用 WSL 1,因为目前 WSL 1 能跨 OS 文件系统实现更的性能。
微软给出的建议是,如果经常使用 WSL 来访问 Windows 文件系统上的项目文件,或者需要对相同的文件使用 Windows 和 Linux 工具进行交叉编译,那么建议这些用户使用 WSL 1,因为目前 WSL 1 能跨 OS 文件系统实现更的性能。

## 启用 WSL