<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git/sql/threadpool.h, branch bb-10.2-mdev9736</title>
<subtitle>github.com: MariaDB/server.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/'/>
<entry>
<title>MDEV-10297 Add priorization to threadpool</title>
<updated>2016-09-22T17:01:28+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2016-09-21T14:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=f7a7c0c2fec3dcca331bb529f8314273360c72ae'/>
<id>f7a7c0c2fec3dcca331bb529f8314273360c72ae</id>
<content type='text'>
Also MDEV-10385 Threadpool refactoring
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also MDEV-10385 Threadpool refactoring
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix leak from missing my_thread_end</title>
<updated>2016-03-09T15:42:45+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2016-03-09T15:42:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=35e713dcca0207c1dc9459fc9cd7c3913cbe0be7'/>
<id>35e713dcca0207c1dc9459fc9cd7c3913cbe0be7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix threadpool after it was broken by MDEV-6150</title>
<updated>2016-03-08T09:28:26+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2016-03-08T09:28:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=1a3db0e24f8e5be37a9aff2cce4681670f9de044'/>
<id>1a3db0e24f8e5be37a9aff2cce4681670f9de044</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation</title>
<updated>2016-02-09T23:20:23+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2016-02-09T23:20:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=b436db98fe123f4b0c83df3532881b038f7d9a9d'/>
<id>b436db98fe123f4b0c83df3532881b038f7d9a9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-6150 Speed up connection speed by moving creation of THD to new thread</title>
<updated>2016-02-07T08:34:03+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2016-02-01T10:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=3d4a7390c1a94ef6e07b04b52ea94a95878cda1b'/>
<id>3d4a7390c1a94ef6e07b04b52ea94a95878cda1b</id>
<content type='text'>
Creating a CONNECT object on client connect and pass this to the working thread which creates the THD.
Split LOCK_thread_count to different mutexes
Added LOCK_thread_start to syncronize threads
Moved most usage of LOCK_thread_count to dedicated functions
Use next_thread_id() instead of thread_id++

Other things:
- Thread id now starts from 1 instead of 2
- Added cast for thread_id as thread id is now of type my_thread_id
- Made THD-&gt;host const (To ensure it's not changed)
- Removed some DBUG_PRINT() about entering/exiting mutex as these was already logged by mutex code
- Fixed that aborted_connects and connection_errors_internal are counted in all cases
- Don't take locks for current_linfo when we set it (not needed as it was 0 before)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Creating a CONNECT object on client connect and pass this to the working thread which creates the THD.
Split LOCK_thread_count to different mutexes
Added LOCK_thread_start to syncronize threads
Moved most usage of LOCK_thread_count to dedicated functions
Use next_thread_id() instead of thread_id++

Other things:
- Thread id now starts from 1 instead of 2
- Added cast for thread_id as thread id is now of type my_thread_id
- Made THD-&gt;host const (To ensure it's not changed)
- Removed some DBUG_PRINT() about entering/exiting mutex as these was already logged by mutex code
- Fixed that aborted_connects and connection_errors_internal are counted in all cases
- Don't take locks for current_linfo when we set it (not needed as it was 0 before)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '10.0' into 10.1</title>
<updated>2015-12-21T20:24:22+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2015-12-21T20:24:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=a2bcee626d4ef2836e38e4932305871390164644'/>
<id>a2bcee626d4ef2836e38e4932305871390164644</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-9156 : Fix tp_add_connection()'s error handling</title>
<updated>2015-12-04T17:16:04+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2015-12-04T17:16:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=50160216eab066de7a71dd8e355f0c5cb29c8789'/>
<id>50160216eab066de7a71dd8e355f0c5cb29c8789</id>
<content type='text'>
Avoid possible my_thread_end() in the main polling thread.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid possible my_thread_end() in the main polling thread.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve performance for calculating memory allocation</title>
<updated>2015-02-01T13:24:22+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2015-02-01T13:24:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=0ee879ff8ac1b80cd9a963015344f5698a81f309'/>
<id>0ee879ff8ac1b80cd9a963015344f5698a81f309</id>
<content type='text'>
Extend interface for 'show variables' with current scope
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extend interface for 'show variables' with current scope
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-5205 - MariaDB does not start if more than 128 cpu's are available</title>
<updated>2013-11-05T05:18:59+00:00</updated>
<author>
<name>Sergey Vojtovich</name>
<email>svoj@mariadb.org</email>
</author>
<published>2013-11-05T05:18:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=fd9f1638ea7401e9bc72653882fded4c0dee15d8'/>
<id>fd9f1638ea7401e9bc72653882fded4c0dee15d8</id>
<content type='text'>
- thread_pool_size command line option upper limit increased to 100 000
  (same as for max_connections)
- thread_pool_size system variable upper limit is maximum of 128 or
  the value given at command line
- thread groups are now allocated dynamically

Different limit for command line option and system variable was done to
avoid additional mutex for all_groups and threadpool_max_size.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- thread_pool_size command line option upper limit increased to 100 000
  (same as for max_connections)
- thread_pool_size system variable upper limit is maximum of 128 or
  the value given at command line
- thread groups are now allocated dynamically

Different limit for command line option and system variable was done to
avoid additional mutex for all_groups and threadpool_max_size.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added copiright, some more comments</title>
<updated>2012-02-17T22:27:15+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@montyprogram.com</email>
</author>
<published>2012-02-17T22:27:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=2a5d8ea9a201a1bf33fe309b8293e31ebd961e60'/>
<id>2a5d8ea9a201a1bf33fe309b8293e31ebd961e60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
