[ https://issues.apache.org/jira/browse/LUCENE-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550165 ]
Yonik Seeley commented on LUCENE-753: ------------------------------------- Weird... I'm still getting slower results from pread on WinXP. Can someone else verify on a windows box? {code} [EMAIL PROTECTED] ~ $ c:/opt/jdk16/bin/java -server FileReadTest testfile ClassicFile false 1 200 config: impl=ClassicFile serial=false nThreads=1 iterations=200 bufsize=1024 filelen=9616000 answer=160759732, ms=14984, MB/sec=128.35024025627337 $ c:/opt/jdk16/bin/java -server FileReadTest testfile ClassicFile false 1 200 config: impl=ClassicFile serial=false nThreads=1 iterations=200 bufsize=1024 filelen=9616000 answer=160759732, ms=14640, MB/sec=131.36612021857923 $ c:/opt/jdk16/bin/java -server FileReadTest testfile ChannelPread false 1 200 config: impl=ChannelPread serial=false nThreads=1 iterations=200 bufsize=1024 filelen=9616000 answer=160759732, ms=21766, MB/sec=88.35798952494717 $ c:/opt/jdk16/bin/java -server FileReadTest testfile ChannelPread false 1 200 config: impl=ChannelPread serial=false nThreads=1 iterations=200 bufsize=1024 filelen=9616000 answer=160759732, ms=21718, MB/sec=88.55327378211622 $ c:/opt/jdk16/bin/java -version java version "1.6.0_02" Java(TM) SE Runtime Environment (build 1.6.0_02-b06) Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode) {code} > 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, 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]