lp://qastaging/~alexey2k/percona-server/5.5-perf-fixes-jemalloc

Created by Alexey Stroganov and last modified
Get this branch:
bzr branch lp://qastaging/~alexey2k/percona-server/5.5-perf-fixes-jemalloc
Only Alexey Stroganov can upload to this branch. If you are Alexey Stroganov please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

449. By Vadim Tkachenko

Added cmake routines to build with jemalloc:
  cmake ... -DWITH_JEMALLOC=<path/to/jemalloc/basedir>

Merged r3831(lp:mysqlatfacebook/51)
  mysql>show memory status\G

Added support to enable/disable jemalloc profile at runtime:
  mysql>set jemalloc_prof_active=<ON|OFF>;

Added support to dump jemalloc profile to the file at runtime:
  mysql>set jemalloc_prof_dump=<file>;

448. By Alexey Kopytov

Use malloc directly for trx_t structures.

446. By Alexey Kopytov

Bug #1125248: Suboptimal srv_pass_corrupt_table checks

The problem:

srv_pass_corrupt_table was checked in many places in the code,
sometimes on critical paths. In most cases the check looked like this:

 block = btr_block_get(space, zip_size, root_page_no, RW_X_LATCH,
         index, mtr);

 if (srv_pass_corrupt_table && !block) {
  return(0);
 }
 ut_a(block);

For the common (i.e. non-corrupted) case:

- it is more efficient to first check for the 'block' value, since it
  is already in a register, and then the value of
  srv_pass_corrupt_table does not have to be loaded no branch

- many branch mispredictions visible in profiles due to missing
  compiler annotations

- if srv_pass_corrupt_table is enabled, but block is not zero, it's
  value is checked twice.

Fixed by addressing all of the above problems in all
srv_pass_corrupt_table check sites.

445. By <email address hidden>

Merge lp:~sergei.glushchenko/percona-server/55-tp

444. By <email address hidden>

Empty merge from Percona Server 5.1

443. By <email address hidden>

Empty merge from Percona Server 5.1

442. By <email address hidden>

Empty merge from Percona Server 5.1

441. By <email address hidden>

Merge lp:~hrvojem/percona-server/bug1092189-5.5

440. By <email address hidden>

Merge lp:~laurynas-biveinis/percona-server/BT-16274-bug1105726-5.5

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/percona-server/5.5
This branch contains Public information 
Everyone can see this information.

Subscribers