Skip to content

Instantly share code, notes, and snippets.

@vadimtk
Created October 7, 2013 23:10
Show Gist options
  • Save vadimtk/6876580 to your computer and use it in GitHub Desktop.
Save vadimtk/6876580 to your computer and use it in GitHub Desktop.
Config for Percona Server 5.6 benchmark
[mysqld]
server-id=20
innodb_data_file_path=ibdata1:10M:autoextend
innodb_log_files_in_group=2
innodb_log_file_size=2G
innodb_buffer_pool_size=25GB
#innodb_log_block_size=4096
innodb_lru_scan_depth=4000
innodb_flush_neighbors=0
innodb_log_buffer_size=256M
innodb_io_capacity = 2000
innodb_io_capacity_max= 4000
innodb_flush_log_at_trx_commit = 1
innodb_buffer_pool_instances=15
innodb_file_format = Barracuda
innodb_checksum_algorithm = crc32
innodb_file_per_table = true
#innodb_flush_method = O_DIRECT
innodb_doublewrite=1
innodb_flush_method=O_DIRECT_NO_FSYNC
innodb_purge_threads=4
innodb_sched_priority_cleaner=39
innodb_log_block_size=4096
loose-innodb_adaptive_hash_index_partitions=65
table_open_cache=15000
open_files_limit=15000
max_connections=15000
innodb_read_io_threads = 8
innodb_write_io_threads = 8
innodb_change_buffering=all
loose-innodb_sync_array_size=16
sync_binlog=0
query_cache_type=OFF
thread_cache_size=1000
back_log=2000
connect_timeout=15
#56only
loose-metadata_locks_hash_instances=256
max_prepared_stmt_count=1048560
loose-performance_schema=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment