[ 
https://issues.apache.org/jira/browse/YARN-7351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209661#comment-16209661
 ] 

Eric Yang commented on YARN-7351:
---------------------------------

[~jianhe] The patch reduces CPU usage, but increases memory consumption.  The 
thread spends more time on memory allocation, which can potentially trigger GC 
pause.  We might be able to throttle CPU usage by pausing for 50 milliseconds 
if there is no incoming DNS request.  The second patch illustrates the same 
goal can be obtained without creating memory pressure.

> High CPU usage issue in RegistryDNS
> -----------------------------------
>
>                 Key: YARN-7351
>                 URL: https://issues.apache.org/jira/browse/YARN-7351
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-7351.yarn-native-services.01.patch
>
>
> Thanks [~aw] for finding this issue.
> The current RegistryDNS implementation is always running on high CPU and 
> pretty much eats one core. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to