Skip to content

Improve RAI_TensorSet_RedisCommand memory growth/page_fault code path by reusing already allocated redis BLOB #515

Closed
@filipecosta90

Description

@filipecosta90

We saw that on large tensors, for example an image with 1 x 3 x 224 x 224 ( 602 KiB ), the CPU cycles (wasted) on Allocator take a big chunk of the total redis-server main thread CPU cycles. In the example bellow we observe 42% wasted cpu cycles.
We should investigate ways to improve it by testing reusing previously allocated command arg memory. Only possible for BLOB tensorsets...
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions