diff options
author | Monty <monty@mariadb.org> | 2016-03-22 23:42:13 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2016-03-22 23:44:52 +0200 |
commit | fa3edbf40d6b9f6b56feaceb0ec90753f1072ac9 (patch) | |
tree | 15a7261c4e79e0871901321bd2e78e588c7a0394 /mysql-test/r | |
parent | 260dd476b057b759af7973550b560dc2f56e18fd (diff) | |
download | mariadb-git-fa3edbf40d6b9f6b56feaceb0ec90753f1072ac9.tar.gz |
Increase value of thread_cache_size to 32
Added 5 minute timeout before automaticlally removing threads from thread
cache.
This solves a problem with jemalloc, which is slow with a small
thread cache and also makes thread_cache big enough that most users
doesn't have to touch it
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/mysqld--help.result | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/r/mysqld--help.result b/mysql-test/r/mysqld--help.result index cf6e51e4a35..7cac610f88d 100644 --- a/mysql-test/r/mysqld--help.result +++ b/mysql-test/r/mysqld--help.result @@ -1068,7 +1068,8 @@ The following options may be given as the first argument: Decision to use in heuristic recover process. One of: COMMIT, ROLLBACK --thread-cache-size=# - How many threads we should keep in a cache for reuse + How many threads we should keep in a cache for reuse. + These are freed after 5 minutes of idle time --thread-pool-idle-timeout=# Timeout in seconds for an idle thread in the thread pool.Worker thread will be shut down after timeout @@ -1426,7 +1427,7 @@ table-cache 431 table-definition-cache 400 table-open-cache 431 tc-heuristic-recover COMMIT -thread-cache-size 0 +thread-cache-size 151 thread-pool-idle-timeout 60 thread-pool-max-threads 1000 thread-pool-oversubscribe 3 |