wgpu-native icon indicating copy to clipboard operation
wgpu-native copied to clipboard

WSL2: wgpuDeviceCreateBuffer extremely slow in v24

Open SergeyLebedkin opened this issue 8 months ago • 1 comments

There is some measurements taken on native win11 and wsl2 with 1000 buffers creation per frame:

== WSL2 ==

create buffers v19: 673 FPS
create buffers v24: 3 FPS <==== ???

== Windows ==

create buffers v19: 160 FPS
create buffers v24: 500 FPS

As you can see on native windows platform we have a nice performance boost. But in WSL2 (same equipment) we can see perf drop for v24 in comparing with v19

SergeyLebedkin avatar Apr 18 '25 19:04 SergeyLebedkin

I'm not sure what there is really to do about this - WSL's GPU support is complicated and it could be many different layers. Could you do some profiling to figure out where the issues are?

cwfitzgerald avatar Apr 24 '25 22:04 cwfitzgerald