Re: MultiXact\SLRU buffers configuration - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: MultiXact\SLRU buffers configuration
Date
Msg-id 202401281249.u6ham26mbjav@alvherre.pgsql
Whole thread Raw
In response to Re: MultiXact\SLRU buffers configuration  (Andrey Borodin <x4mmm@yandex-team.ru>)
Responses Re: MultiXact\SLRU buffers configuration
List pgsql-hackers
On 2024-Jan-27, Andrey Borodin wrote:

> thanks for the ping! Most important parts of this patch set are discussed in [0]. If that patchset will be committed,
I'llwithdraw entry for this thread from commitfest.
 
> There's a version of Multixact-specific optimizations [1], but I hope they will not be necessary with effective
cachesdeveloped in [0]. It seems to me that most important part of those optimization is removing sleeps under SLRU
lockon standby [2] by Kyotaro Horiguchi. But given that cache optimizations took 4 years to get closer to commit, I'm
notsure we will get this optimization any time soon...
 

I'd appreciate it if you or Horiguchi-san can update his patch to remove
use of usleep in favor of a CV in multixact, and keep this CF entry to
cover it.

Perhaps a test to make the code reach the usleep(1000) can be written
using injection points (49cd2b93d7db)?

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"La experiencia nos dice que el hombre peló millones de veces las patatas,
pero era forzoso admitir la posibilidad de que en un caso entre millones,
las patatas pelarían al hombre" (Ijon Tichy)



pgsql-hackers by date:

Previous
From: Sergey Prokhorenko
Date:
Subject: Re: UUID v7
Next
From: Dmitry Dolgov
Date:
Subject: Re: Schema variables - new implementation for Postgres 15