← Back to team overview

maria-developers team mailing list archive

Re: [Commits] 3d1b65b: MDEV-7943 - pthread_getspecific() takes 0.76% in OLTP RO

 

Hi, Sergey!

On Apr 28, svoj@xxxxxxxxxxx wrote:
> revision-id: 3d1b65b4923a49f9303501dd546af02982608b2b
> parent(s): 8a0f3310275f7b4fa445f907140f677910e18999
> committer: Sergey Vojtovich
> branch nick: mariadb
> timestamp: 2015-04-28 15:20:48 +0400
> message:
> 
> MDEV-7943 - pthread_getspecific() takes 0.76% in OLTP RO
> 
> Pass THD to find_all_keys() and Item_equal::Item_equal().
> In MRR use table->in_use instead of current_thd.
> 
> This reduces number of pthread_getspecific() calls from 354 to 320.

ok to push.
although for find_all_keys() it doesn't make any sense, it's a big,
complex, and expensive function. One current_thd doesn't change
anything.

Regards,
Sergei