hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feilong He (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-14402) Use FileChannel.transferTo() method for transferring block to SCM cache
Date Thu, 23 May 2019 09:12:00 GMT

    [ 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:11 AM:
------------------------------------------------------------

I have conducted a simple test that caching 10*200MB files on a single node.

 

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):
I have conducted a simple test that caching 10*200MB files on a single node.

 

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.

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

> 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


Mime
View raw message