Nico Kruber created FLINK-10141:
-----------------------------------

             Summary: Reduce lock contention introduced with 1.5
                 Key: FLINK-10141
                 URL: https://issues.apache.org/jira/browse/FLINK-10141
             Project: Flink
          Issue Type: Bug
          Components: Network
    Affects Versions: 1.6.0, 1.5.2, 1.7.0
            Reporter: Nico Kruber
            Assignee: Nico Kruber


With the changes around introducing credit-based flow control as well as the 
low latency changes, unfortunately, we also introduced some lock contention on 
{{RemoteInputChannel#bufferQueue}} and {{RemoteInputChannel#receivedBuffers}} 
as well as some unnecessary reads of atomic booleans like 
{{inputChannel.isReleased()}} in some scenarios.

This was observed as a high idle CPU load with no events in the stream but only 
watermarks (every 500ms) and many slots on a single machine.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to