[ 
https://issues.apache.org/jira/browse/LUCENE-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550677
 ] 

Michael McCandless commented on LUCENE-753:
-------------------------------------------

I also just ran a test with 4 threads, random access, on Linux 2.6.22.1:

  config: impl=ClassicFile serial=false nThreads=4 iterations=200 
bufsize=6518936 filelen=67108864
  answer=-195110, ms=120856, MB/sec=444.22363142913883

  config: impl=ChannelFile serial=false nThreads=4 iterations=200 
bufsize=6518936 filelen=67108864
  answer=-195110, ms=88272, MB/sec=608.2006887801341

  config: impl=ChannelPread serial=false nThreads=4 iterations=200 
bufsize=6518936 filelen=67108864
  answer=-195110, ms=77672, MB/sec=691.2026367288084

  config: impl=ChannelTransfer serial=false nThreads=4 iterations=200 
bufsize=6518936 filelen=67108864
  answer=594875, ms=38390, MB/sec=1398.465517061735

ChannelTransfer got even faster (scales up with added threads better).


> Use NIO positional read to avoid synchronization in FSIndexInput
> ----------------------------------------------------------------
>
>                 Key: LUCENE-753
>                 URL: https://issues.apache.org/jira/browse/LUCENE-753
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Store
>            Reporter: Yonik Seeley
>         Attachments: FileReadTest.java, FileReadTest.java, 
> FSIndexInput.patch, 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.
-
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