Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 42399 invoked from network); 23 Mar 2010 01:13:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 01:13:48 -0000 Received: (qmail 95669 invoked by uid 500); 23 Mar 2010 01:13:48 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 95638 invoked by uid 500); 23 Mar 2010 01:13:48 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 95630 invoked by uid 99); 23 Mar 2010 01:13:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 01:13:48 +0000 X-ASF-Spam-Status: No, hits=-1101.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 01:13:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 444BA234C4A8 for ; Tue, 23 Mar 2010 01:13:27 +0000 (UTC) Message-ID: <2107445523.422541269306807278.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Mar 2010 01:13:27 +0000 (UTC) From: "Bharath Mundlapudi (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1061) Memory footprint optimization for INodeFile object. In-Reply-To: <680844895.417801269297689033.JavaMail.jira@brutus.apache.org> 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/HDFS-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848486#action_12848486 ] Bharath Mundlapudi commented on HDFS-1061: ------------------------------------------ At present, The shallow size of INodeFile object consumes 80 bytes on a 64bit JVM. There are couple of objects in NameNode which are in critical path for scalability of number of files. One of them is INodeFile object. Also, INodeFile objects are long lived and placed in tenure generation and as these objects grow in number can put more pressure on Garbage Collector. So reducing the size of INodeFile object has good number of benefits. > Memory footprint optimization for INodeFile object. > ---------------------------------------------------- > > Key: HDFS-1061 > URL: https://issues.apache.org/jira/browse/HDFS-1061 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Affects Versions: 0.22.0 > Reporter: Bharath Mundlapudi > Priority: Minor > Fix For: 0.22.0 > > > I am proposing a footprint optimization to merge blockReplication and preferredBlockSize fields into one 'long header' field in INodeFile class. This saves 8 bytes per INodeFile object on a 64 bit JVM. This memory optimization is transparent and changes are very minimal. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.