mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-18898 use numactl,syncdelay=0,ttlMonitorEnabled=false,etc in perf args
This commit is contained in:
parent
3adb7b4cfd
commit
f30a606801
@ -46,7 +46,7 @@ functions:
|
|||||||
set -e
|
set -e
|
||||||
set -o verbose
|
set -o verbose
|
||||||
mkdir -p ./dbdata
|
mkdir -p ./dbdata
|
||||||
./mongod --storageEngine=${storageEngine} --dbpath ./dbdata
|
${mongod_exec_wrapper} ./mongod --dbpath ./dbdata ${mongod_flags}
|
||||||
echo "MONGOD STARTED."
|
echo "MONGOD STARTED."
|
||||||
"run perf tests":
|
"run perf tests":
|
||||||
- command: shell.exec
|
- command: shell.exec
|
||||||
@ -69,7 +69,7 @@ functions:
|
|||||||
cd perf
|
cd perf
|
||||||
# give mongod a few seconds to start up so that we can connect.
|
# give mongod a few seconds to start up so that we can connect.
|
||||||
sleep 5
|
sleep 5
|
||||||
python ./benchrun.py --shell ../mongo --testFilter '${filter}' -t 1 2 4 8 16 -f testcases/* --out perf.json
|
${perf_exec_wrapper} python benchrun.py --shell ../mongo -t 1 2 4 8 16 --trialCount 7 -f testcases/*.js --testFilter '${filter}' --out perf.json
|
||||||
- command: "json.send"
|
- command: "json.send"
|
||||||
params:
|
params:
|
||||||
name: "perf"
|
name: "perf"
|
||||||
@ -142,8 +142,10 @@ buildvariants:
|
|||||||
- name: linux-wt-standalone
|
- name: linux-wt-standalone
|
||||||
display_name: Linux WT Standalone
|
display_name: Linux WT Standalone
|
||||||
expansions:
|
expansions:
|
||||||
storageEngine: "wiredTiger"
|
|
||||||
compile_flags: -j$(grep -c ^processor /proc/cpuinfo) CC=/opt/mongodbtoolchain/bin/gcc CXX=/opt/mongodbtoolchain/bin/g++ --release
|
compile_flags: -j$(grep -c ^processor /proc/cpuinfo) CC=/opt/mongodbtoolchain/bin/gcc CXX=/opt/mongodbtoolchain/bin/g++ --release
|
||||||
|
mongod_exec_wrapper: "numactl --physcpubind=4,5,6,7 -i 1"
|
||||||
|
perf_exec_wrapper: "numactl --physcpubind=1,2,3 -i 0"
|
||||||
|
mongod_flags: "--storageEngine=wiredTiger --logpath ./mongod.log --fork --syncdelay 0 --nojournal --setParameter ttlMonitorEnabled=false --wiredTigerCacheSizeGB 16"
|
||||||
|
|
||||||
run_on:
|
run_on:
|
||||||
- "centos6-perf"
|
- "centos6-perf"
|
||||||
|
Loading…
Reference in New Issue
Block a user