Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
WSL2 on Zen4 Ryzen: similar performance to running bare metal Linux (phoronix.com)
5 points by CoolCold on April 28, 2023 | hide | past | favorite | 8 comments


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.


What about USB devices support ?

Is there any more integrate solution than:

https://github.com/dorssel/usbipd-win/


Seems like nvidia and microsoft are pushing cuda to be used under WSL2 per the nvidia documentation.


you mean on desktop/laptop cases or for server side as well (I highly doubt here)?


Great now stop using RAM as a filetransfer buffer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: