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

Todd Lipcon commented on HDFS-6108:
-----------------------------------

Seems reasonable to me. Would be curious to find out if you get better results 
with a different size in some workloads. Please report back!

> make the length of the range in sync_file_range() configurable
> --------------------------------------------------------------
>
>                 Key: HDFS-6108
>                 URL: https://issues.apache.org/jira/browse/HDFS-6108
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>         Attachments: HDFS-6108-v2.txt, HDFS-6108.txt
>
>
> Current codebase has a hard code value for sync_file_range system call, we'd 
> better to make it configurable, since different scenario probably has a 
> different/better value for it. (ps: i found it's 1 * 1024 * 1024 in fb-20 
> branch)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to