Summary: Dell R720xd, 2 x Xeon E5-2630 0 2.30GHz, 189GB / 192GB 1333MHz DDR3 System: Dell PowerEdge R720xd (Dell 0X6FFV) Processors: 2 x Xeon E5-2630 0 2.30GHz 7200MHz FSB (HT enabled, 12 cores, 24 threads) Memory: 189GB / 192GB 1333MHz DDR3 == 12 x 16GB - 16GB PC3-10600 Hynix DDR3-1333 ECC Registered CL9 2Rx42.2測試服務器軟件環境
Linux 2.6.32-220.23.2.ali878.el6.x86_64 mysql-5.5.182.3 MySQL配置
binlog_format[ROW] max_binlog_cache_size[2G] max_binlog_size[500M] sync_binlog[1] thread_cache_size[256] innodb_buffer_pool_instances[8] innodb_buffer_pool_size[74G] innodb_flush_log_at_trx_commit[1] innodb_flush_method[O_DIRECT] innodb_io_capacity[1000] innodb_log_buffer_size[64M] innodb_log_file_size[1G] innodb_log_files_in_group[4] innodb_max_dirty_pages_pct[60] innodb_thread_concurrency[16]3.測試方案
# 初始化數據 ./sysbench --test=tests/db/parallel_prepare.lua --max-time=1000 --oltp-dist-type=uniform --max-requests=0 --mysql-user=test --mysql-password=test --mysql-table-engine=innodb --oltp-table-size=3000000 --oltp-tables-count=32 --oltp-range-size=90 --oltp-point-selects=1 --oltp-simple-ranges=1 --oltp-sum-ranHges=1 --oltp-order-ranges=1 --oltp-distinct-ranges=1 --oltp-non-index-updates=10 --num-threads=32 --mysql-host=10.207.105.1 --mysql-port=3306 run # 只讀壓力測試 ./sysbench --test=tests/db/oltp.lua --max-time=3600 --oltp-dist-type=uniform --max-requests=0 --mysql-user=test --mysql-password=test --mysql-table-engi ne=innodb --oltp-table-size=3000000 --oltp-tables-count=32 --oltp-range-size=90 --oltp-point-selects=12 --num-threads=64 --mysql-host=10.207.105.1 --my sql-port=3306 --oltp-read-only=on run # 讀寫混合壓力測試 ./sysbench --test=tests/db/oltp.lua --max-time=3600 --oltp-dist-type=uniform --max-requests=0 --mysql-user=test --mysql-password=test --mysql-table-engine=innodb --oltp-table-size=3000000 --oltp-tables-count=32 --oltp-range-size=90 --oltp-point-selects=12 --oltp-index-updates=1 --oltp-non-index-updates=1 --num-threads=32 --mysql-host=10.207.105.1 --mysql-port=3306 run4.性能指標