Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 25110 invoked from network); 10 Apr 2007 01:12:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2007 01:12:54 -0000 Received: (qmail 56168 invoked by uid 500); 10 Apr 2007 01:12:59 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 56129 invoked by uid 500); 10 Apr 2007 01:12:59 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 56120 invoked by uid 99); 10 Apr 2007 01:12:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 18:12:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 18:12:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8756A714077 for ; Mon, 9 Apr 2007 18:12:32 -0700 (PDT) Message-ID: <8378230.1176167552550.JavaMail.jira@brutus> Date: Mon, 9 Apr 2007 18:12:32 -0700 (PDT) From: "Hairong Kuang (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1155) Additional performance improvement to chooseTarget In-Reply-To: <15571676.1174690832144.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hairong Kuang updated HADOOP-1155: ---------------------------------- Attachment: rackMap1.patch > Additional performance improvement to chooseTarget > -------------------------------------------------- > > Key: HADOOP-1155 > URL: https://issues.apache.org/jira/browse/HADOOP-1155 > Project: Hadoop > Issue Type: Improvement > Components: dfs > Affects Versions: 0.12.2 > Reporter: Hairong Kuang > Assigned To: Hairong Kuang > Fix For: 0.13.0 > > Attachments: rackMap.patch, rackMap1.patch > > > A few additional thoughts to improve the performance of chooseTarget: > 1. Reduce the # of calls to getDistance in sortedByDistance > 2. Improve the performance of getNode by adding a rack name to rack node map -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.