Re: [Maria-developers] Analysing MariaDB 5.5 sysbench performance regression

2012-03-22 Thread Kristian Nielsen
MARK CALLAGHAN writes: >> Another is my_hash_sort_simple(). This is not a regression, but Oprofile >> shows >> we spend 10% of total time in this function. > > Does this do utf aware compares or memcmp? This one uses collations - so not memcmp. It is used for SELECT DISTINCT and GROUP BY. This

Re: [Maria-developers] Analysing MariaDB 5.5 sysbench performance regression

2012-03-20 Thread MARK CALLAGHAN
> > But my main point is to present these results, to show that we have a very > useful tool to pin-point these performance issues, and to start discussion in > more detail (and I have plenty more of those). Nice work. > > Another is my_hash_sort_simple(). This is not a regression, but Oprofile s

Re: [Maria-developers] Analysing MariaDB 5.5 sysbench performance regression

2012-03-20 Thread Kristian Nielsen
Kristian Nielsen writes: Some additional info found from analysis so far: > 39k mysql_select This seems mostly caused by expensive JOIN constructor, as Wlad mentioned. > 16k JOIN::choose_subquery_plan This is caused by unnecessary C++ object construction (thanks, Timour!). Moving

Re: [Maria-developers] Analysing MariaDB 5.5 sysbench performance regression

2012-03-20 Thread Vladislav Vaintroub
o: maria-developers@lists.launchpad.net > Subject: [Maria-developers] Analysing MariaDB 5.5 sysbench performance > regression > > I have been analysing the performance difference between MariaDB 5.5.21 > and > MySQL 5.5.21 using oltp.lua in sysbench 0.5. It turns out that MySQ

[Maria-developers] Analysing MariaDB 5.5 sysbench performance regression

2012-03-20 Thread Kristian Nielsen
I have been analysing the performance difference between MariaDB 5.5.21 and MySQL 5.5.21 using oltp.lua in sysbench 0.5. It turns out that MySQL has about 8% higher tps in this benchmark when running CPU bound. (See below for links to blog posts that started this). I took the base sysbench run and