Vladislav Vaintroub
2a5d8ea9a2
Added copiright, some more comments
2012-02-17 23:27:15 +01:00
Vladislav Vaintroub
cfa56f900a
address second round review comments
2012-02-16 16:59:04 +01:00
Vladislav Vaintroub
d50649ecf7
small cleanups
2012-01-24 03:23:14 +01:00
Vladislav Vaintroub
d212991e89
Get rid of idle thread counter atomic variable.
...
Instead, use function that loops over groups and
calculates idle threads for "show status".
2012-01-15 15:41:25 +01:00
Vladislav Vaintroub
18c9b345b4
Threadpool -address review comments
2012-01-15 11:17:45 +01:00
Vladislav Vaintroub
c216c9f0f0
Allow for faster creation of threads in corner cases where pool would be overloaded with long non-yielding queries.
...
To allow it, change minimum of thread_pool_stall_limit to be 10 milliseconds.
Also introduce a new parameter to oversubscribe a group . Number of threads running in parallel would be higher than it normally should, leading to thrashing, but it may improving preemptiveness, which is useful for the described corner case.
2011-12-31 05:24:11 +01:00
Vladislav Vaintroub
bb0a0c52a6
Make threadpool_stall_limit variable really dynamic
2011-12-29 21:11:06 +01:00
Vladislav Vaintroub
df48c9bf20
allow changing thread_pool_size without server restart
2011-12-19 13:28:30 +01:00
Vladislav Vaintroub
a5a22e9f64
Small adjustements to threadpool
2011-12-18 20:40:38 +01:00
Vladislav Vaintroub
e91bbca5fb
Initial threadpool implementation for MariaDB 5.5
2011-12-08 19:17:49 +01:00