A tip of the hat to Mark Callaghan, who suggested I post our my.cnf
settings for iiBench.
Instead of fiddling around with the configuration file, we
adjusted everything on the command line. Here's the relevant
script from iiBench/scripts/start_mysql.sh:
#
# Script to start the mysqld process.
# - Documents mysqld parameters used for iiBench testing.
#
DATADIR="/usr/local/mysql/data"
MYSQL_PATH="/usr/local/mysql/bin"
# These parameters were selected for a test machine with:
# - 16GB of memory
# - 2 socket, quad core = 8 cores total.
PARAM=" \
--no-defaults \
--user=mysql \
--datadir=$DATADIR \
--max_connections=3000 \
--max_connect_errors=10 \
--table_cache=2048 \
--max_allowed_packet=1M \
--binlog_cache_size=1M \
--max_heap_table_size=64M \
--sort_buffer_size=64M \
--read_buffer_size=64M \
--join_buffer_size=64M \ …
[Read more]