[
https://issues.apache.org/jira/browse/CASSANDRA-13090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15795381#comment-15795381
]
Corentin Chary commented on CASSANDRA-13090:
--------------------------------------------
I didn't intend to change the behavior of parkLoop(), in theory it should do
exactly the same as before. "limit" is just something that is almost like
"timer" but good enough if we reach it. "timer - (now = System.nanoTime()) >
nanos / 16" should be the same as "now < limit".
Network will not coalesce anything/much because we set TCP_NODELAY to 1.
> Coalescing strategy sleep too much
> ----------------------------------
>
> Key: CASSANDRA-13090
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13090
> Project: Cassandra
> Issue Type: Bug
> Components: Streaming and Messaging
> Reporter: Corentin Chary
> Fix For: 3.x
>
> Attachments: 0001-Fix-wait-time-coalescing-CASSANDRA-13090.patch
>
>
> With the current code maybeSleep is called even if we managed to take
> maxItems out of the backlog. In this case we should really avoid sleeping
> because it means that backlog is building up.
> I'll send a patch shortly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)