You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (Jira)" <ji...@apache.org> on 2020/06/02 16:06:00 UTC

[jira] [Updated] (KUDU-1790) "Master lookup permit" design wastes lots of reactor thread CPU

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

Grant Henke updated KUDU-1790:
------------------------------
    Labels: scalability  (was: )

> "Master lookup permit" design wastes lots of reactor thread CPU
> ---------------------------------------------------------------
>
>                 Key: KUDU-1790
>                 URL: https://issues.apache.org/jira/browse/KUDU-1790
>             Project: Kudu
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.1.0
>            Reporter: Todd Lipcon
>            Priority: Major
>              Labels: scalability
>         Attachments: fg.svg
>
>
> Looking at some stress tests, I see that the reactor thread is spending a significant percent of its CPU time in LookupRpc::SendRpcCb, and doing thousands of futex calls per second. It seems like the current approach of linear backoff of TryWait calls is not a good design, and we should probably do something less busy-wait-like to avoid this problem.



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