您的位置:首页 > 运维架构 > Linux

Linux系统性能测试工具sysbench

2016-02-06 20:12 746 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: