-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
Run the new workload in Evergreen.
We can use the existing entry for LargeScaleLongLived in evergreen.yml as a reference.
One important point is that we'll need to customize MongoDB's configuration in DSI (all workloads currently share the same one). The current config can be found here: https://github.com/10gen/dsi/blob/d4894764b73121bc41d33a1f696903fdb3d5075c/configurations/defaults.yml#L108-L118
We're using the following:
mongod.conf
# mongod.conf # where to write logging data. systemLog: destination: file logAppend: true path: rplset/rs0/mongod.log # Where and how to store data. storage: dbPath: rplset/rs0/db journal: enabled: true wiredTiger: engineConfig: cacheSizeGB: 5 # how the process runs processManagement: fork: true # fork and run in background # network interfaces net: port: 27017 bindIp: 127.0.0.1 # Listen to local interface only, comment to listen on all interfaces. replication: replSetName: rsBlah
run.sh
#!/bin/bash killall -9 mongod; rm -rf rplset/rs0/mongod.log; rm -rf rplset/rs0/db/; mkdir rplset/rs0/db; ./mongod -f mongod.conf --setParameter enableFlowControl=false; sleep 1; ./mongo --eval "rs.initiate()"; ./mongo --eval "db.adminCommand({setParameter: 1, internalQueryExecYieldIterations: 2147483647})"; ./mongo --eval "db.adminCommand({setParameter: 1, internalQueryExecYieldPeriodMS: 2147483647})"; ./mongo --eval "db.adminCommand({setParameter: 1, transactionLifetimeLimitSeconds: 2147483647})"; sleep 2;