Changes in inline behavior on O2 optimization level for GCC 10+

2025-07-27 Thread Alexey Makhmutov
GCC 10 introduced some changes to its handling of functions inline optimization. These changes are described in its changelist (https://gcc.gnu.org/gcc-10/changes.html) as following: > Inter-procedural optimization improvements: > ... > -finline-functions is now enabled at -O2 and was retuned

Re: High CPU consumption in cascade replication with large number of walsenders and ConditionVariable broadcast issues

2025-04-22 Thread Alexey Makhmutov
t strictly required anymore for this case) are attached as well. Thanks, Alexey From b6749b210cceabcc0c382935ec412182b047fbb4 Mon Sep 17 00:00:00 2001 From: Alexey Makhmutov Date: Fri, 28 Mar 2025 16:16:36 +0300 Subject: [PATCH 1/2] Ensure that content of the wait list on CV is aligned with cv_sl

Re: High CPU consumption in cascade replication with large number of walsenders and ConditionVariable broadcast issues

2025-03-31 Thread Alexey Makhmutov
ber of applied records or specified time interval (whichever comes first). Co-authored-by: Alexey Makhmutov --- src/backend/access/transam/xlogrecovery.c | 61 ++- src/backend/postmaster/startup.c | 1 + src/backend/utils/misc/guc_tables.c | 22 src/

High CPU consumption in cascade replication with large number of walsenders and ConditionVariable broadcast issues

2025-03-29 Thread Alexey Makhmutov
TAP tests in ‘src/test/recovery’ directory. It would be great to hear any thoughts on these observations and fixing approaches, as well as possible pitfalls of proposed changes. Thanks, Alexey From e5cfabfa7fd8f05f1a7c8421e60087d672fb59e4 Mon Sep 17 00:00:00 2001 From: Alexey Makhmutov Date