[pve-devel] [PATCH-SERIES v2 qemu, qemu-server, manager 0/1] add tcmalloc support
Alexandre Derumier
aderumier at odiso.com
Tue May 16 13:22:07 CEST 2023
This patches series add support for tcmalloc allocator with a new optionnal
tuning option in qemu-server.
tcmalloc improve librbd performance by 30% in latency and iops.
some performance bench results:
malloc: 60k iops 4k randread
tcmalloc : 90k iops 4k randread
a qemu patch is provided, to detect if a different memory allocator than
glibc malloc is loaded through LD_PRELOAD, to avoid the call of malloc_trim().
I don't have seen crash without this patch, but it's safer with it,
and as it's called 3-4x by second, it'll avoid some unnecessary calls.
changelog v2:
- update qemu patch for qemu 8.0
qemu:
Alexandre Derumier (1):
add patch: add memory allocator detection and use malloc_trim for
glibc only
...-and-call-malloc_trim-only-for-glibc.patch | 163 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 164 insertions(+)
create mode 100644 debian/patches/pve/0063-detect-allocator-and-call-malloc_trim-only-for-glibc.patch
qemu-server:
Alexandre Derumier (1):
qemu options: add tuning allocator
PVE/QemuServer.pm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
pve-manager:
Alexandre Derumier (1):
ui: qemu : add tuning option
--
2.30.2
More information about the pve-devel
mailing list