lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-2791) WindowsDirectory
Date Fri, 03 Dec 2010 09:29:11 GMT


Michael McCandless commented on LUCENE-2791:

This is awesome!  It gives us a workaround to the JRE bug (
killing NIOFSDir's concurrency on Windows.

Does is also allow for deletion of still-open files?

You may want to experiment w/ different buffer sizes to see if that impacts performance.

Also: this allows you to do the equivalent of Linux's O_DIRECT, right?  If so... I think we
should augment the Dir API so that on opening an input it receives some sort of IOContext
or something expressing why we are opening.  So for merging we would want "direct iO" (bypass
OS buffer cache or NOREUSE fadvise flag, etc.), and larger buffer sizes and perhaps other
low level IO settings in the future.

> 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