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

Performance regression in NRTCachingDirectory

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.8.2
    • None
    • core/store
    • New

    Description

      This issue has been discussed here:

      http://mail-archives.apache.org/mod_mbox/lucene-java-user/202105.mbox/%3cAM0PR02MB4963712F269C5BF70951F0A3EF2B9@AM0PR02MB4963.eurprd02.prod.outlook.com%3e

       

      Summary: To get the same speed as in 8.3 I have to overwrite NRTCachingDirectory#doCacheWrite

      in 8.8 with the implementation from 8.3. Otherwise it's magnitudes slower.

       

      It seems that the solution for https://issues.apache.org/jira/browse/LUCENE-9115 increases the number of calls to native-OpenFile (due to falling down to MMAP-Directory) by a very  large amount.

      I understand the reasoning behind LUCENE-9115 but in fact it destroys the performance of our product. For now sub-classing NRTCachingDirectory with the old implementation of doCacheWrite() solves the issue but it would be great to have an "offical" solution of course.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            MarkusG Markus Gietzen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: