How to LD_PRELOAD jemalloc to kvm ?

adoII

Renowned Member
Jan 28, 2010
182
19
83
Hi List,

the latency of ceph io is quite high under kvm.

The guys in the ceph mailing list say latency can be improved by preloading jemalloc to kvm binary.

Is there a nice and elegant way to prepend spmething LD_PRELOAD=$LD_PRELOAD:/usr/lib64/libjemalloc.so.1 to the kvm call in proxmox ?

Many Greetings
 
PVE's version of Qemu is already built (and linked) with jemalloc.