• Vladislav Vaintroub's avatar
    Allow for faster creation of threads in corner cases where pool would be... · c216c9f0
    Vladislav Vaintroub authored
    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.
    c216c9f0
thread_pool_oversubscribe_basic.test 1.33 KB