Re: [Maria-developers] [Commits] 3d1b65b: MDEV-7943 - pthread_getspecific() takes 0.76% in OLTP RO
18 Jun
2015
18 Jun
'15
11:09 a.m.
Hi, Sergey! On Apr 28, svoj@mariadb.org 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
3426
Age (days ago)
3426
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sergei Golubchik