Logical replication keepalive flood

Started by Abbas Buttover 5 years ago39 messageshackers
Jump to latest
#1Abbas Butt
abbas.butt@enterprisedb.com

Hi,
I have observed the following behavior with PostgreSQL 13.3.

The WAL sender process sends approximately 500 keepalive messages per
second to pg_recvlogical.
These keepalive messages are totally un-necessary.
Keepalives should be sent only if there is no network traffic and a certain
time (half of wal_sender_timeout) passes.
These keepalive messages not only choke the network but also impact the
performance of the receiver,
because the receiver has to process the received message and then decide
whether to reply to it or not.
The receiver remains busy doing this activity 500 times a second.

On investigation it is revealed that the following code fragment in
function WalSndWaitForWal in file walsender.c is responsible for sending
these frequent keepalives:

if (MyWalSnd->flush < sentPtr &&
MyWalSnd->write < sentPtr &&
!waiting_for_ping_response)
WalSndKeepalive(false);

waiting_for_ping_response is normally false, and flush and write will
always be less than sentPtr (Receiver's LSNs cannot advance server's LSNs)

Here are the steps to reproduce:
1. Start the database server.
2. Setup pgbench tables.
./pgbench -i -s 50 -h 192.168.5.140 -p 7654 -U abbas postgres
3. Create a logical replication slot.
SELECT * FROM pg_create_logical_replication_slot('my_slot',
'test_decoding');
4. Start pg_recvlogical.
./pg_recvlogical --slot=my_slot --verbose -d postgres -h 192.168.5.140 -p
7654 -U abbas --start -f -
5. Run pgbench
./pgbench -U abbas -h 192.168.5.140 -p 7654 -c 2 -j 2 -T 1200 -n postgres
6. Observer network traffic to find the keepalive flood.

Alternately modify the above code fragment to see approx 500 keepalive log
messages a second

if (MyWalSnd->flush < sentPtr &&
MyWalSnd->write < sentPtr &&
!waiting_for_ping_response)
{
elog(LOG, "[Keepalive] wrt ptr %X/%X snt ptr %X/%X ",
(uint32) (MyWalSnd->write >> 32),
(uint32) MyWalSnd->write,
(uint32) (sentPtr >> 32),
(uint32) sentPtr);
WalSndKeepalive(false);
}

Opinions?

--
--
*Abbas*
Senior Architect

Ph: 92.334.5100153
Skype ID: gabbasb
edbpostgres.com

*Follow us on Twitter*
@EnterpriseDB

#2Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Abbas Butt (#1)
Re: Logical replication keepalive flood

At Sat, 5 Jun 2021 16:08:00 +0500, Abbas Butt <abbas.butt@enterprisedb.com> wrote in

Hi,
I have observed the following behavior with PostgreSQL 13.3.

The WAL sender process sends approximately 500 keepalive messages per
second to pg_recvlogical.
These keepalive messages are totally un-necessary.
Keepalives should be sent only if there is no network traffic and a certain
time (half of wal_sender_timeout) passes.
These keepalive messages not only choke the network but also impact the
performance of the receiver,
because the receiver has to process the received message and then decide
whether to reply to it or not.
The receiver remains busy doing this activity 500 times a second.

I can reproduce the problem.

On investigation it is revealed that the following code fragment in
function WalSndWaitForWal in file walsender.c is responsible for sending
these frequent keepalives:

if (MyWalSnd->flush < sentPtr &&
MyWalSnd->write < sentPtr &&
!waiting_for_ping_response)
WalSndKeepalive(false);

The immediate cause is pg_recvlogical doesn't send a reply before
sleeping. Currently it sends replies every 10 seconds intervals.

So the attached first patch stops the flood.

That said, I don't think it is not intended that logical walsender
sends keep-alive packets with such a high frequency. It happens
because walsender actually doesn't wait at all because it waits on
WL_SOCKET_WRITEABLE because the keep-alive packet inserted just before
is always pending.

So as the attached second, we should try to flush out the keep-alive
packets if possible before checking pg_is_send_pending().

Any one can "fix" the issue but I think each of them is reasonable by
itself.

Any thoughts, suggestions and/or opinions?

regareds.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachments:

walsender_flush_keepalive_packet_before_sleep.patchtext/x-patch; charset=us-asciiDownload+3-0
pg_recvlogical_send_reply_before_sleep.patchtext/x-patch; charset=us-asciiDownload+4-0
#3Amit Kapila
amit.kapila16@gmail.com
In reply to: Kyotaro Horiguchi (#2)
Re: Logical replication keepalive flood

On Mon, Jun 7, 2021 at 12:54 PM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:

At Sat, 5 Jun 2021 16:08:00 +0500, Abbas Butt <abbas.butt@enterprisedb.com> wrote in

Hi,
I have observed the following behavior with PostgreSQL 13.3.

The WAL sender process sends approximately 500 keepalive messages per
second to pg_recvlogical.
These keepalive messages are totally un-necessary.
Keepalives should be sent only if there is no network traffic and a certain
time (half of wal_sender_timeout) passes.
These keepalive messages not only choke the network but also impact the
performance of the receiver,
because the receiver has to process the received message and then decide
whether to reply to it or not.
The receiver remains busy doing this activity 500 times a second.

I can reproduce the problem.

On investigation it is revealed that the following code fragment in
function WalSndWaitForWal in file walsender.c is responsible for sending
these frequent keepalives:

if (MyWalSnd->flush < sentPtr &&
MyWalSnd->write < sentPtr &&
!waiting_for_ping_response)
WalSndKeepalive(false);

The immediate cause is pg_recvlogical doesn't send a reply before
sleeping. Currently it sends replies every 10 seconds intervals.

Yeah, but one can use -s option to send it at lesser intervals.

So the attached first patch stops the flood.

I am not sure sending feedback every time before sleep is a good idea,
this might lead to unnecessarily sending more messages. Can we try by
using one-second interval with -s option to see how it behaves? As a
matter of comparison the similar logic in workers.c uses
wal_receiver_timeout to send such an update message rather than
sending it every time before sleep.

That said, I don't think it is not intended that logical walsender
sends keep-alive packets with such a high frequency. It happens
because walsender actually doesn't wait at all because it waits on
WL_SOCKET_WRITEABLE because the keep-alive packet inserted just before
is always pending.

So as the attached second, we should try to flush out the keep-alive
packets if possible before checking pg_is_send_pending().

/* Send keepalive if the time has come */
WalSndKeepaliveIfNecessary();

+ /* We may have queued a keep alive packet. flush it before sleeping. */
+ pq_flush_if_writable();

We already call pq_flush_if_writable() from WalSndKeepaliveIfNecessary
after sending the keep-alive message, so not sure how this helps?

--
With Regards,
Amit Kapila.

#4Abbas Butt
abbas.butt@enterprisedb.com
In reply to: Amit Kapila (#3)
Re: Logical replication keepalive flood

On Mon, Jun 7, 2021 at 3:13 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

On Mon, Jun 7, 2021 at 12:54 PM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:

At Sat, 5 Jun 2021 16:08:00 +0500, Abbas Butt <

abbas.butt@enterprisedb.com> wrote in

Hi,
I have observed the following behavior with PostgreSQL 13.3.

The WAL sender process sends approximately 500 keepalive messages per
second to pg_recvlogical.
These keepalive messages are totally un-necessary.
Keepalives should be sent only if there is no network traffic and a

certain

time (half of wal_sender_timeout) passes.
These keepalive messages not only choke the network but also impact the
performance of the receiver,
because the receiver has to process the received message and then

decide

whether to reply to it or not.
The receiver remains busy doing this activity 500 times a second.

I can reproduce the problem.

On investigation it is revealed that the following code fragment in
function WalSndWaitForWal in file walsender.c is responsible for

sending

these frequent keepalives:

if (MyWalSnd->flush < sentPtr &&
MyWalSnd->write < sentPtr &&
!waiting_for_ping_response)
WalSndKeepalive(false);

The immediate cause is pg_recvlogical doesn't send a reply before
sleeping. Currently it sends replies every 10 seconds intervals.

Yeah, but one can use -s option to send it at lesser intervals.

That option can impact pg_recvlogical, it will not impact the server
sending keepalives too frequently.
By default the status interval is 10 secs, still we are getting 500
keepalives a second from the server.

So the attached first patch stops the flood.

I am not sure sending feedback every time before sleep is a good idea,
this might lead to unnecessarily sending more messages. Can we try by
using one-second interval with -s option to see how it behaves? As a
matter of comparison the similar logic in workers.c uses
wal_receiver_timeout to send such an update message rather than
sending it every time before sleep.

That said, I don't think it is not intended that logical walsender
sends keep-alive packets with such a high frequency. It happens
because walsender actually doesn't wait at all because it waits on
WL_SOCKET_WRITEABLE because the keep-alive packet inserted just before
is always pending.

So as the attached second, we should try to flush out the keep-alive
packets if possible before checking pg_is_send_pending().

/* Send keepalive if the time has come */
WalSndKeepaliveIfNecessary();

+ /* We may have queued a keep alive packet. flush it before sleeping. */
+ pq_flush_if_writable();

We already call pq_flush_if_writable() from WalSndKeepaliveIfNecessary
after sending the keep-alive message, so not sure how this helps?

--
With Regards,
Amit Kapila.

--
--
*Abbas*
Senior Architect

Ph: 92.334.5100153
Skype ID: gabbasb
edbpostgres.com

*Follow us on Twitter*
@EnterpriseDB

#5Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Abbas Butt (#4)
Re: Logical replication keepalive flood

At Mon, 7 Jun 2021 15:26:05 +0500, Abbas Butt <abbas.butt@enterprisedb.com> wrote in

On Mon, Jun 7, 2021 at 3:13 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

The immediate cause is pg_recvlogical doesn't send a reply before
sleeping. Currently it sends replies every 10 seconds intervals.

Yeah, but one can use -s option to send it at lesser intervals.

That option can impact pg_recvlogical, it will not impact the server
sending keepalives too frequently.
By default the status interval is 10 secs, still we are getting 500
keepalives a second from the server.

So the attached first patch stops the flood.

I am not sure sending feedback every time before sleep is a good idea,
this might lead to unnecessarily sending more messages. Can we try by
using one-second interval with -s option to see how it behaves? As a
matter of comparison the similar logic in workers.c uses
wal_receiver_timeout to send such an update message rather than
sending it every time before sleep.

Logical walreceiver sends a feedback when walrcv_eceive() doesn't
receive a byte. If its' not good that pg_recvlogical does the same
thing, do we need to improve logical walsender's behavior as well?

That said, I don't think it is not intended that logical walsender
sends keep-alive packets with such a high frequency. It happens
because walsender actually doesn't wait at all because it waits on
WL_SOCKET_WRITEABLE because the keep-alive packet inserted just before
is always pending.

So as the attached second, we should try to flush out the keep-alive
packets if possible before checking pg_is_send_pending().

/* Send keepalive if the time has come */
WalSndKeepaliveIfNecessary();

+ /* We may have queued a keep alive packet. flush it before sleeping. */
+ pq_flush_if_writable();

We already call pq_flush_if_writable() from WalSndKeepaliveIfNecessary
after sending the keep-alive message, so not sure how this helps?

No. WalSndKeepaliveIfNecessary calls it only when walreceiver does not
receive a reply message for a long time. So the keepalive sent by the
direct call to WalSndKeepalive() from WalSndWaitForWal is not flushed
out in most cases, which causes the flood.

I rechecked all callers of WalSndKeepalive().

WalSndKeepalive()
+- *WalSndWaltForWal
+- ProcessStandbyReplyMessage
|+- ProcessStandbyMessage
| +- ProcessRepliesIfAny
| +- $WalSndWriteData
| +- *WalSndWaitForWal
| +- WalSndLoop
| (calls pq_flush_if_writable() after sending the packet, but the
| keepalive packet prevents following stream data from being sent
| since the pending keepalive-packet causes pq_is_sned_pending()
| return (falsely) true.)
+- WalSndDone
+- *WalSndLoop
+- WalSndKeepaliveIfNecessary
(calls pq_flush_if_writable always only after calling WalSndKeepalive())

The callers prefixed by '*' above misunderstand that some of the data
sent by them are still pending even when the only pending bytes is the
keepalive packet. Of course the keepalive pakcets should be sent
*before* sleep and the unsent keepalive packet prevents the callers
from sleeping then they immediately retry sending another keepalive
pakcet and repeat it until the condition changes. (The callers
prevised by "$" also enters a sleep before flushing but doesn't repeat
sending keepalives.)

The caller is forgetting that a keepalive pakcet may be queued but not
flushed after calling WalSndKeepalive. So more sensible fix would be
calling pq_flush_if_writable in WalSndKeepalive?

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

#6Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Kyotaro Horiguchi (#5)
Re: Logical replication keepalive flood

At Tue, 08 Jun 2021 10:05:36 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in

At Mon, 7 Jun 2021 15:26:05 +0500, Abbas Butt <abbas.butt@enterprisedb.com> wrote in

On Mon, Jun 7, 2021 at 3:13 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

I am not sure sending feedback every time before sleep is a good idea,
this might lead to unnecessarily sending more messages. Can we try by
using one-second interval with -s option to see how it behaves? As a
matter of comparison the similar logic in workers.c uses
wal_receiver_timeout to send such an update message rather than
sending it every time before sleep.

Logical walreceiver sends a feedback when walrcv_eceive() doesn't
receive a byte. If its' not good that pg_recvlogical does the same
thing, do we need to improve logical walsender's behavior as well?

For the clarity, only the change in the walsender side can stop the
flood.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

#7Abbas Butt
abbas.butt@enterprisedb.com
In reply to: Kyotaro Horiguchi (#6)
Re: Logical replication keepalive flood

Hi Kyotaro,
I have tried to test your patches. Unfortunately even after applying the
patches
the WAL Sender is still sending too frequent keepalive messages.
In my opinion the fix is to make sure that wal_sender_timeout/2 has passed
before sending
the keepalive message in the code fragment I had shared earlier.
In other words we should replace the call to
WalSndKeepalive(false);
with
WalSndKeepaliveIfNecessary(false);

Do you agree with the suggested fix?

On Tue, Jun 8, 2021 at 10:09 AM Kyotaro Horiguchi <horikyota.ntt@gmail.com>
wrote:

At Tue, 08 Jun 2021 10:05:36 +0900 (JST), Kyotaro Horiguchi <
horikyota.ntt@gmail.com> wrote in

At Mon, 7 Jun 2021 15:26:05 +0500, Abbas Butt <

abbas.butt@enterprisedb.com> wrote in

On Mon, Jun 7, 2021 at 3:13 PM Amit Kapila <amit.kapila16@gmail.com>

wrote:

I am not sure sending feedback every time before sleep is a good

idea,

this might lead to unnecessarily sending more messages. Can we try by
using one-second interval with -s option to see how it behaves? As a
matter of comparison the similar logic in workers.c uses
wal_receiver_timeout to send such an update message rather than
sending it every time before sleep.

Logical walreceiver sends a feedback when walrcv_eceive() doesn't
receive a byte. If its' not good that pg_recvlogical does the same
thing, do we need to improve logical walsender's behavior as well?

For the clarity, only the change in the walsender side can stop the
flood.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

--
--
*Abbas*
Senior Architect

Ph: 92.334.5100153
Skype ID: gabbasb
edbpostgres.com

*Follow us on Twitter*
@EnterpriseDB

#8Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Abbas Butt (#7)
Re: Logical replication keepalive flood

Hi.

On 2021/06/08 21:21, Abbas Butt wrote:

Hi Kyotaro,
I have tried to test your patches. Unfortunately even after applying the
patches
the WAL Sender is still sending too frequent keepalive messages.

Sorry for the bogus patch.  I must have seen something impossible.

The keep-alive packet is immediately flushed explicitly, so Amit is
right that no additional

pq_flush_if_writable() is not needed.

In my opinion the fix is to make sure that wal_sender_timeout/2 has passed
before sending
the keepalive message in the code fragment I had shared earlier.
In other words we should replace the call to
WalSndKeepalive(false);
with
WalSndKeepaliveIfNecessary(false);

Do you agree with the suggested fix?

I'm afraid not. The same is done just after unconditionally.

The issue - if actually it is - we send a keep-alive packet before a
quite short sleep.

We really want to send it if the sleep gets long but we cannot predict
that before entering a sleep.

Let me think a little more on this..

regards.

#9Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Kyotaro Horiguchi (#8)
Re: Logical replication keepalive flood

At Wed, 9 Jun 2021 11:21:55 +0900, Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in

The issue - if actually it is - we send a keep-alive packet before a
quite short sleep.

We really want to send it if the sleep gets long but we cannot predict
that before entering a sleep.

Let me think a little more on this..

After some investigation, I find out that the keepalives are sent
almost always after XLogSendLogical requests for the *next* record. In
most of the cases the record is not yet inserted at the request time
but insertd very soon (in 1-digit milliseconds). It doesn't seem to be
expected that that happens with such a high frequency when
XLogSendLogical is keeping up-to-date with the bleeding edge of WAL
records.

It is completely unpredictable when the next record comes, so we
cannot decide whether to send a keepalive or not at the current
timing.

Since we want to send a keepalive when we have nothing to send for a
while, it is a bit different to keep sending keepalives at some
intervals while the loop is busy.

As a possible solution, the attached patch splits the sleep into two
pieces. If the first sleep reaches the timeout then send a keepalive
then sleep for the remaining time. The first timeout is quite
arbitrary but keepalive of 4Hz at maximum doesn't look so bad to me.

Is it acceptable?

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachments:

reduce_idle_time_keepalive_on_logrep_PoC1.patchtext/x-patch; charset=us-asciiDownload+43-17
#10Amit Kapila
amit.kapila16@gmail.com
In reply to: Kyotaro Horiguchi (#9)
Re: Logical replication keepalive flood

On Wed, Jun 9, 2021 at 1:47 PM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:

At Wed, 9 Jun 2021 11:21:55 +0900, Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in

The issue - if actually it is - we send a keep-alive packet before a
quite short sleep.

We really want to send it if the sleep gets long but we cannot predict
that before entering a sleep.

Let me think a little more on this..

After some investigation, I find out that the keepalives are sent
almost always after XLogSendLogical requests for the *next* record.

Does these keepalive messages are sent at the same frequency even for
subscribers? Basically, I wanted to check if we have logical
replication set up between 2 nodes then do we send these keep-alive
messages flood? If not, then why is it different in the case of
pg_recvlogical? Is it possible that the write/flush location is not
updated at the pace at which we expect? Please see commit 41d5f8ad73
which seems to be talking about a similar problem.

--
With Regards,
Amit Kapila.

#11Abbas Butt
abbas.butt@enterprisedb.com
In reply to: Amit Kapila (#10)
Re: Logical replication keepalive flood

Hi,

On Wed, Jun 9, 2021 at 2:30 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

On Wed, Jun 9, 2021 at 1:47 PM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:

At Wed, 9 Jun 2021 11:21:55 +0900, Kyotaro Horiguchi <

horikyota.ntt@gmail.com> wrote in

The issue - if actually it is - we send a keep-alive packet before a
quite short sleep.

We really want to send it if the sleep gets long but we cannot predict
that before entering a sleep.

Let me think a little more on this..

After some investigation, I find out that the keepalives are sent
almost always after XLogSendLogical requests for the *next* record.

Does these keepalive messages are sent at the same frequency even for
subscribers?

Yes, I have tested it with one publisher and one subscriber.
The moment I start pgbench session I can see keepalive messages sent and
replied by the subscriber with same frequency.

Basically, I wanted to check if we have logical
replication set up between 2 nodes then do we send these keep-alive
messages flood?

Yes we do.

If not, then why is it different in the case of
pg_recvlogical?

Nothing, the WAL sender behaviour is same in both cases.

Is it possible that the write/flush location is not
updated at the pace at which we expect?

Well, it is async replication. The receiver can choose to update LSNs at
its own will, say after 10 mins interval.
It should only impact the size of WAL retained by the server.

Please see commit 41d5f8ad73

which seems to be talking about a similar problem.

That commit does not address this problem.

--
With Regards,
Amit Kapila.

--
--
*Abbas*
Senior Architect

Ph: 92.334.5100153
Skype ID: gabbasb
edbpostgres.com

*Follow us on Twitter*
@EnterpriseDB

#12Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Abbas Butt (#11)
Re: Logical replication keepalive flood

At Wed, 9 Jun 2021 17:32:25 +0500, Abbas Butt <abbas.butt@enterprisedb.com> wrote in

On Wed, Jun 9, 2021 at 2:30 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

Does these keepalive messages are sent at the same frequency even for
subscribers?

Yes, I have tested it with one publisher and one subscriber.
The moment I start pgbench session I can see keepalive messages sent and
replied by the subscriber with same frequency.

Basically, I wanted to check if we have logical
replication set up between 2 nodes then do we send these keep-alive
messages flood?

Yes we do.

If not, then why is it different in the case of
pg_recvlogical?

Nothing, the WAL sender behaviour is same in both cases.

Is it possible that the write/flush location is not
updated at the pace at which we expect?

Yes. MyWalSnd->flush/write are updated far frequently but still
MyWalSnd->write is behind sentPtr by from thousands of bytes up to
less than 1 block (1block = 8192 bytes). (Flush lags are larger than
write lags, of course.)

I counted how many times keepalives are sent for each request length
to logical_read_xlog_page() for 10 seconds pgbench run and replicating
pgbench_history, using the attached change.

size: sent /notsent/ calls: write lag/ flush lag
8: 3 / 6 / 3: 5960 / 348962
16: 1 / 2 / 1: 520 / 201096
24: 2425 / 4852 / 2461: 5259 / 293569
98: 2 / 0 / 54: 5 / 1050
187: 2 / 0 / 94: 0 / 1060
4432: 1 / 0 / 1: 410473592 / 410473592
7617: 2 / 0 / 27: 317 / 17133
8280: 1 / 2 / 4: 390 / 390

Where,

size is requested data length to logical_read_xlog_page()

sent is the number of keepalives sent in the loop in WalSndWaitForWal

notsent is the number of runs of the loop in WalSndWaitForWal without
sending a keepalive

calls is the number of calls to WalSndWaitForWal

write lag is the bytes MyWalSnd->write is behind from sentPtr at the
first run of the loop per call to logical_read_xlog_page.

flush lag is the the same to the above for MyWalSnd->flush.

Maybe the line of size=4432 is the first time fetch of WAL.

So this numbers show that WalSndWaitForWal is called almost only at
starting to fetching a record, and in that case the function runs the
loop three times and sends one keepalive by average.

Well, it is async replication. The receiver can choose to update LSNs at
its own will, say after 10 mins interval.
It should only impact the size of WAL retained by the server.

Please see commit 41d5f8ad73

which seems to be talking about a similar problem.

That commit does not address this problem.

Yeah, at least for me, WalSndWaitForWal send a keepalive per one call.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachments:

count_keepalives.diff.txttext/plain; charset=us-asciiDownload+65-0
#13Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Kyotaro Horiguchi (#12)
Re: Logical replication keepalive flood

At Thu, 10 Jun 2021 15:00:16 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in

At Wed, 9 Jun 2021 17:32:25 +0500, Abbas Butt <abbas.butt@enterprisedb.com> wrote in

On Wed, Jun 9, 2021 at 2:30 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

Is it possible that the write/flush location is not
updated at the pace at which we expect?

Yes. MyWalSnd->flush/write are updated far frequently but still
MyWalSnd->write is behind sentPtr by from thousands of bytes up to
less than 1 block (1block = 8192 bytes). (Flush lags are larger than
write lags, of course.)

For more clarity, I changed the previous patch a bit and retook numbers.

Total records: 19476
8: 2 / 4 / 2: 4648 / 302472
16: 5 / 10 / 5: 5427 / 139872
24: 3006 / 6015 / 3028: 4739 / 267215
187: 2 / 0 / 50: 1 / 398

While a 10 seconds run of pgbench, it walsender reads 19476 records
and calls logical_read_xlog_page() 3028 times, and the mean of write
lag is 4739 bytes and flush lag is 267215 bytes (really?), as the
result most of the record fetch causes a keep alive. (The WAL contains
many FPIs).

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachments:

count_keepalives2.diff.txttext/plain; charset=us-asciiDownload+71-0
#14Amit Kapila
amit.kapila16@gmail.com
In reply to: Kyotaro Horiguchi (#13)
Re: Logical replication keepalive flood

On Thu, Jun 10, 2021 at 11:42 AM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:

At Thu, 10 Jun 2021 15:00:16 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in

At Wed, 9 Jun 2021 17:32:25 +0500, Abbas Butt <abbas.butt@enterprisedb.com> wrote in

On Wed, Jun 9, 2021 at 2:30 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

Is it possible that the write/flush location is not
updated at the pace at which we expect?

Yes. MyWalSnd->flush/write are updated far frequently but still
MyWalSnd->write is behind sentPtr by from thousands of bytes up to
less than 1 block (1block = 8192 bytes). (Flush lags are larger than
write lags, of course.)

For more clarity, I changed the previous patch a bit and retook numbers.

Total records: 19476
8: 2 / 4 / 2: 4648 / 302472
16: 5 / 10 / 5: 5427 / 139872
24: 3006 / 6015 / 3028: 4739 / 267215
187: 2 / 0 / 50: 1 / 398

While a 10 seconds run of pgbench, it walsender reads 19476 records
and calls logical_read_xlog_page() 3028 times, and the mean of write
lag is 4739 bytes and flush lag is 267215 bytes (really?), as the
result most of the record fetch causes a keep alive. (The WAL contains
many FPIs).

Good analysis. I think this analysis has shown that walsender is
sending messages at top speed as soon as they are generated. So, I am
wondering why there is any need to wait/sleep in such a workload. One
possibility that occurred to me RecentFlushPtr is not updated and or
we are not checking it aggressively. To investigate on that lines, can
you check the behavior with the attached patch? This is just a quick
hack patch to test whether we need to really wait for WAL a bit
aggressively.

--
With Regards,
Amit Kapila.

Attachments:

walsnd_check_wait_required_1.patchapplication/octet-stream; name=walsnd_check_wait_required_1.patchDownload+8-4
#15Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Amit Kapila (#14)
Re: Logical replication keepalive flood

At Thu, 10 Jun 2021 12:18:00 +0530, Amit Kapila <amit.kapila16@gmail.com> wrote in

Good analysis. I think this analysis has shown that walsender is
sending messages at top speed as soon as they are generated. So, I am
wondering why there is any need to wait/sleep in such a workload. One
possibility that occurred to me RecentFlushPtr is not updated and or
we are not checking it aggressively. To investigate on that lines, can
you check the behavior with the attached patch? This is just a quick
hack patch to test whether we need to really wait for WAL a bit
aggressively.

Yeah, anyway the comment for the caller site of WalSndKeepalive tells
that exiting out of the function *after* there is somewhat wrong.

* possibly are waiting for a later location. So, before sleeping, we
* send a ping containing the flush location. If the receiver is

But I nothing changed by moving the keepalive check to after the exit
check. (loc <= RecentFlushPtr).

And the patch also doesn't change the situation so much. The average
number of loops is reduced from 3 to 2 per call but the ratio between
total records and keepalives doesn't change.

previsous: A=#total-rec = 19476, B=#keepalive=3006, B/A = 0.154
this time: A=#total-rec = 13208, B=#keepalive=1988, B/A = 0.151

Total records: 13208
reqsz: #sent/ #!sent/ #call: wr lag / fl lag
8: 4 / 4 / 4: 6448 / 268148
16: 1 / 1 / 1: 8688 / 387320
24: 1988 / 1987 / 1999: 6357 / 226163
195: 1 / 0 / 20: 408 / 1647
7477: 2 / 0 / 244: 68 / 847
8225: 1 / 1 / 1: 7208 / 7208

So I checked how many bytes RecentFlushPtr is behind requested loc if
it is not advanced enough.

Total records: 15128
reqsz: #sent/ #!sent/ #call: wr lag / fl lag / RecentFlushPtr lag
8: 2 / 2 / 2: 520 / 60640 / 8
16: 1 / 1 / 1: 8664 / 89336 / 16
24: 2290 / 2274 / 2302: 5677 / 230583 / 23
187: 1 / 0 / 40: 1 / 6118 / 1
7577: 1 / 0 / 69: 120 / 3733 / 65
8177: 1 / 1 / 1: 8288 / 8288 / 2673

So it's not a matter of RecentFlushPtr check. (Almost) Always when
WalSndWakeupRequest feels to need to send a keepalive, the function is
called before the record begins to be written.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

#16Amit Kapila
amit.kapila16@gmail.com
In reply to: Kyotaro Horiguchi (#15)
Re: Logical replication keepalive flood

On Fri, Jun 11, 2021 at 7:07 AM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:

At Thu, 10 Jun 2021 12:18:00 +0530, Amit Kapila <amit.kapila16@gmail.com> wrote in

Good analysis. I think this analysis has shown that walsender is
sending messages at top speed as soon as they are generated. So, I am
wondering why there is any need to wait/sleep in such a workload. One
possibility that occurred to me RecentFlushPtr is not updated and or
we are not checking it aggressively. To investigate on that lines, can
you check the behavior with the attached patch? This is just a quick
hack patch to test whether we need to really wait for WAL a bit
aggressively.

Yeah, anyway the comment for the caller site of WalSndKeepalive tells
that exiting out of the function *after* there is somewhat wrong.

* possibly are waiting for a later location. So, before sleeping, we
* send a ping containing the flush location. If the receiver is

But I nothing changed by moving the keepalive check to after the exit
check. (loc <= RecentFlushPtr).

And the patch also doesn't change the situation so much. The average
number of loops is reduced from 3 to 2 per call but the ratio between
total records and keepalives doesn't change.

previsous: A=#total-rec = 19476, B=#keepalive=3006, B/A = 0.154
this time: A=#total-rec = 13208, B=#keepalive=1988, B/A = 0.151

Total records: 13208
reqsz: #sent/ #!sent/ #call: wr lag / fl lag
8: 4 / 4 / 4: 6448 / 268148
16: 1 / 1 / 1: 8688 / 387320
24: 1988 / 1987 / 1999: 6357 / 226163
195: 1 / 0 / 20: 408 / 1647
7477: 2 / 0 / 244: 68 / 847
8225: 1 / 1 / 1: 7208 / 7208

So I checked how many bytes RecentFlushPtr is behind requested loc if
it is not advanced enough.

Total records: 15128
reqsz: #sent/ #!sent/ #call: wr lag / fl lag / RecentFlushPtr lag
8: 2 / 2 / 2: 520 / 60640 / 8
16: 1 / 1 / 1: 8664 / 89336 / 16
24: 2290 / 2274 / 2302: 5677 / 230583 / 23
187: 1 / 0 / 40: 1 / 6118 / 1
7577: 1 / 0 / 69: 120 / 3733 / 65
8177: 1 / 1 / 1: 8288 / 8288 / 2673

Does this data indicate that when the request_size is 187 or 7577,
even though we have called WalSndWaitForWal() 40 and 69 times
respectively but keepalive is sent just once? Why such a behavior
should depend upon request size?

So it's not a matter of RecentFlushPtr check. (Almost) Always when
WalSndWakeupRequest feels to need to send a keepalive, the function is
called before the record begins to be written.

I think we always wake up walsender after we have flushed the WAL via
WalSndWakeupProcessRequests(). I think here the reason why we are
seeing keepalives is that we always send it before sleeping. So, it
seems each time we try to read a new page, we call WalSndWaitForWal
which sends at least one keepalive message. I am not sure what is an
appropriate way to reduce the frequency of these keepalive messages.
Andres might have some ideas?

--
With Regards,
Amit Kapila.

#17Peter Smith
smithpb2250@gmail.com
In reply to: Amit Kapila (#16)
Re: Logical replication keepalive flood

Hi.

By using Kyotaro's "counting" patch I was able to reproduce very
similar results to what he had earlier posted [1]/messages/by-id/20210610.150016.1709823354377067679.horikyota.ntt@gmail.com.

AFAIK I have the same test scenario that he was using.

Test setup:
- using async pub/sub
- subscription is for the pgbench_history table
- pgbench is run for 10 seconds
- config for all the wal_sender/receiver timeout GUCs are just default values

Results (HEAD + Kyotaro counting patch)
=======================================

[postgres@CentOS7-x64 ~]$ 2021-08-10 16:36:23.733 AEST [32436] LOG:
Total records: 18183
2021-08-10 16:36:23.733 AEST [32436] LOG: 8: 2 / 0 /
1: 440616 / 580320
2021-08-10 16:36:23.733 AEST [32436] LOG: 16: 4 / 8 /
4: 4524 / 288688
2021-08-10 16:36:23.733 AEST [32436] LOG: 24: 2916 / 5151 /
2756: 31227 / 323190
2021-08-10 16:36:23.733 AEST [32436] LOG: 187: 2 / 0 /
51: 157 / 10629
2021-08-10 16:36:23.733 AEST [32436] LOG: 2960: 1 / 0 /
1: 49656944 / 49656944
2021-08-10 16:36:23.733 AEST [32436] LOG: 7537: 2 / 0 /
36: 231 / 7028
2021-08-10 16:36:23.733 AEST [32436] LOG: 7577: 1 / 2 /
78: 106 / 106
2021-08-10 16:36:23.733 AEST [32436] LOG: 8280: 1 / 2 /
3: 88 / 88

//////

That base data is showing there are similar numbers of keepalives sent
as there are calls made to WalSndWaitForWal. IIUC it means that mostly
the loop is sending the special keepalives on the *first* iteration,
but by the time of the *second* iteration the ProcessRepliesIfAny()
will have some status already received, and so mostly sending another
keepalive will be deemed unnecessary.

Based on this, our idea was to simply skip sending the
WalSndKeepalive(false) for the FIRST iteration of the loop only! PSA
the patch 0002 which does this skip.

With this skip patch (v1-0002) applied the same pgbench tests were run
again. The results look like below.

Results (HEAD + Kyotaro patch + Skip-first keepalive patch)
===========================================================

RUN #1
------
[postgres@CentOS7-x64 ~]$ 2021-08-11 16:32:59.827 AEST [20339] LOG:
Total records: 19367
2021-08-11 16:32:59.827 AEST [20339] LOG: 24: 10 / 9232 /
3098: 19 / 440
2021-08-11 16:32:59.827 AEST [20339] LOG: 102: 1 / 1 /
32: 257 / 16828
2021-08-11 16:32:59.827 AEST [20339] LOG: 187: 1 / 1 /
52: 155 / 9541

RUN #2
------
[postgres@CentOS7-x64 ~]$ 2021-08-11 16:36:03.983 AEST [25513] LOG:
Total records: 17815
2021-08-11 16:36:03.983 AEST [25513] LOG: 24: 73 / 8683 /
2958: 1647 / 3290
2021-08-11 16:36:03.983 AEST [25513] LOG: 8280: 1 / 1 /
3: 88 / 88

RUN #3
------
[postgres@CentOS7-x64 ~]$ 2021-08-11 16:39:27.655 AEST [31061] LOG:
Total records: 19906
2021-08-11 16:39:27.655 AEST [31061] LOG: 24: 18 / 8546 /
2890: 61 / 1530
2021-08-11 16:39:27.655 AEST [31061] LOG: 83: 1 / 3 /
1: 8664 / 8664

~~

This data shows the special keepalives are now greatly reduced from
1000s to just 10s.

Thoughts?

------
[1]: /messages/by-id/20210610.150016.1709823354377067679.horikyota.ntt@gmail.com

Kind Regards,
Peter Smith.
Fujitsu Australia

Attachments:

v1-0002-WIP-skip-the-keepalive-on-FIRST-loop-iteration.patchapplication/octet-stream; name=v1-0002-WIP-skip-the-keepalive-on-FIRST-loop-iteration.patchDownload+4-2
v1-0001-WIP-count-keepalives-by-Kyotaro.patchapplication/octet-stream; name=v1-0001-WIP-count-keepalives-by-Kyotaro.patchDownload+72-1
#18Peter Smith
smithpb2250@gmail.com
In reply to: Peter Smith (#17)
Re: Logical replication keepalive flood

FYI - Here are some more counter results with/without the skip patch
[1]: /messages/by-id/CAHut+PtyMBzweYUpb_QazVL6Uze2Yc5M5Ti2Xwee_eWM3Jrbog@mail.gmail.com

This is the same test setup as before except now using *synchronous* pub/sub.

//////////

Test setup:
- using synchronous pub/sub
- subscription is for the pgbench_history table
- pgbench is run for 10 seconds
- config for all the wal_sender/receiver timeout GUCs are just default values

WITHOUT the skip-first patch applied
=====================================

RUN #1
------
LOG: Total records: 310
LOG: 24: 49 / 131 / 49: 8403 / 9270
LOG: 944: 1 / 0 / 1: 159693904 / 159693904
LOG: 8280: 1 / 2 / 2: 480 / 480

RUN #2
------
LOG: Total records: 275
LOG: 24: 45 / 129 / 46: 8580 / 8766
LOG: 5392: 1 / 0 / 1: 160107248 / 160107248

RUN #3
------
LOG: Total records: 330
LOG: 24: 50 / 144 / 51: 8705 / 8705
LOG: 3704: 1 / 0 / 1: 160510344 / 160510344
LOG: 8280: 1 / 2 / 2: 468 / 468

WITH the skip-first patch applied
=================================

RUN #1
------
LOG: Total records: 247
LOG: 24: 5 / 172 / 44: 3601700 / 3601700
LOG: 8280: 1 / 1 / 1: 1192 / 1192

RUN #2
------
LOG: Total records: 338
LOG: 24: 8 / 199 / 55: 1335 / 1335
LOG: 7597: 1 / 1 / 1: 11712 / 11712
LOG: 8280: 1 / 1 / 2: 480 / 480

RUN #3
------
LOG: Total records: 292
LOG: 24: 4 / 184 / 49: 719 / 719

//////////

As before there is a big % reduction of keepalives after the patch,
except here there was never really much of a "flood" in the first
place.

------
[1]: /messages/by-id/CAHut+PtyMBzweYUpb_QazVL6Uze2Yc5M5Ti2Xwee_eWM3Jrbog@mail.gmail.com

Kind Regards,
Peter Smith.
Fujitsu Australia

#19Greg Nancarrow
gregn4422@gmail.com
In reply to: Peter Smith (#17)
Re: Logical replication keepalive flood

On Thu, Aug 12, 2021 at 12:33 PM Peter Smith <smithpb2250@gmail.com> wrote:

This data shows the special keepalives are now greatly reduced from
1000s to just 10s.

Thoughts?

I could easily see the flood of keepalives with the test setup
described by the original problem reporter (Abbas Butt).
I found that the
"v1-0002-WIP-skip-the-keepalive-on-FIRST-loop-iteration.patch" patch
reduced the keepalives by about 50% in this case.
I also tried the pub/sub setup with the publication on the
pgbench_history table.
With this pub/sub setup, I found that the patch dramatically reduced
the keepalives sent, similar to that reported by Peter.
Results (using Kyotoro’s keepalive counting patch) are below:

PUB/SUB, publishing the pgbench_history table

(1) without patch, 10s pgbench run:

2021-09-08 15:21:56.643 AEST [63720] LOG: Total records: 47019
2021-09-08 15:21:56.643 AEST [63720] LOG: 8: 8 / 16 /
8: 8571 / 882048
2021-09-08 15:21:56.643 AEST [63720] LOG: 16: 5 / 10 /
5: 3649 / 764892
2021-09-08 15:21:56.643 AEST [63720] LOG: 24: 6271 / 12561 /
6331: 113989 / 886115
2021-09-08 15:21:56.643 AEST [63720] LOG: 195: 2 / 0 /
112: 72 / 10945
2021-09-08 15:21:56.643 AEST [63720] LOG: 6856: 1 / 0 /
1: 666232176 / 666232176
2021-09-08 15:21:56.643 AEST [63720] LOG: 7477: 2 / 0 /
298: 27 / 3303
2021-09-08 15:21:56.643 AEST [63720] LOG: 8159: 19 / 32 /
6073: 15 / 1869

(2) with patch, 10s pgbench run

2021-09-08 15:39:14.008 AEST [71431] LOG: Total records: 45858
2021-09-08 15:39:14.008 AEST [71431] LOG: 24: 61 / 18278 /
6168: 108034 / 115228
2021-09-08 15:39:14.008 AEST [71431] LOG: 84: 1 / 1 /
7: 2256 / 295230
2021-09-08 15:39:14.008 AEST [71431] LOG: 110: 1 / 1 /
3: 10629 / 708293
2021-09-08 15:39:14.008 AEST [71431] LOG: 7477: 18 / 18 /
4577: 53 / 7850

Where columns are:

size: sent /notsent/ calls: write lag/ flush lag

- size is requested data length to logical_read_xlog_page()
- sent is the number of keepalives sent in the loop in WalSndWaitForWal
- notsent is the number of runs of the loop in WalSndWaitForWal
without sending a keepalive
- calls is the number of calls to WalSndWaitForWal
- write lag is the bytes MyWalSnd->write is behind from sentPtr at the
first run of the loop per call to logical_read_xlog_page.
- flush lag is the same as the above, but for MyWalSnd->flush.

However, the problem I found is that, with the patch applied, there is
a test failure when running “make check-world”:

t/006_logical_decoding.pl ............ 4/14
# Failed test 'pg_recvlogical acknowledged changes'
# at t/006_logical_decoding.pl line 117.
# got: 'BEGIN
# table public.decoding_test: INSERT: x[integer]:5 y[text]:'5''
# expected: ''
# Looks like you failed 1 test of 14.
t/006_logical_decoding.pl ............ Dubious, test returned 1 (wstat
256, 0x100) Failed 1/14 subtests

To investigate this, I added some additional logging to
pg_recvlogical.c and PostgresNode.pm and re-ran
006_logical_decoding.pl without and with the patch (logs attached).

When the patch is NOT applied, and when pg_recvlogical is invoked by
the test for a 2nd time with the same "--endpos" LSN, it gets a
keepalive, detects walEnd>=endpos, and thus returns an empty record.
The test is expecting an empty record, so all is OK.
When the patch is applied, and when pg_recvlogical is invoked by the
test for a 2nd time with the same "--endpos" LSN, it gets a WAL record
with THE SAME LSN (== endpos) as previously obtained by the last WAL
record when it was invoked the 1st time, but the record data is
actually the first row of some records written after endpos, that it
wasn't meant to read.
This doesn't seem right to me - how can pg_recvlogical receive two
different WAL records with the same LSN?
With the patch applied, I was expecting pg_reclogical to get WAL
records with LSN>endpos, but this doesn't happen.
I'm thinking that the patch must have broken walsender in some way,
possibly by missing out on calls to ProcessStandbyReplyMessage()
because the sending of some keepalives are avoided (see below), so
that the MyWalSnd flush and write location are not kept up-to-date.
The code comments below seem to hint about this. I don't really like
the way keepalives are used for this, but this seems to be the
existing functionality. Maybe someone else can confirm that this could
indeed break walsender?

walsender.c
WalSndWaitForWal()

/*
* We only send regular messages to the client for full decoded
* transactions, but a synchronous replication and walsender shutdown
* possibly are waiting for a later location. So, before sleeping, we
* send a ping containing the flush location. If the receiver is
* otherwise idle, this keepalive will trigger a reply. Processing the
* reply will update these MyWalSnd locations.
*/
if (!loop_first_time && /* avoid keepalive on first iteration
*/ <--- added by the patch
MyWalSnd->flush < sentPtr &&
MyWalSnd->write < sentPtr &&
!waiting_for_ping_response)
{
WalSndKeepalive(false);

Regards,
Greg Nancarrow
Fujitsu Australia

Attachments:

006_logs.tar.gzapplication/x-gzip; name=006_logs.tar.gzDownload
#20Zhijie Hou (Fujitsu)
houzj.fnst@fujitsu.com
In reply to: Greg Nancarrow (#19)
RE: Logical replication keepalive flood

From Tuesday, September 14, 2021 1:39 PM Greg Nancarrow <gregn4422@gmail.com> wrote:

However, the problem I found is that, with the patch applied, there is
a test failure when running “make check-world”:

t/006_logical_decoding.pl ............ 4/14
# Failed test 'pg_recvlogical acknowledged changes'
# at t/006_logical_decoding.pl line 117.
# got: 'BEGIN
# table public.decoding_test: INSERT: x[integer]:5 y[text]:'5''
# expected: ''
# Looks like you failed 1 test of 14.
t/006_logical_decoding.pl ............ Dubious, test returned 1 (wstat
256, 0x100) Failed 1/14 subtests

After applying the patch,
I saw the same problem and can reproduce it by the following steps:

1) execute the SQLs.
-----------SQL-----------
CREATE TABLE decoding_test(x integer, y text);
SELECT pg_create_logical_replication_slot('test_slot', 'test_decoding');
INSERT INTO decoding_test(x,y) SELECT s, s::text FROM generate_series(1,4) s;

-- use the lsn here to execute pg_recvlogical later
SELECT lsn FROM pg_logical_slot_peek_changes('test_slot', NULL, NULL) ORDER BY lsn DESC LIMIT 1;
INSERT INTO decoding_test(x,y) SELECT s, s::text FROM generate_series(5,50) s;
----------------------

2) Then, if I execute the following command twice:
# pg_recvlogical -E lsn -d postgres -S 'test_slot' --start --no-loop -f -
BEGIN 708
table public.decoding_test: INSERT: x[integer]:1 y[text]:'1'
table public.decoding_test: INSERT: x[integer]:2 y[text]:'2'
table public.decoding_test: INSERT: x[integer]:3 y[text]:'3'
table public.decoding_test: INSERT: x[integer]:4 y[text]:'4'
COMMIT 708

# pg_recvlogical -E lsn -d postgres -S 'test_slot' --start --no-loop -f -
BEGIN 709

It still generated ' BEGIN 709' in the second time execution.
But it will output nothing in the second time execution without the patch.

Best regards,
Hou zj

#21Amit Kapila
amit.kapila16@gmail.com
In reply to: Zhijie Hou (Fujitsu) (#20)
#22Amit Kapila
amit.kapila16@gmail.com
In reply to: Peter Smith (#17)
#23Zhijie Hou (Fujitsu)
houzj.fnst@fujitsu.com
In reply to: Amit Kapila (#21)
#24Peter Smith
smithpb2250@gmail.com
In reply to: Zhijie Hou (Fujitsu) (#20)
#25Amit Kapila
amit.kapila16@gmail.com
In reply to: Peter Smith (#24)
#26Greg Nancarrow
gregn4422@gmail.com
In reply to: Amit Kapila (#21)
#27Amit Kapila
amit.kapila16@gmail.com
In reply to: Greg Nancarrow (#26)
#28Greg Nancarrow
gregn4422@gmail.com
In reply to: Amit Kapila (#27)
#29Amit Kapila
amit.kapila16@gmail.com
In reply to: Kyotaro Horiguchi (#12)
#30Greg Nancarrow
gregn4422@gmail.com
In reply to: Amit Kapila (#29)
#31Greg Nancarrow
gregn4422@gmail.com
In reply to: Kyotaro Horiguchi (#12)
#32Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Greg Nancarrow (#30)
#33Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Greg Nancarrow (#31)
#34Greg Nancarrow
gregn4422@gmail.com
In reply to: Kyotaro Horiguchi (#33)
#35Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Kyotaro Horiguchi (#33)
#36Amit Kapila
amit.kapila16@gmail.com
In reply to: Kyotaro Horiguchi (#32)
#37Amit Kapila
amit.kapila16@gmail.com
In reply to: Kyotaro Horiguchi (#35)
#38Greg Nancarrow
gregn4422@gmail.com
In reply to: Kyotaro Horiguchi (#32)
#39Kyotaro Horiguchi
horikyota.ntt@gmail.com
In reply to: Amit Kapila (#36)