[ 
https://issues.apache.org/jira/browse/LUCENE-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561778#action_12561778
 ] 

Doug Cutting commented on LUCENE-1121:
--------------------------------------

For Hadoop, we've seen significant performance improvements on Linux in Sun's 
1.6 over 1.5.  Clearly, 1.6 didn't help on Windows Server 2003, but it would be 
good to know if there are any cases where it makes a huge improvement.  If 
there are, then it could be a useful option.

> Use nio.transferTo when copying large blocks of bytes
> -----------------------------------------------------
>
>                 Key: LUCENE-1121
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1121
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Store
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>         Attachments: LUCENE-1121.patch, LUCENE-1121.patch, testIO.java
>
>
> When building a CFS file, and also when merging stored fields (and
> term vectors, with LUCENE-1120), we copy large blocks of bytes at
> once.
> We currently do this with an intermediate buffer.
> But, nio.transferTo should be somewhat faster on OS's that offer low
> level IO APIs for moving blocks of bytes between files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to