Skip to content

perf(vamana): port search and prefetch optimizations - #727

Open
luoxiaojian wants to merge 12 commits into
alibaba:mainfrom
luoxiaojian:codex/vamana-search-prefetch-optimizations
Open

perf(vamana): port search and prefetch optimizations#727
luoxiaojian wants to merge 12 commits into
alibaba:mainfrom
luoxiaojian:codex/vamana-search-prefetch-optimizations

Conversation

@luoxiaojian

Copy link
Copy Markdown
Collaborator

No description provided.

Reuse the unsigned query norm in VNNI and portable preprocessing without changing the encoded layout or distance formula. Recompute oversized norms to preserve fallback output, and cover canonical and overflow boundaries in tests.
Keep raw PO/PL requests separate from resolved values so partial updates retain automatic defaults and schema-clamped overrides. Resolve untouched streaming contexts when preparing graph queries, refresh resolved settings after entity changes, and leave construction initialization unchanged. Cover parameter lifecycle and first contiguous graph queries with regression tests.
Cover quantized batch boundaries, fast-search transitions and pool API equivalence. Add a single-thread two-pass contiguous benchmark, smoke checks, and a deferred Ice Lake validation guide with precise prefetch and timing semantics.
Move pop and pop_with_next into the header with force-inline annotations and share cursor advancement. Keep AVX2 block insertion out of line and retain ByteMap. Add mixed-interface rewind coverage and update the Ice Lake validation notes.
@luoxiaojian
luoxiaojian force-pushed the codex/vamana-search-prefetch-optimizations branch from d491658 to 26d6b39 Compare September 7, 2026 07:31
Preserve the aligned graph-row range while replacing the local address loop with ailego_prefetch_lines. Record the Ice Lake code-generation difference for later same-graph performance validation.
Drop the benchmark executable, utilities, smoke script and dedicated tests from the branch. Keep production optimizations and targeted regressions, and retain an Ice Lake validation plan without a new benchmark dependency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant