Windows 11 WSL2 Performance vs. Ubuntu Linux With The AMD Ryzen 7 7800X3D

Written by Michael Larabel in Operating Systems on 26 April 2023 at 11:16 AM EDT. Page 5 of 5. 24 Comments.
MariaDB benchmark with settings of Clients: 128. Ubuntu 22.04.2 LTS was the fastest.

Heavy I/O such as running a MySQL/MariaDB server within WSL2 can be a bit tough on the performance.

TensorFlow benchmark with settings of Device: CPU, Batch Size: 32, Model: ResNet-50. Ubuntu 22.04.2 LTS was the fastest.

TensorFlow can run at near-native speeds with WSL2 on the AMD Zen 4 CPU.

RocksDB benchmark with settings of Test: Random Read. Ubuntu 23.04 was the fastest.
RocksDB benchmark with settings of Test: Update Random. Ubuntu 22.04.2 LTS was the fastest.
RocksDB benchmark with settings of Test: Read While Writing. Ubuntu 22.04 on WSL2 Windows 11 was the fastest.
RocksDB benchmark with settings of Test: Read Random Write Random. Ubuntu 22.04.2 LTS was the fastest.
nginx benchmark with settings of Connections: 100. Ubuntu 22.04.2 LTS was the fastest.
nginx benchmark with settings of Connections: 200. Ubuntu 22.04.2 LTS was the fastest.

For many different practical workloads, the Windows Subsystem for Linux (WSL2) performance continues looking quite nice on Microsoft Windows 11. Overall it was a fairly pleasant experience with Ubuntu 22.04 LTS on WSL2 with the latest Windows 11. For many workloads there is similar performance to running bare metal Linux if due to corporate protocols or other reasons you are otherwise stuck to be using a Windows host. Plus Microsoft continues extending WSL2 functionality for supporting graphical/3D applications, video acceleration, and other functionality too.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.