[ https://issues.apache.org/jira/browse/HDFS-14355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16794924#comment-16794924 ]
Rakesh R commented on HDFS-14355: --------------------------------- {quote}This property specifies the cache capactiy for both memory & pmem. We kept same behavior upon the specified cache capacity for pmem cache as that for memory cache. {quote} Please look at my above comment#8. As we know the existing code deals with only the OS page cache, but now adding pmem as well and requires special intelligence to manage the stats/overflows if we allow to plug in two entities together. Just a quick thought is, to add new configuration {{dfs.datanode.cache.pmem.capacity}} and reserve/release logic can be moved to specific MappableBlockLoader's. > Implement HDFS cache on SCM by using pure java mapped byte buffer > ----------------------------------------------------------------- > > Key: HDFS-14355 > URL: https://issues.apache.org/jira/browse/HDFS-14355 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: caching, datanode > Reporter: Feilong He > Assignee: Feilong He > Priority: Major > Attachments: HDFS-14355.000.patch, HDFS-14355.001.patch, > HDFS-14355.002.patch > > > This task is to implement the caching to persistent memory using pure > {{java.nio.MappedByteBuffer}}, which could be useful in case native support > isn't available or convenient in some environments or platforms. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org