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

Detect when index is on SSD and set dynamic defaults

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          14 kB
          Michael McCandless
        2. LUCENE-5951.patch
          15 kB
          Robert Muir
        3. LUCENE-5951.patch
          15 kB
          Michael McCandless
        4. LUCENE-5951.patch
          18 kB
          Michael McCandless
        5. LUCENE-5951.patch
          18 kB
          Robert Muir
        6. LUCENE-5951.patch
          37 kB
          Robert Muir
        7. LUCENE-5951.patch
          39 kB
          Michael McCandless

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: