From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #1020: Prefetch unvisited neighbors during HNSW search
Date: Sat, 26 Sep 2026 00:53:43 +0000
Message-ID: <gh-pgvector-pgvector-1020-c5841708669@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-1020@github.com>
References: <gh-pgvector-pgvector-1020@github.com>
Thanks @Manuelreyesbravo, seeing slightly better performance with `read_stream_pause`. However, I still don't understand the gap between `FULL` + pause + eic 64 and prefetch.
If going the prefetch route, I think we'll need to limit by `get_tablespace_io_concurrency` / `get_tablespace_maintenance_io_concurrency` (as the comment in the [hnsw-prefetch branch](https://github.com/pgvector/pgvector/compare/hnsw-prefetch) indicates), but with eic 64, that shouldn't be a factor.