Skip to content

WSL2: wgpuDeviceCreateBuffer extremely slow in v24 #467

@SergeyLebedkin

Description

@SergeyLebedkin

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

Activity

changed the title [-]WSL2: wgpuDeviceCreateBuffer extremely slow in v24 (WSL2)[/-] [+]WSL2: wgpuDeviceCreateBuffer extremely slow in v24[/+] on Apr 18, 2025
cwfitzgerald

cwfitzgerald commented on Apr 24, 2025

@cwfitzgerald
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @SergeyLebedkin@cwfitzgerald

        Issue actions

          WSL2: wgpuDeviceCreateBuffer extremely slow in v24 · Issue #467 · gfx-rs/wgpu-native