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 6B2CE107D8 for ; Tue, 15 Oct 2013 02:14:44 +0000 (UTC) Received: (qmail 18375 invoked by uid 500); 15 Oct 2013 02:14:43 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 18289 invoked by uid 500); 15 Oct 2013 02:14:42 -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 18280 invoked by uid 99); 15 Oct 2013 02:14:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 02:14:42 +0000 Date: Tue, 15 Oct 2013 02:14:42 +0000 (UTC) From: "Sandy Ryza (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1290) Let continuous scheduling achieve more balanced task assignment 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-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794788#comment-13794788 ] Sandy Ryza commented on YARN-1290: ---------------------------------- I was concerned that the sort would have a performance impact, but ran it through a container assigning microbenchmark with 1000 nodes and didn't see an significant effect. +1 > Let continuous scheduling achieve more balanced task assignment > --------------------------------------------------------------- > > Key: YARN-1290 > URL: https://issues.apache.org/jira/browse/YARN-1290 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Wei Yan > Assignee: Wei Yan > Attachments: main.pdf, YARN-1290.patch, YARN-1290.patch, YARN-1290.patch > > > Currently, in continuous scheduling (YARN-1010), in each round, the thread iterates over pre-ordered nodes and assigns tasks. This mechanism may overload the first several nodes, while the latter nodes have no tasks. > We should sort all nodes according to available resource. In each round, always assign tasks to nodes with larger capacity, which can balance the load distribution among all nodes. -- This message was sent by Atlassian JIRA (v6.1#6144)