diff options
author | dalyd <david.daly@mongodb.com> | 2017-01-03 15:14:42 -0500 |
---|---|---|
committer | dalyd <david.daly@mongodb.com> | 2017-01-04 13:47:47 -0500 |
commit | 32977f03538b6935ee8585bd3e3e7dbeb41b006e (patch) | |
tree | 33d9d60e4d73cce6e1d327125a9701452b56a9a8 /etc/perf.yml | |
parent | 7b2ee4007201e845e86c914274edfa246d5b4623 (diff) | |
download | mongo-32977f03538b6935ee8585bd3e3e7dbeb41b006e.tar.gz |
SERVER-27456 Microbenchmarks: Increase inMemorySizeGB and oplogSize
Diffstat (limited to 'etc/perf.yml')
-rw-r--r-- | etc/perf.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/perf.yml b/etc/perf.yml index 6202b8f3585..ef40807272e 100644 --- a/etc/perf.yml +++ b/etc/perf.yml @@ -112,8 +112,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": @@ -222,6 +221,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" @@ -609,7 +610,7 @@ buildvariants: compile_flags: -j$(grep -c ^processor /proc/cpuinfo) CC=/opt/mongodbtoolchain/v2/bin/gcc CXX=/opt/mongodbtoolchain/v2/bin/g++ OBJCOPY=/opt/mongodbtoolchain/v2/bin/objcopy --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" use_scons_cache: true project: &project perf run_on: @@ -657,7 +658,7 @@ buildvariants: expansions: 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" |