lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Updated: (LUCENE-2791) WindowsDirectory
Date Fri, 03 Dec 2010 03:08:10 GMT


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

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||

||Directory||QPS Win64 -server||

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:
>             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

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:
For additional commands, e-mail:

View raw message