You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Feilong He (JIRA)" <ji...@apache.org> on 2019/05/23 09:09:00 UTC

[jira] [Comment Edited] (HDFS-14402) Use FileChannel.transferTo() method for transferring block to SCM cache

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

Feilong He edited comment on HDFS-14402 at 5/23/19 9:08 AM:
------------------------------------------------------------

We have conducted a test that caching 10*200MB files.

 

For the current trunk without this Jira's optimization, the IO metric is shown as below.

!Without-Cache-Improvement-Patch.png!

For applying this Jira's patch ([^HDFS-14402.002.patch]), the IO metric is shown as below.

!With-Cache-Improvement-Patch.png!

^You can note that this Jira's patch can visibly improve the caching performance on persistent memory.^


was (Author: philohe):
We have conducted a test that caching 10*200MB files. 

 

For the current trunk without this Jira's optimization, the IO metric is shown as below.

[^No-Cache-Improvement]

For applying this Jira's patch ([^HDFS-14402.002.patch]), the IO metric is shown as below.

[^With-Cache-Improvement]

^You can note that this Jira's patch can visibly improve the caching performance on persistent memory.^

> Use FileChannel.transferTo() method for transferring block to SCM cache
> -----------------------------------------------------------------------
>
>                 Key: HDFS-14402
>                 URL: https://issues.apache.org/jira/browse/HDFS-14402
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: caching, datanode
>            Reporter: Feilong He
>            Assignee: Feilong He
>            Priority: Major
>         Attachments: HDFS-14402.000.patch, HDFS-14402.001.patch, HDFS-14402.002.patch, With-Cache-Improvement-Patch.png, Without-Cache-Improvement-Patch.png
>
>
> We will consider to use transferTo API to improve SCM's cach performace.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org