Adrien Grand created LUCENE-10391:
-------------------------------------
Summary: Reuse data structures across HnswGraph invocations
Key: LUCENE-10391
URL: https://issues.apache.org/jira/browse/LUCENE-10391
Project: Lucene - Core
Issue Type: Task
Reporter: Adrien Grand
Creating HNSW graphs involves doing many repeated calls to HnswGraph#search.
Profiles from nightly benchmarks suggest that allocating data-structures incurs
both lots of heap allocations
([http://people.apache.org/~mikemccand/lucenebench/2022.01.23.18.03.17.html#profiler_1kb_indexing_vectors_4_heap)]
and CPU usage
([http://people.apache.org/~mikemccand/lucenebench/2022.01.23.18.03.17.html#profiler_1kb_indexing_vectors_4_cpu).]
It looks like reusing data structures across invocations would be a
low-hanging fruit that could help save significant CPU?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]