hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7397) Reduce lock contention in FairScheduler#getAppWeight()
Date Sat, 28 Oct 2017 16:11:01 GMT

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

Daniel Templeton commented on YARN-7397:

It's not exactly straightforward to untangle that because of {{sizeBasedWeight}}.  I'll file
another JIRA for it.

> 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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message