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'll withdraw 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 caches developed in [0]. It seems to me > that most important part of those optimization is removing sleeps under SLRU > lock on standby [2] by Kyotaro Horiguchi. But given that cache optimizations > took 4 years to get closer to commit, I'm not sure 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)