[
https://issues.apache.org/jira/browse/LUCENE-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-2791:
--------------------------------
Attachment: LUCENE-2791.patch
attached is an updated patch (fixing some indentation, adding some paranoid NPE
checks in the JNI code, various stuff like that)
I also included a crude benchmark made by mikemccand (I think we should commit
this to our tests!)
It builds a 100k doc index and searches with 20 threads for 10 seconds:
I used -Dtests.seed=0:0 and -Dtests.codec=Standard, and recorded best out of 3.
I tested win32 -client, and win64 -server, only because these are the oracle
defaults.
||Directory||QPS Win32 -client||
|NIOFSDirectory|360|
|SimpleFS|372|
|WindowsDirectory|616|
|RAMDirectory|760|
|MMapDirectory|772|
||Directory||QPS Win64 -server||
|NIOFSDirectory|361|
|SimpleFS|376|
|WindowsDirectory|777|
|RAMDirectory|1105|
|MMapDirectory|1138|
So, I think this gets you past the sync issue and can be a good choice e.g. for
win32
But MMap still seems to be the best for this benchmark.
> WindowsDirectory
> ----------------
>
> Key: LUCENE-2791
> URL: https://issues.apache.org/jira/browse/LUCENE-2791
> Project: Lucene - Java
> Issue Type: New Feature
> Components: Store
> Reporter: Robert Muir
> Attachments: LUCENE-2791.patch, LUCENE-2791.patch,
> WindowsDirectory.dll, WindowsDirectory_amd64.dll
>
>
> We can use Windows' overlapped IO to do pread() and avoid the performance
> problems of SimpleFS/NIOFSDir.
--
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]