[ http://issues.apache.org/jira/browse/LUCENE-753?page=comments#action_12460363 ] Yonik Seeley commented on LUCENE-753: -------------------------------------
Single-threaded random access performance of a fully cached 64MB file on my home PC (WinXP) , Java6: config: impl=ClassicFile serial=false nThreads=1 iterations=200 bufsize=1024 filelen=6518936 answer=81332126, ms=7781, MB/sec=167.5603649916463 config: impl=ChannelFile serial=false nThreads=1 iterations=200 bufsize=1024 filelen=6518936 answer=81332126, ms=9203, MB/sec=141.66980332500273 config: impl=ChannelPread serial=false nThreads=1 iterations=200 bufsize=1024 filelen=6518936 answer=81332126, ms=11672, MB/sec=111.70212474297463 config: impl=ChannelTransfer serial=false nThreads=1 iterations=200 bufsize=1024 filelen=6518936 answer=81332126, ms=17328, MB/sec=75.2416435826408 > 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: 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. - 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]
