Re: heavily contended lwlocks with long wait queues scale badly
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org, Thomas Munro <thomas.munro@gmail.com>, Yura Sokolov <y.sokolov@postgrespro.ru>
Date: 2022-10-31T18:40:28Z
Lists: pgsql-hackers
On Thu, Oct 27, 2022 at 12:59 PM Andres Freund <andres@anarazel.de> wrote: > After pulling my > hair out for quite a while to try to understand that behaviour, I figured out > that it's just a side-effect of *removing* some other contention. I've seen this kind of pattern on multiple occasions. I don't know if they were all caused by this, or what, but I certainly like the idea of making it better. -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
lwlock: Fix quadratic behavior with very long wait lists
- 81038228582a 12.18 landed
- dc9d424cf0cd 13.14 landed
- 5f6ec27a6477 14.11 landed
- f374fb4aab3e 15.6 landed
- a4adc31f6902 16.0 landed