When carrying out the recent Windows 11 vs. Ubuntu 23.04 benchmarks with the AMD Ryzen 7 7800X3D Zen 4 3D V-Cache desktop processor, I also took the opportunity with the Windows 11 install around to check in on the Windows 11 WSL2 performance. Here is a fresh look at Ubuntu with Windows Subsystem for Linux (WSL2 on Windows 11) compared to the bare metal performance of Ubuntu 22.04 LTS on the same hardware as well as the new Ubuntu 23.04.
...
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
my own impressions - in my practical system administration activities, I hardly notice any impact of WSL2 on performance
* running Ansible, Flask, bash scripts - all good
* rare compiling - like RPM packages for Centos7 - probably loosing couple of seconds, but doesn't matter
* nginx configuration - say implementing reading data from Redis by Nginx, in my laptop benchmark was getting around 3000 RPS which is more than enough for POC
* and so on
Thus in practical terms, quite good Linux compatible environment for me, without extra burden on GUI part of Linux.
How do those DBs compare? I mean how am I can read these graphs? Like is mariadb slower on wsl or others have some kind bottleneck slowing them on all cases to near equal performance?
You may wanna take a look on DB engine benchmarks from Percona. Those from phoronix.com doesn't try compare DBs, but environments where those DB/applications run.
...
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