lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Commented: (LUCENE-2650) improve windows defaults in FSDirectory
Date Tue, 21 Sep 2010 04:50:32 GMT


Robert Muir commented on LUCENE-2650:

I'm going to add the extra safety here for cloned mmapindexinputs as a separate commit 
from changing the defaults (in case we have to revert the defaults).

Its also good to backport (unlike the defaults)

> improve windows defaults in FSDirectory
> ---------------------------------------
>                 Key: LUCENE-2650
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Store
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 4.0
>         Attachments: LUCENE-2650.patch, LUCENE-2650.patch
> Currently windows defaults to SimpleFSDirectory, but this is a problem due to the synchronization.
> I have been benchmarking queries *sequentially* and was pretty surprised at how much
> MMapDirectory is, for example for cases that do many seeks.
> I think we should change the defaults for windows as such:
> if (WINDOWS and UNMAP_SUPPORTED and 64-bit)
>   use MMapDirectory
> else
>   use SimpleFSDirectory 
> I think we should just consider doing this for 4.0 only and see how it goes.

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