Created
March 24, 2015 14:40
-
-
Save memoryleak/32c9e1c1cec2a9ba5801 to your computer and use it in GitHub Desktop.
Bash script for system test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cd /data/tmp | |
| sysbench --test=cpu --cpu-max-prime=20000 run | |
| sysbench --test=fileio --file-total-size=20G prepare | |
| sysbench --test=fileio --file-total-size=20G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run | |
| sysbench --test=fileio --file-total-size=20G cleanup | |
| sysbench --test=memory run --memory-total-size=2G | |
| sysbench --test=memory run --memory-total-size=2G --memory-oper=read |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment