Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38609

Very poor performance in Collections test with Magma (cf couchstore) under TSan

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      When running CollectionsEraserTest.basic_2_collections full_eviction under TSan, the Magma variant is over 100x slower than the couchstore variant.

      Couchstore

      [ RUN      ] CollectionsEraserTests/CollectionsEraserTest.basic_2_collections/persistent_full_eviction
      [       OK ] CollectionsEraserTests/CollectionsEraserTest.basic_2_collections/persistent_full_eviction (227 ms)
      

      Magma

      [ RUN      ] CollectionsEraserTests/CollectionsEraserTest.basic_2_collections/persistentMagma_full_eviction
      [       OK ] CollectionsEraserTests/CollectionsEraserTest.basic_2_collections/persistentMagma_full_eviction (47721 ms)
      

      This results in hitting the 120s overall test suite timeout.

      Full log: http://cv.jenkins.couchbase.com/job/kv_engine.threadsanitizer/job/master/3008/testReport/junit/(root)/projectroot/ep_engine_ep_unit_tests_CollectionsEraserTests_CollectionsEraserTest/

      Note this test triggers an explicit compaction to ensure collections are erased.

      (The value-only ones are also slower, but "only" ~60x slower

      [ RUN      ] CollectionsEraserTests/CollectionsEraserTest.basic_2_collections/persistent_value_only
      [       OK ] CollectionsEraserTests/CollectionsEraserTest.basic_2_collections/persistent_value_only (197 ms)
      [ RUN      ] CollectionsEraserTests/CollectionsEraserTest.basic_2_collections/persistentMagma_value_only
      [       OK ] CollectionsEraserTests/CollectionsEraserTest.basic_2_collections/persistentMagma_value_only (11643 ms)
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            scott.lashley Scott Lashley
            drigby Dave Rigby (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty