News for hackers. Stuff that matters.
Re:WSL2 on Zen4 Ryzen: similar performance to running bare m... by CoolCold on Friday April 28, 2023 @03:06AM (#35738377)
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

Re:WSL2 on Zen4 Ryzen: similar performance to running bare m... by Zetobal on Friday April 28, 2023 @03:15AM (#35738434)
Great now stop using RAM as a filetransfer buffer.
Re:WSL2 on Zen4 Ryzen: similar performance to running bare m... by IronWolve on Friday April 28, 2023 @04:12AM (#35738781)
Seems like nvidia and microsoft are pushing cuda to be used under WSL2 per the nvidia documentation.
Re:WSL2 on Zen4 Ryzen: similar performance to running bare m... by CoolCold on Friday April 28, 2023 @04:29AM (#35738892)
you mean on desktop/laptop cases or for server side as well (I highly doubt here)?
Re:WSL2 on Zen4 Ryzen: similar performance to running bare m... by CoolCold on Friday April 28, 2023 @04:26AM (#35738874)
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.
Re:WSL2 on Zen4 Ryzen: similar performance to running bare m... by rzr on Friday April 28, 2023 @06:39AM (#35739596)
What about USB devices support ?

Is there any more integrate solution than:

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

Re:WSL2 on Zen4 Ryzen: similar performance to running bare m... by azatom on Saturday April 29, 2023 @06:16AM (#35751611)
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?
Re:WSL2 on Zen4 Ryzen: similar performance to running bare m... by CoolCold on Monday May 01, 2023 @04:32PM (#35778756)
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.