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

API to skip global tick calibration during wiredtiger_open

    • Storage Engines
    • 3
    • StorEng - 2024-12-10, StorEng - 2024-12-24

      In MongoDB's death tests (see SERVER-97252), we start new processes frequently. And in many integration tests, we restart the server often.

      Once per process, WiredTiger will spin for ~700ms to determine the ratio of processor ticks to nanoseconds here.

      We could speed up some of our testing if we could bypass this tick calibration in cases where we don't need accurate time information or don't need clock reads to be fast.

        1. clock-calibrate.c
          12 kB
          Yury Ershov

            Assignee:
            y.ershov@mongodb.com Yury Ershov
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: