You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/09/17 19:56:37 UTC

[jira] Commented: (LUCENE-2650) improve windows defaults in FSDirectory

    [ https://issues.apache.org/jira/browse/LUCENE-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910695#action_12910695 ] 

Robert Muir commented on LUCENE-2650:
-------------------------------------

by the way, all lucene/solr tests pass on 64-bit windows with -Dtests.directory=FSDirectory

> improve windows defaults in FSDirectory
> ---------------------------------------
>
>                 Key: LUCENE-2650
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2650
>             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
>
>
> 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 faster
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org