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

Remove synchronization in CompoundFileReader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.3.1
    • 2.4
    • core/index
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: