[ 
https://issues.apache.org/jira/browse/GEODE-9380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kamilla Aslami updated GEODE-9380:
----------------------------------
    Description: We noticed a 4-5x increase in the worst-case P2P send latency 
(most notably sendReplication) in 1.12 vs 1.8. Further analysis showed that the 
increase in sendReplicationTime is related to how long it takes to create the 
sender connection. More specifically, all the time spent creating the sender is 
in the handshake. Experiments with various sleep durations in 
NioSslEngine.handshake() method showed that this issue can be fixed by 
replacing both sleeps handshake() method with Thread.yield() calls.  (was: We 
noticed a 4-5x increase in the worst-case P2P send latency (most notably 
sendReplication) in 1.12 vs 1.8. Further analysis showed that the increase in 
sendReplicationTime is related to how long it takes to create the sender 
connection. More specifically, all the time spent creating the sender is in the 
handshake. Experiments with various sleep durarions in NioSslEngine.handshake() 
method showed that this issue can be fixed by replacing both sleeps handshake() 
method with Thread.yield() calls.)

> Replace sleep()s from Nio.SslEngine replace with yields
> -------------------------------------------------------
>
>                 Key: GEODE-9380
>                 URL: https://issues.apache.org/jira/browse/GEODE-9380
>             Project: Geode
>          Issue Type: Improvement
>          Components: membership
>            Reporter: Ernest Burghardt
>            Assignee: Kamilla Aslami
>            Priority: Major
>              Labels: pull-request-available
>
> We noticed a 4-5x increase in the worst-case P2P send latency (most notably 
> sendReplication) in 1.12 vs 1.8. Further analysis showed that the increase in 
> sendReplicationTime is related to how long it takes to create the sender 
> connection. More specifically, all the time spent creating the sender is in 
> the handshake. Experiments with various sleep durations in 
> NioSslEngine.handshake() method showed that this issue can be fixed by 
> replacing both sleeps handshake() method with Thread.yield() calls.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to