From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #500: Index Build Time Does Not Improve as Expected When Changing "Workers"
Date: Tue, 16 Apr 2024 00:52:18 +0000
Message-ID: <gh-pgvector-pgvector-500-c2058047461@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-500@github.com>
References: <gh-pgvector-pgvector-500@github.com>
@iamsabhoho Glad the results are improving. A few more thoughts:
* I looked up your process and it supports 26 cores / 52 threads. I don't know how busy the machien is, but you can set `max_parallel_maintenance_workers` higher (e.g. 32)
* The unreleased pgvector 0.7.0 is adding support for casting to a 2-byte float -- however for the DEEP1B dataset, I don't believe you'll see much gains (at least based on the [SIFT128 test](https://jkatz05.com/post/postgres/pgvector-scalar-binary-quantization/))