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

Don't busy wait when syncing the log and waiting for writes to complete

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc5, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-12-04

      While looking at FTDC for the insert workload from SERVER-31694, I noticed some interesting WT log statistics. Namely we are force writing the log slot almost as many times as we write a log record. MongoDB uses the in-memory mode for maximal consolidation and performance. There are a number of places where and reasons why we force out the current in-memory log records. We should investigate where these calls are coming from.

      Most of these are effectively a no-op because in attempting to force out the log records we find we can skip it because there are no outstanding records to write.

        1. logstats.png
          45 kB
          Susan LoVerso

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: