Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30FDF10E52 for ; Thu, 27 Aug 2015 14:47:46 +0000 (UTC) Received: (qmail 51966 invoked by uid 500); 27 Aug 2015 14:47:46 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 51933 invoked by uid 500); 27 Aug 2015 14:47:46 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 51922 invoked by uid 99); 27 Aug 2015 14:47:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2015 14:47:45 +0000 Date: Thu, 27 Aug 2015 14:47:45 +0000 (UTC) From: "Xianyin Xin (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4090) Make Collections.sort() more efficient in FSParentQueue.java MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14716785#comment-14716785 ] Xianyin Xin commented on YARN-4090: ----------------------------------- We should also pay attention to the ReadLock.lock() and unlock() in the first img which cost much time. > Make Collections.sort() more efficient in FSParentQueue.java > ------------------------------------------------------------ > > Key: YARN-4090 > URL: https://issues.apache.org/jira/browse/YARN-4090 > Project: Hadoop YARN > Issue Type: Improvement > Components: fairscheduler > Reporter: Xianyin Xin > Attachments: sampling1.jpg, sampling2.jpg > > > Collections.sort() consumes too much time in a scheduling round. -- This message was sent by Atlassian JIRA (v6.3.4#6332)