Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
Query
-
ALL
-
Performance B (11/02/15)
Description
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})
|