30-50% performance regression in basic performance tests using mongo shell

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • Fully Compatible
    • ALL
    • Platform 8 08/28/15, Platform 9 (09/18/15), Platform A (10/09/15)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Saw a 30-50% performance decline with a standalone mongod between 3.1.6 and the 08-15 daily build on 8 threads doing a simple insert workload (separate collections to facilitate mmapv1 testing, not essential to repro on WT):

      function insert(thread) {
          every = 10000
          c = db['c'+thread]
          for (var i=0; i<500000; ) {
              var bulk = c.initializeUnorderedBulkOp();
              for (var j=0; j<every; j++, i++)
                  bulk.insert({x:0})
              bulk.execute()
          }
      }
      

      Execution time in seconds:

                    wiredtiger     mmapv1
      3.1.6             16           18
      08-15 build       30           27       9b4d20439910450acf1385723c85f86bf41d15f0
      

      Affects both WT and mmapv1.

      Git bisect identified 2a6a8f7cf32465da072e63ee9e1272907b6bfa54 as the first bad commit, related to changing the default JS engine to SpiderMonkey.

            Assignee:
            Mira Carey
            Reporter:
            Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: