Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 12221 invoked from network); 3 Apr 2007 01:04:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2007 01:04:54 -0000 Received: (qmail 85993 invoked by uid 500); 3 Apr 2007 01:05:01 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 85761 invoked by uid 500); 3 Apr 2007 01:05:00 -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 85752 invoked by uid 99); 3 Apr 2007 01:05:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 18:05:00 -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, 02 Apr 2007 18:04:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 91701714066 for ; Mon, 2 Apr 2007 18:04:32 -0700 (PDT) Message-ID: <26220496.1175562272592.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 18:04:32 -0700 (PDT) From: "Raghu Angadi (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1149) DFS Scalability: high cpu usage in addStoredBlock In-Reply-To: <20257411.1174596752175.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-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raghu Angadi updated HADOOP-1149: --------------------------------- Attachment: HADOOP-1149.patch Dhruba, attached patch calls processOverReplicatedBloc() only if numCurReplica is larger than expected number. Also has couple of minor changes. Please review it and may you could use this patch in your test case. Thanks. > DFS Scalability: high cpu usage in addStoredBlock > ------------------------------------------------- > > Key: HADOOP-1149 > URL: https://issues.apache.org/jira/browse/HADOOP-1149 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: dhruba borthakur > Assigned To: Raghu Angadi > Attachments: HADOOP-1149.patch > > > I have seen addStoredBlock() consume lots of CPU. One possible cause is that it invokes proccessOverReplicatedBlock. The logic to find and purge over-replicated blocks can be done much less often. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.