June 20, 2013

Post: Memory allocators: MySQL performance improvements in Percona Server 5.5.30-30.2

… aspects of this problem: 1) memory allocation is an costly operation and if memory allocator has scalability problems (like allocator from glibc) this will notably…. 2) memory allocation for read-view structure is not a direct malloc() call, but rather goes through the InnoDB heap layer – so InnoDB allocates heap…

Comment: Investigating MySQL Replication Latency in Percona XtraDB Cluster

… setting regarding to memory allocation. So we did some memory allocation setting in my.cnf file. On first day after doing memory allocation setting in my… – 5.1.66 [Percona XtraDB Cluster (GPL) (5.5.30)] (InnoDB Engine) PHP My Admin – 5.3.3 Hardware: Node:2…

Post: Percona Server 5.5.30-30.2 rerelease fixes non-restart issue

… shipped with the libjemalloc library. Benchmark showing the impact of memory allocators on MySQL performance can be found in this blogpost. (Ignacio… most cases. This significantly improves InnoDB scalability on read-only workloads, especially when the default glibc memory allocator is used. Bug fixed #1131187…

Post: Percona Server for MySQL 5.5.30-30.2 now available

… shipped with the libjemalloc library. Benchmark showing the impact of memory allocators on MySQL performance can be found in this blogpost. (Ignacio… most cases. This significantly improves InnoDB scalability on read-only workloads, especially when the default glibc memory allocator is used. Bug fixed #1131187…

Post: Percona XtraDB Cluster 5.5.30-23.7.4 for MySQL now available

… for download from our repositories. Benchmark showing the impact of memory allocators on MySQL performance can be found in this blogpost. This… fixed #1154095 (Alex Yurchenko). If variable innodb_thread_concurrency has been defined to throttle InnoDB access, and work load contained DDL statements…

Post: The write cache: Swap insanity tome III

… is more complex and swapping can occur because of a memory imbalance between the physical cpus, the sockets and not cores… allocation of memory for the MySQL process using the numactl utility, drop the file cache and pre-allocate the innodb buffer pool with the innodb… 10am. Fri Mar 22 10:03:22 UTC 2013 procs ———–memory———- —swap– —–io—- –system– —–cpu—– Fri Mar 22 10:03:22…

Post: InnoDB memory allocation, ulimit, and OpenSUSE

…_malloc_low() in ut/ut0mem.c inside InnoDB source code. InnoDB wraps the majority of its memory allocations in ut_malloc_low(), so to get an idea of the pattern of requested allocations I…. I tested it with allocating 70 GB concurrently in each process so as to overrun physical memory + swap. Both allocations were successful, one…

Post: Impact of memory allocators on MySQL performance

… dynamic memory allocation so a good choice of memory allocator is quite important for the proper utilization of CPU/RAM resources. Efficient memory allocatorinnodb_buffer_pool_size=52G For every malloc allocator perform the following steps: start Percona server either with LD_PRELOAD=[allocator_…

Post: InnoDB memory usage

… how InnoDB allocates memory. I’ll try to give some explanation about the memory allocation at startup. Some important constants: NBLOCKS=count of block in innodb_buffer_pool = innodb_buffer_pool_size / 16384 OS_THREADS= if (innodb

Post: Troubleshooting MySQL Memory Usage

… “Total Memory Allocated” is really not the total any more as Innodb has moved allocating memory from operation system directly not from addition memory pool (hence 0). Such allocations are not seen in “Total memory allocated” line…