You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Daniel Templeton (JIRA)" <ji...@apache.org> on 2017/10/26 00:01:31 UTC
[jira] [Updated] (YARN-7397) Reduce lock contention in
FairScheduler#getAppWeight()
[ https://issues.apache.org/jira/browse/YARN-7397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Templeton updated YARN-7397:
-----------------------------------
Attachment: YARN-7397.001.patch
My testing shows about a 5% performance improvement from this patch.
> Reduce lock contention in FairScheduler#getAppWeight()
> ------------------------------------------------------
>
> Key: YARN-7397
> URL: https://issues.apache.org/jira/browse/YARN-7397
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: fairscheduler
> Affects Versions: 3.0.0-beta1
> Reporter: Daniel Templeton
> Assignee: Daniel Templeton
> Attachments: YARN-7397.001.patch
>
>
> In profiling the fair scheduler, a large amount of time is spent waiting to get the lock in {{FairScheduler.getAppWeight()}}, when the lock isn't actually needed. This patch reduces the scope of the lock to eliminate that contention.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org