Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31574

Throughput degradation with j:true after restart of mongod

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 3.6.0-rc0
    • None
    • Storage
    • None
    • ALL

    Description

      Test consists of 20 threads inserting empty documents with j:true:

      function run() {
          for (i = 0; i < 10000; i++)
              db.c.insert({}, {writeConcern: {j: true}})
      }
      

      Throughput after the first and subsequent restarts of mongod is about 40% lower than throughput on the initial startup of mongod. (First run below was on 3.4.9 and second was on 3.6.0-rc0, but it turned out that was not the important difference, it was the restart that reduced performance, on all versions tested).

      Attachments

        1. 349_fresh
          22 kB
        2. 349_restart
          25 kB
        3. 360_fresh
          24 kB
        4. 360_restart
          27 kB
        5. disk.png
          disk.png
          137 kB
        6. jtrue.png
          jtrue.png
          62 kB
        7. jtrue2.png
          jtrue2.png
          123 kB
        8. metrics.349_3
          22 kB
        9. metrics.360_3
          25 kB
        10. Screen Shot 2017-10-16 at 2.55.31 pm.png
          Screen Shot 2017-10-16 at 2.55.31 pm.png
          31 kB

        Issue Links

          Activity

            People

              sue.loverso@mongodb.com Susan LoVerso
              bruce.lucas@mongodb.com Bruce Lucas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: