Skip to content

Add support for keeping the graph structure for HNSW in off heap during merges #15904

@navneet1v

Description

@navneet1v

Description

Based on my reading of the code in Lucene, what I can see is we keep the graph structure OnHeap which not only puts additional pressure on JVM but also creates a bottleneck where we cannot create larger graphs.

One solution I was thinking is to move the graph structure during merge time to offheap, and also during write write it directly through off heap.

I am not sure if we have tried this in past, but I was going to put a POC around this. If anyone has some thoughts or ideas please share.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions