1
Faculdade de Computação – Universidade Federal de Uberlândia
2
Curso de Bacharelado em Ciência da Computação - Faculdade de Computação –
Universidade Federal de Uberlândia
{rivalino,autran}@facom.ufu.br, taisbferreira@comp.ufu.br
Abstract. Memory allocations are one of the most ubiquitous operations in computer
programs. The performance of the allocators that implement these operations is very important
for the overall performance although it is very often negligenced. This paper presents a com-
parative study of five general purpose and open source memory allocators. Unlike other related
works, based on benchmark tests that are difficult to generalize to real-world applications, this
work evaluates the selected allocators’ performance combined with the MySQL software. The
results demonstrate that MySQL shows the best performance when using the jemalloc allocator,
especially when it is compared with the standard glibc allocator.
1. INTRODUÇÃO
que é ligada ao programa durante a geração do seu código executável. No Linux, a glibc1 é a
1
www.gnu.org/software/libc/
122 na etapa de experimentação, enfatizando a metodologia e os planos experimentais adotados.
A Seção 4 apresenta uma análise dos principais resultados obtidos na etapa experimental. Fi-
XI Worshop sobre Software Livre
2. ALOCADORES INVESTIGADOS
A diferença é que o ptmalloc2 é baseado na versão dlmalloc 2.7.0 enquanto o nedalloc é base-
3. ESTUDO EXPERIMENTAL
5. CONCLUSÃO
penho dos alocadores avaliados com o popular gerenciador de banco de dados MySQL, muito
REFERÊNCIAS