Skip to content

VMA (pool) slower than a custom cache of buffers #453

@jzubizarreta

Description

@jzubizarreta

I noticed than allocating and deallocating the same buffer in each of my compute iterations is very slow.
I was expecting VMA to handle this efficiently because it has a pool internally. My intuition is that when a buffer is deallocated, it goes back to the pool, and if the same type of buffer is allocated again, the one in the pool will be reused. However, in my system that behaviour is very slow and I'm sure that the same type/size of buffers are allocated every iteration. I tried with a custom map of buffers and that's way faster. Any idea way? Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions