microsoft / microsoft/DiskANN

Add support for reading L1/L2 cache sizes for different platforms(Windows, Linux, MacOS) for our efficient cache aware multi-vector distance functions.

Open
#1,062 0 comments 0 reactions 1 assignee View on GitHub

@wuw92 is already working on this.

Since May 14, 2026.

  • #1134 by @wuw92 — open
Dominant language
Rust
Stars
1.9k
Forks
454
Avg merge
3d 22h
Merged PRs (30d)
35

Description

We might be able to take some reference from - https://github.com/ciresnave/hardware-query/blob/main/src/cpu.rs

We have the type `TileBudget` type which we need to wire by reading cache sizes from the machine.

Think more on how we can do minimal system calls and reuse the cache sizes across all distance computations.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.