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

Detect when index is on SSD and set dynamic defaults

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      E.g. ConcurrentMergeScheduler should default maxMergeThreads to 3 if it's on SSD and 1 if it's on spinning disks.

      I think the new NIO2 APIs can let us figure out which device we are mounted on, and from there maybe we can do os-specific stuff e.g. look at /sys/block/dev/queue/rotational to see if it's spinning storage or not ...

      Attachments

        1. LUCENE-5951.patch
          39 kB
          Michael McCandless
        2. LUCENE-5951.patch
          37 kB
          Robert Muir
        3. LUCENE-5951.patch
          18 kB
          Robert Muir
        4. LUCENE-5951.patch
          18 kB
          Michael McCandless
        5. LUCENE-5951.patch
          15 kB
          Michael McCandless
        6. LUCENE-5951.patch
          15 kB
          Robert Muir
        7. LUCENE-5951.patch
          14 kB
          Michael McCandless

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              mikemccand Michael McCandless
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: