[ 
https://issues.apache.org/jira/browse/HDFS-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12849332#action_12849332
 ] 

Bharath Mundlapudi commented on HDFS-1061:
------------------------------------------

A small correction and additional note for my comment above, ext4 uses 48 bit 
block addressing. I didn't want to assume power of n due to backward 
compatibility reasons since we don't know how hadoop customers are using 
preferred block size so far.


> 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.

Reply via email to