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

runzhiwang updated HDDS-3743:
-----------------------------
    Summary: Avoid NetUtils.normalize when get DatanodeDetails from proto  
(was: Improve OM performance with 4.83% by avoid NetUtils.normalize)

> Avoid NetUtils.normalize when get DatanodeDetails from proto
> ------------------------------------------------------------
>
>                 Key: HDDS-3743
>                 URL: https://issues.apache.org/jira/browse/HDDS-3743
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: runzhiwang
>            Assignee: runzhiwang
>            Priority: Major
>         Attachments: om.svg, screenshot-1.png
>
>
> I start a ozone cluster with 1000 datanodes, and run two weeks with heavy 
> workload, and perf om.
> You can find NetUtils.normalize cost 4.83% cpu, because it needs to do 
> Matcher.replaceAll, we need not to do this when getFromProtoBuf, scm can do 
> NetUtils.normalize and keep the result in memory, then pass the result to om.
>  !screenshot-1.png! 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to