Jackbox
Active Member
- Jan 2, 2016
- 197
- 96
- 74
I have a Debian server from VPSDime, here are the specs:
Specs: lsb_release -a; uname -mrs; free -m
To begin benchmarking we will use
apt-get install sysbench
Now we will begin testing!
CPU: sysbench --test=cpu --cpu-max-prime=20000 run
IO: sysbench --test=fileio --file-total-size=5G prepare;sysbench --test=fileio --file-total-size=5G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run;sysbench --test=fileio --file-total-size=5G cleanup
MySQL: sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword prepare;sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run;sysbench --test=oltp --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword cleanup
For the MySQL test you must authenticate into your MySQL server and create database test.
Specs: lsb_release -a; uname -mrs; free -m
Code:
root@remote:~# lsb_release -a; uname -mrs; free -m
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.8 (jessie)
Release: 8.8
Codename: jessie
Linux 2.6.32-042stab120.16 x86_64
total used free shared buffers cached
Mem: 6144 347 5796 10 0 271
-/+ buffers/cache: 76 6067
Swap: 0 0 0
To begin benchmarking we will use
apt-get install sysbench
Now we will begin testing!
CPU: sysbench --test=cpu --cpu-max-prime=20000 run
IO: sysbench --test=fileio --file-total-size=5G prepare;sysbench --test=fileio --file-total-size=5G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run;sysbench --test=fileio --file-total-size=5G cleanup
MySQL: sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword prepare;sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run;sysbench --test=oltp --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword cleanup
For the MySQL test you must authenticate into your MySQL server and create database test.
Code:
FILE IO
Operations performed: 1480920 Read, 987280 Write, 3159184 Other = 5627384 Total
Read 22.597Gb Written 15.065Gb Total transferred 37.662Gb (128.5Mb/sec)
8223.97 Requests/sec executed
Test execution summary:
total time: 300.1227s
total number of events: 2468200
total time taken by event execution: 22.3874
per-request statistics:
min: 0.00ms
avg: 0.01ms
max: 275.92ms
approx. 95 percentile: 0.01ms
Threads fairness:
events (avg/stddev): 2468200.0000/0.00
execution time (avg/stddev): 22.3874/0.00
Code:
CPU
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 34.1879s
total number of events: 10000
total time taken by event execution: 34.1848
per-request statistics:
min: 3.36ms
avg: 3.42ms
max: 5.01ms
approx. 95 percentile: 3.48ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 34.1848/0.00
Code:
MYSQL
OLTP test statistics:
queries performed:
read: 1125082
write: 0
other: 160726
total: 1285808
transactions: 80363 (1339.28 per sec.)
deadlocks: 0 (0.00 per sec.)
read/write requests: 1125082 (18749.95 per sec.)
other operations: 160726 (2678.56 per sec.)
Test execution summary:
total time: 60.0045s
total number of events: 80363
total time taken by event execution: 479.6228
per-request statistics:
min: 1.22ms
avg: 5.97ms
max: 32.26ms
approx. 95 percentile: 7.92ms
Threads fairness:
events (avg/stddev): 10045.3750/27.28
execution time (avg/stddev): 59.9528/0.00
Last edited: