all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] qemu + tcmalloc for rbd
@ 2024-01-09 17:02 DERUMIER, Alexandre
  2024-01-10  9:12 ` Fiona Ebner
  0 siblings, 1 reply; 6+ messages in thread
From: DERUMIER, Alexandre @ 2024-01-09 17:02 UTC (permalink / raw)
  To: pve-devel

Hi,

I still have this last year patch pending

https://lists.proxmox.com/pipermail/pve-devel/2023-May/056815.html

to enabled conditionnaly tcmalloc in qemu 

It's still required for performance with librbd with last qemu /lirbd
I get a 30-40% performance boost in iops and latency for small
read/writes.


I would like to have a solution in proxmox repo, instead of maintain it
on my side.


Currently, In production, I compile qemu with tcmalloc at build.

This patch serie, allow to do use LD_PRELOAD +  disable malloc_trim()
call in qemu.

I'm not expert in C (I re-used code from haproxy, which is doing
exactly the same thing with tcmalloc && trim). 
So if somebody can review it, it could be great :)



Another way (maybe safer), is to build 2 binary in same package 
(/usr/bin/kvm-tcmalloc  && /usr/bin/kvm), and give option to user to
choose it.









^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-10 18:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-09 17:02 [pve-devel] qemu + tcmalloc for rbd DERUMIER, Alexandre
2024-01-10  9:12 ` Fiona Ebner
2024-01-10  9:38   ` DERUMIER, Alexandre
2024-01-10 14:53     ` Thomas Lamprecht
2024-01-10 10:15   ` Thomas Lamprecht
2024-01-10 18:29     ` DERUMIER, Alexandre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal