...
benchRun results might be slightly incorrect as long as the tool relies on serverStatus() calls rather than collecting stats client side. For the same reason (stats collected server side) two parallel executions of benchRun won't return per-client results (but cumulative results). As an added bonus, scotthernandez noticed that if the test lasts $ mongo --eval 'printjson(benchRun( { ops : [{op:"command", ns:"test", command:{ping:1}}] , parallel : 1 , seconds : .001 , host : db.getMongo().host } ))' MongoDB shell version: 2.6.1 connecting to: test { ... "command" : 9000 }
xgen-internal-githook commented on Thu, 2 Jul 2015 19:58:40 +0000: Author: {u'username': u'dalyd', u'name': u'dalyd', u'email': u'david.daly@mongodb.com'} Message: Changes to handle benchrun result changes from SERVER-15017 (cherry picked from commit a446b28f19dad6fb8a2c7690946b6a187bd9e8bb) Branch: develop https://github.com/mongodb/mongo-perf/commit/b4be1f8638890fe4318bea5473ebd323e86f2253 xgen-internal-githook commented on Thu, 18 Jun 2015 15:11:47 +0000: Author: {u'username': u'dalyd', u'name': u'dalyd', u'email': u'david.daly@mongodb.com'} Message: SERVER-15017: benchRun might return incorrect stats values (cherry picked from commit 532571b5bc3db0560f41ad5e60a748ddd1782c85) Conflicts: src/mongo/shell/bench.cpp Branch: v3.0 https://github.com/mongodb/mongo/commit/42ad90b1d4b555e25ca19210bbf60a8037d80e10 david.daly commented on Wed, 17 Jun 2015 15:43:37 +0000: Changes the results returned by benchrun. Mongo-perf updated to handle the change. xgen-internal-githook commented on Wed, 17 Jun 2015 15:41:50 +0000: Author: {u'username': u'dalyd', u'name': u'dalyd', u'email': u'david.daly@mongodb.com'} Message: SERVER-15017: benchRun might return incorrect stats values Branch: master https://github.com/mongodb/mongo/commit/532571b5bc3db0560f41ad5e60a748ddd1782c85 xgen-internal-githook commented on Wed, 17 Jun 2015 15:40:06 +0000: Author: {u'username': u'dalyd', u'name': u'dalyd', u'email': u'david.daly@mongodb.com'} Message: Changes to handle benchrun result changes from SERVER-15017 (cherry picked from commit a446b28f19dad6fb8a2c7690946b6a187bd9e8bb) Branch: evergreen https://github.com/mongodb/mongo-perf/commit/527eb3a9c22d4ef244cd7b729c75d53d41487255 xgen-internal-githook commented on Wed, 17 Jun 2015 15:40:06 +0000: Author: {u'username': u'dalyd', u'name': u'dalyd', u'email': u'david.daly@mongodb.com'} Message: Changes to handle benchrun result changes from SERVER-15017 (cherry picked from commit a446b28f19dad6fb8a2c7690946b6a187bd9e8bb) Branch: master https://github.com/mongodb/mongo-perf/commit/b4be1f8638890fe4318bea5473ebd323e86f2253 xgen-internal-githook commented on Wed, 17 Jun 2015 15:40:06 +0000: Author: {u'username': u'dalyd', u'name': u'dalyd', u'email': u'david.daly@mongodb.com'} Message: Changes to handle benchrun result changes from SERVER-15017 Branch: develop https://github.com/mongodb/mongo-perf/commit/a446b28f19dad6fb8a2c7690946b6a187bd9e8bb