Difference between revisions of "Benchmarking"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
A bash script of using sysbench(tested on pollock): | A bash script of using sysbench(tested on pollock): | ||
− | **#!/bin/bash | + | ** #!/bin/bash |
**sysbench cpu --cpu-max-prime=20000 run >> Benchmark.txt | **sysbench cpu --cpu-max-prime=20000 run >> Benchmark.txt | ||
**sysbench fileio --file-total-size=150G prepare >> Benchmark.txt | **sysbench fileio --file-total-size=150G prepare >> Benchmark.txt |
Revision as of 17:58, 29 April 2020
We have two tools for benchmarking our servers, which are Sysbench and Geekbench. The two tools were tested on pollock. Sysbench is useful for evaluating the basic performance of the machine, while Geekbench is able to provide more details of the machine even with its free features(Geekbench has paid features, but they are not important in our cases).
A bash script of using sysbench(tested on pollock):
- #!/bin/bash
- sysbench cpu --cpu-max-prime=20000 run >> Benchmark.txt
- sysbench fileio --file-total-size=150G prepare >> Benchmark.txt
- sysbench fileio --file-total-size=150G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-**requests=0 run >> Benchmark.txt
- sysbench memory --threads=2 run >> Benchmark.txt
The script of using Geekbench is at /mount/pollock/software/geekbench
A more detailed description of the two tools could be found at https://linuxconfig.org/how-to-benchmark-your-linux-system