linux相关,  性能测试相关,  测试

Linux系统性能测试工具sysbench

Linux系统性能测试工具sysbench
1、CPU性能测试

sysbench --test=cpu --cpu-max-prime=20000 --num-threads=8 run
2、内存性能测试

sysbench --test=memory --num-threads=8 --memory-block-size=8192 --memory-total-size=2G run
3、磁盘I/O性能测试

sysbench --test=fileio --num-threads=8 --file-rw-ratio=5 --file-total-size=500M --file-test-mode=rndrw prepare
sysbench --test=fileio --num-threads=8 --file-rw-ratio=5 --file-total-size=500M --file-test-mode=rndrw run

Linux系统性能测试工具sysbench已关闭评论