mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-27456 Microbenchmarks: Increase inMemorySizeGB and oplogSize
This commit is contained in:
parent
7b2ee40072
commit
32977f0353
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user