https://github.com/martinrusev/cloudbench
https://github.com/martinrusev/cloudbench
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/martinrusev/cloudbench
- Owner: martinrusev
- Created: 2015-05-26T11:59:44.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-26T14:02:52.000Z (almost 10 years ago)
- Last Synced: 2025-04-12T11:12:44.941Z (30 days ago)
- Language: Shell
- Size: 141 KB
- Stars: 18
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloudbench - A collection of benchmark results for different Cloud providers
## Tools used
fio
sysbench## Tests
# Disk I/O with fio
fio ssd.fio# Disk I/O with sysbench
sysbench --test=fileio --file-total-size=6G prepare
sysbench --test=fileio --file-total-size=6G --file-test-mode=rndrw --max-time=300 --max-requests=0 --file-extra-flags=direct run
sysbench --test=fileio --file-total-size=6G cleanup##Mixed Random Read and Write
sysbench --test=fileio --file-total-size=20G --file-test-mode=rndrw --max-time=240 --file-fsync-all --max-requests=0 --num-threads=${1,8,64} run# CPU
sysbench --test=cpu --cpu-max-prime=20000 run
# MySQL
mysql -u root -p
create database benchmark;
sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=benchmark --mysql-user=root --mysql-password=123456 prepare
sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=benchmark --mysql-user=root --mysql-password=123456 --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run
## Read and Write OLTP test with 16 threaded and random connection mode
sysbench --test=oltp --oltp-table-size=10000000 --mysql-db=sysbench --mysql-user=root --mysql-password=123456 --max-time=60 --max-requests=0 --num-threads=16 --oltp-reconnect-mode=random runsysbench --test=oltp --mysql-db=benchmark --mysql-user=root --mysql-password=123456 cleanup
## Scaleway - Last update 26.05.2015
## Sources
http://wiki.mikejung.biz/Sysbench