logo
Published on Conunity (http://www.conunity.com)

thread_cache_size

By webmaster
Created 2007-06-22 16:03

Information

How many threads the server should cache for reuse. When a client disconnects the client's threads are put in the cache if there are fewer than thread_cache_size threads there. Requests for threads are satisfied by reusing threads taken from the cache if possible and only when the cache is empty is a new thread created. This variable can be increased to improve performance if you have a lot of new connections. (Normally this doesn't provide a notable performance improvement if you have a good thread implementation.) By examining the difference between the Connections and Threads_created status variables you can see how efficient the thread cache is. For details see Section

Syntax

Example


Source URL:
http://www.conunity.com/thread_cache_size