Replace InnoDB heap allocation with direct malloc() in trx_create()
Bug #1185686 reported by
Laurynas Biveinis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Wishlist
|
Laurynas Biveinis | ||
5.1 |
Won't Fix
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
Wishlist
|
Laurynas Biveinis | ||
5.6 |
Fix Released
|
Wishlist
|
Laurynas Biveinis |
Bug Description
Benchmarks show that calling malloc() directly instead of mem_alloc() in trx_create() improves performance for high levels of concurrency.
Related branches
lp:~laurynas-biveinis/percona-server/bug1185686-5.5
- Vlad Lesin (community): Approve
-
Diff: 30 lines (+3/-3)1 file modifiedPercona-Server/storage/innobase/trx/trx0trx.c (+3/-3)
lp:~laurynas-biveinis/percona-server/bug1185686-5.6
- Vlad Lesin (community): Approve
-
Diff: 94 lines (+53/-2)3 files modifiedPercona-Server/storage/innobase/include/ut0mem.h (+16/-0)
Percona-Server/storage/innobase/trx/trx0trx.cc (+2/-2)
Percona-Server/storage/innobase/ut/ut0mem.cc (+35/-0)
tags: | added: performance xtradb |
To post a comment you must log in.
We should revert this fix, created bug #1189743.