pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: huafen17 (@huafen17) <noreply+huafen17@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #738: Workers assigned for IVFFlat bottlenecked at 8
Date: Mon, 06 Jan 2025 21:37:10 +0000
Message-ID: <gh-pgvector-pgvector-738-c2573971001@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-738@github.com>
References: <gh-pgvector-pgvector-738@github.com>

Thanks, this setting does allow me to use more CPUs during some part of the index building (I think it was either assigning or loading tuple, but they were a really small part of the index building). A good chunk of the time for IVFFlat was spent on performing k-means from my observation, and during that time the CPU util remain the same for different number of workers. So you are right, this doesn't improve build time much.

view thread (4+ messages)

Message-ID: <gh-pgvector-pgvector-738-c2573971001@github.com>
Permalink:  ../gh-pgvector-pgvector-738-c2573971001@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox