Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6472

Update timestamp_abort test cache configuration

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.2, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 3

      The cache configuration for test/csuite/timestamp_abort is a 20MB cache:

      #define ENV_CONFIG_DEF                                        \
           "cache_size=20M,create,"                                  \
           "eviction_updates_trigger=95,eviction_updates_target=80," \
      

      That means the test is allowing up to 4MB of dirty content in cache. The application allows for up to 200 threads - each of those threads is updating content and can pin content in the cache. The default leaf_page_max is 32k.

      We should update the cache configuration of timestamp_abort to choose a more reasonable cache size. Perhaps scaling with the number of configured threads, and almost certainly increasing the eviction_dirty configurations. Using a slightly larger cache will allow the test to get more work done, and should uncover more bugs.

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: