List:Commits« Previous MessageNext Message »
From:Alex Ivanov Notebook Date:July 29 2006 1:57am
Subject:bk commit into 5.1 tree (aivanov:1.2255)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of alexi. When alexi does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-07-29 03:56:23+04:00, aivanov@stripped +1 -0
  Make innodb_thread_concurrency 0 by default, and extend
   the usable range to 0..1000 (0 disables the thread throttling).

  sql/mysqld.cc@stripped, 2006-07-29 03:56:20+04:00, aivanov@stripped +4 -2
    innodb_thread_concurrency is 0..1000 now, and
     0 (the default) disables the thread throttling.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	aivanov
# Host:	mysqld.localdomain
# Root:	/home/alexi/innodb/mysql-5.1-patches

--- 1.570/sql/mysqld.cc	2006-07-29 03:56:49 +04:00
+++ 1.571/sql/mysqld.cc	2006-07-29 03:56:49 +04:00
@@ -5899,9 +5899,11 @@
    (gptr*) &srv_n_spin_wait_rounds,
    0, GET_LONG, REQUIRED_ARG, 20L, 0L, ~0L, 0, 1L, 0},
   {"innodb_thread_concurrency", OPT_INNODB_THREAD_CONCURRENCY,
-   "Helps in performance tuning in heavily concurrent environments.",
+   "Helps in performance tuning in heavily concurrent environments. "
+   "Sets the maximum number of threads allowed inside InnoDB. Value 0"
+   " will disable the thread throttling.",
    (gptr*) &srv_thread_concurrency, (gptr*) &srv_thread_concurrency,
-   0, GET_LONG, REQUIRED_ARG, 8, 1, 1000, 0, 1, 0},
+   0, GET_LONG, REQUIRED_ARG, 8, 0, 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",
Thread
bk commit into 5.1 tree (aivanov:1.2255)Alex Ivanov Notebook28 Jul