this post was submitted on 01 Jan 2024
162 points (88.2% liked)

linuxmemes

20688 readers
1206 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] possiblylinux127 2 points 8 months ago (1 children)

You can run GUI apps but I'm not sure about GPU workloads. Wouldn't bare metal be the best for that?

[–] [email protected] 2 points 8 months ago (1 children)

Wouldn't bare metal be the best for that?

Technically yes, but WSL2 is remarkably close to optimal in terms of throughput. Unlike WSL1 (a type 2 hypervisor), WSL2 requires Hyper-V (a type 1 hypervisor), meaning Windows also runs as a VM once it’s enabled. The Linux vGPU driver still needs to go through the Windows Nvidia driver as far as I know, but that is seldom the bottleneck for CUDA applications.

[–] [email protected] 1 points 8 months ago

true it uses a Microsoft Hypervisor Virtual Machine