Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2650

improve windows defaults in FSDirectory

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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.

        Attachments

        1. LUCENE-2650.patch
          5 kB
          Robert Muir
        2. LUCENE-2650.patch
          5 kB
          Robert Muir

          Issue Links

            Activity

              People

              • Assignee:
                rcmuir Robert Muir
                Reporter:
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: