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

Remove synchronization in CompoundFileReader

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.4
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Currently there is what seems to be unnecessary synchronization in CompoundFileReader. This is solved by cloning the base IndexInput. Synchronization in low level IO classes creates lock contention on highly multi threaded Lucene installations, so much so that in many cases the CPU utilization never reaches the maximum without using something like ParallelMultiSearcher.

        Attachments

        1. lucene-1322.patch
          2 kB
          Jason Rutherglen

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              jasonrutherglen Jason Rutherglen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: