summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordalyd <david.daly@mongodb.com>2017-01-03 15:14:42 -0500
committerdalyd <david.daly@mongodb.com>2017-01-04 14:10:21 -0500
commit66c9da5f35c160621780904e1d55fa919e3d68b5 (patch)
tree5d1c27a5bfb57cc8bc0bd0d0d542c70ded1f7413
parent6f9314992e5a5c320a84fd3c40ad3f84cacab32b (diff)
downloadmongo-66c9da5f35c160621780904e1d55fa919e3d68b5.tar.gz
SERVER-27456 Microbenchmarks: Increase inMemorySizeGB and oplogSize
(cherry picked from commit 32977f03538b6935ee8585bd3e3e7dbeb41b006e)
-rw-r--r--etc/perf.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/perf.yml b/etc/perf.yml
index 90b93e55229..3e7d845690d 100644
--- a/etc/perf.yml
+++ b/etc/perf.yml
@@ -102,8 +102,7 @@ functions:
# Note: This is possibly a legacy requirement from times when it would call serverStatus.
# Btw, when mongod is started without --auth, these should be harmless no-ops
./mongo --eval "db.createUser({user: 'admin', pwd: 'password', roles:\
- [ { role: 'userAdminAnyDatabase', db: 'admin' },\
- {role: 'readWriteAnyDatabase', db: 'admin' } ] })"\
+ [ { role: 'root', db: 'admin' } ] })"\
admin
echo "MONGOD STARTED."
"compare":
@@ -192,6 +191,8 @@ functions:
# give mongod a few seconds to start up so that we can connect.
sleep 5
${perf_exec_wrapper} python benchrun.py --shell ../mongo -t ${threads} --trialCount 5 -f testcases/*.js --readCmd ${readCmd} --includeFilter ${includeFilter1} --includeFilter ${includeFilter2} --excludeFilter ${excludeFilter} --out perf.json --exclude-testbed --username admin --password password
+ echo "Oplog size at end of tests..."
+ ../mongo --username admin --password password --eval "db.getSiblingDB('local').oplog.rs.totalSize()/1024/1024" admin
- command: "json.send"
params:
name: "perf"
@@ -518,7 +519,7 @@ buildvariants:
compile_flags: &compile_flags -j$(grep -c ^processor /proc/cpuinfo) CC=/opt/mongodbtoolchain/bin/gcc CXX=/opt/mongodbtoolchain/bin/g++ --release --ssl
mongod_exec_wrapper: &exec_wrapper "numactl --physcpubind=4,5,6,7 -i 1"
perf_exec_wrapper: &perf_wrapper "numactl --physcpubind=1,2,3 -i 0"
- mongod_flags: "--storageEngine=inMemory --logpath ./mongod.log --fork --syncdelay 0 --setParameter ttlMonitorEnabled=false --setParameter diagnosticDataCollectionEnabled=false --inMemorySizeGB 16 --auth"
+ mongod_flags: "--storageEngine=inMemory --logpath ./mongod.log --fork --syncdelay 0 --setParameter ttlMonitorEnabled=false --setParameter diagnosticDataCollectionEnabled=false --inMemorySizeGB 60 --auth"
project: &project perf-3.2
run_on:
- "centos6-perf"
@@ -563,7 +564,7 @@ buildvariants:
compile_flags: *compile_flags
mongod_exec_wrapper: *exec_wrapper
perf_exec_wrapper: *perf_wrapper
- mongod_flags: "--replSet=test --storageEngine=inMemory --logpath ./mongod.log --fork --syncdelay 0 --setParameter ttlMonitorEnabled=false --inMemorySizeGB 16 --oplogSize 10000 --setParameter diagnosticDataCollectionEnabled=false --auth"
+ mongod_flags: "--replSet=test --storageEngine=inMemory --logpath ./mongod.log --fork --syncdelay 0 --setParameter ttlMonitorEnabled=false --inMemorySizeGB 60 --oplogSize 30000 --setParameter diagnosticDataCollectionEnabled=false --auth"
project: *project
run_on:
- "centos6-perf"