From 3fa548b8f244be0155690871d4649b9c744b3001 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 3 May 2005 15:55:53 +0300 Subject: InnoDB: Disable throttling against thread thrashing by default. sql/ha_innodb.cc: Remove unused variable innobase_thread_concurrency. Add UNIV_LIKELY hints to srv_thread_concurrency tests and lower the limit from 500 to 20. sql/ha_innodb.h: Remove unused variable innobase_thread_concurrency. sql/mysqld.cc: Make innodb_thread_concurrency=20 by default (it was 8). --- sql/mysqld.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/mysqld.cc') diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 9c592d068ee..845a4450bef 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -5170,7 +5170,7 @@ log and this option does nothing anymore.", {"innodb_thread_concurrency", OPT_INNODB_THREAD_CONCURRENCY, "Helps in performance tuning in heavily concurrent environments.", (gptr*) &srv_thread_concurrency, (gptr*) &srv_thread_concurrency, - 0, GET_LONG, REQUIRED_ARG, 8, 1, 1000, 0, 1, 0}, + 0, GET_LONG, REQUIRED_ARG, 20, 1, 1000, 0, 1, 0}, {"innodb_thread_sleep_delay", OPT_INNODB_THREAD_SLEEP_DELAY, "Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0" " disable a sleep", -- cgit v1.2.1