From: | "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: MultiXact\SLRU buffers configuration |
Date: | 2020-07-08 07:03:54 |
Message-ID: | 2ECE132B-C042-4489-930E-DBC5D0DAB84A@yandex-team.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> 2 июля 2020 г., в 17:02, Daniel Gustafsson <daniel(at)yesql(dot)se> написал(а):
>
>> On 15 May 2020, at 02:03, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote:
>
>> Generally in such cases, condition variables would work. In the
>> attached PoC, the reader side gets no penalty in the "likely" code
>> path. The writer side always calls ConditionVariableBroadcast but the
>> waiter list is empty in almost all cases. But I couldn't cause the
>> situation where the sleep 1000u is reached.
>
> The submitted patch no longer applies, can you please submit an updated
> version? I'm marking the patch Waiting on Author in the meantime.
Thanks, Daniel! PFA V2
Best regards, Andrey Borodin.
Attachment | Content-Type | Size |
---|---|---|
v2-0001-Use-shared-lock-in-GetMultiXactIdMembers-for-offs.patch | application/octet-stream | 7.6 KB |
v2-0002-Make-MultiXact-local-cache-size-configurable.patch | application/octet-stream | 3.7 KB |
v2-0003-Add-conditional-variable-to-wait-for-next-MultXac.patch | application/octet-stream | 3.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2020-07-08 07:04:44 | Re: Resetting spilled txn statistics in pg_stat_replication |
Previous Message | kato-sho@fujitsu.com | 2020-07-08 06:35:50 | RE: Performing partition pruning using row value |