Linux/Benchmarks: Difference between revisions
< Linux
mNo edit summary |
m (→Mysql) |
||
Line 29: | Line 29: | ||
prepare (ca. 4GB data): | prepare (ca. 4GB data): | ||
sysbench --db-driver=mysql --mysql-host='vm-docker' --mysql-db=maria --mysql-user=maria --mysql-password=maria --tables= | sysbench --db-driver=mysql --mysql-host='vm-docker' --mysql-db=maria --mysql-user=maria --mysql-password=maria --tables=8 --table-size=1000000 /usr/share/sysbench/oltp_read_write.lua prepare | ||
Revision as of 17:52, 7 December 2021
- bonnie++ (disk benchmark)
sudo bonnie -d /mnt/hdd -s 4000 -u root
- sysbench
sudo apt install sysbench sysbench cpu run sysbench --cpu-max-prime=20000 --threads=6 cpu run
- stress-ng
sudo apt install stress-ng stress-ng --cpu 1 --cpu-method matrixprod --metrics-brief --perf -t 60
Mysql
apt install sysbench prepare (ca. 4GB data): sysbench --db-driver=mysql --mysql-host='vm-docker' --mysql-db=maria --mysql-user=maria --mysql-password=maria --tables=8 --table-size=1000000 /usr/share/sysbench/oltp_read_write.lua prepare benchmark: sysbench --db-driver=mysql --mysql-host='vm-docker' --mysql-db=maria --mysql-user=maria --mysql-password=maria --tables=16 --table-size=10000 --threads=16 --time=60 --events=0 --report-interval=1 /usr/share/sysbench/oltp_read_write.lua run