[ 
http://issues.apache.org/jira/browse/LUCENE-753?page=comments#action_12459724 ] 
            
Yonik Seeley commented on LUCENE-753:
-------------------------------------

This change should be faster on heavily loaded multi-threaded servers using the 
non-compound index format.
Performance tests are needed to see if there is any negative impact on 
single-threaded performance.

Compound index format (CSIndexInput) still does synchronization because the 
base IndexInput is not cloned (and hence shared by all CSIndexInput clones).  
It's unclear if getting rid of the synchronization is worth the cloning 
overhead in this case.

> Use NIO positional read to avoid synchronization in FSIndexInput
> ----------------------------------------------------------------
>
>                 Key: LUCENE-753
>                 URL: http://issues.apache.org/jira/browse/LUCENE-753
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Store
>            Reporter: Yonik Seeley
>         Attachments: FSIndexInput.patch
>
>
> As suggested by Doug, we could use NIO pread to avoid synchronization on the 
> underlying file.
> This could mitigate any MT performance drop caused by reducing the number of 
> files in the index format.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to