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

Performance Regression in Mongo-Perf MMS/single threaded workloads from 3.0.6 (Update.MmsIncShallow1, ...)

    • Query
    • ALL
    • Performance B (11/02/15)

      Performance regression across all 4 build variants for single threaded performance on Mongo-Perf.

      Slightly more pronounced on 1 node repl set over stand-alone, but present in both cases.

      Update.MmsIncShallow1 is the largest offender.
      Regression seems to be over time. Between 3.0.6, and 3.1.0, 3.1.3, and 3.1.4.

      Regression in WiredTiger Standalone (cumulative 11-13% degradation) and in MMAP (cumulative 13-17% degradation).

      Can be reproduced with

      var setupMMS = function( collection ) {
          collection.drop();
      
          var base = { _id: 0, a: 0, h: {}, z: 0 };
          for (var i = 0; i < 24; i++) {
              base.h[i] = {};
              for (var j = 0; j < 60; j++) {
                  base.h[i][j] = { n: 0, t: 0, v: 0 };
              }
          }
          collection.insert(base);
      };
      
      use test0
      setupMMS(db.Update_MmsIncShallow10)
      benchRun({"ops":[{"op":"update","query":{"_id":0},"update":{"$inc":{"a":1}},"ns":"test0.Update_MmsIncShallow10","safe":false,"w":0,"j":false,"writeCmd":true}],"seconds":5,"host":"127.0.0.1:27017","parallel":1})
      

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            david.daly@mongodb.com David Daly
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: