Skip to content

Instantly share code, notes, and snippets.

@jasonmimick
Last active September 14, 2016 01:36
Show Gist options
  • Save jasonmimick/3d3eeabebd912e0218374472935433b1 to your computer and use it in GitHub Desktop.
Save jasonmimick/3d3eeabebd912e0218374472935433b1 to your computer and use it in GitHub Desktop.
#!/bin/bash
curl -OL https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-3.2.9.tgz
tar xvf mongodb-linux-x86_64-rhel70-3.2.9.tgz
echo "{ nThreads:1024, fileSizeMB:1000, mmf:false, r:true, w:true, syncDelay:60 }" > netperf.conf
mongodb-linux-x86_64-rhel70-3.2.9/bin/mongoperf < ./netperf.conf >> netperf.log &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment