From: Fiona Ebner <f.ebner@proxmox.com>
To: Kefu Chai <k.chai@proxmox.com>, pve-devel@lists.proxmox.com
Subject: Re: [PATCH pve-qemu 2/2] d/rules: enable tcmalloc as the memory allocator
Date: Mon, 13 Apr 2026 15:13:58 +0200 [thread overview]
Message-ID: <5b5df6ab-0efe-4c61-90e4-6c34d41bc12f@proxmox.com> (raw)
In-Reply-To: <20260410043027.3621673-3-k.chai@proxmox.com>
Am 10.04.26 um 6:29 AM schrieb Kefu Chai:
> Use tcmalloc (from gperftools) instead of glibc's allocator for
> improved performance with workloads that create many small, short-lived
> allocations -- particularly Ceph/librbd I/O paths. Ceph benchmarks
> show ~50% IOPS improvement on 16KB random reads.
>
> tcmalloc was originally used in 2015 but removed due to tuning issues
> with gperftools 2.2. PVE 9 ships gperftools 2.16, where those issues
> are long resolved.
>
> Signed-off-by: Kefu Chai <k.chai@proxmox.com>
> ---
> debian/control | 1 +
> debian/rules | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/debian/control b/debian/control
> index 81cc026..a3121e1 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -14,6 +14,7 @@ Build-Depends: debhelper-compat (= 13),
> libfuse3-dev,
> libgbm-dev,
> libgnutls28-dev,
> + libgoogle-perftools-dev,
> libiscsi-dev (>= 1.12.0),
> libjpeg-dev,
> libjson-perl,
Please also add the runtime dependency to Depends:
> diff --git a/debian/rules b/debian/rules
> index c90db29..a63e3a5 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -70,6 +70,7 @@ endif
> --enable-libusb \
> --enable-linux-aio \
> --enable-linux-io-uring \
> + --enable-malloc=tcmalloc \
> --enable-numa \
> --enable-opengl \
> --enable-rbd \
next prev parent reply other threads:[~2026-04-13 13:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-10 4:30 [PATCH pve-qemu 0/2] Re-enable " Kefu Chai
2026-04-10 4:30 ` [PATCH pve-qemu 1/2] PVE: use " Kefu Chai
2026-04-13 13:12 ` Fiona Ebner
2026-04-10 4:30 ` [PATCH pve-qemu 2/2] d/rules: enable " Kefu Chai
2026-04-13 13:13 ` Fiona Ebner [this message]
2026-04-13 13:23 ` DERUMIER, Alexandre
2026-04-13 13:40 ` Fabian Grünbichler
2026-04-14 8:10 ` Fiona Ebner
2026-04-10 8:12 ` [PATCH pve-qemu 0/2] Re-enable " Fiona Ebner
2026-04-10 10:45 ` DERUMIER, Alexandre
2026-04-13 8:14 ` Fiona Ebner
2026-04-13 11:13 ` Kefu Chai
2026-04-13 13:14 ` DERUMIER, Alexandre
2026-04-13 13:18 ` Fiona Ebner
2026-04-14 5:41 ` Kefu Chai
2026-04-14 5:48 ` superseded: " Kefu Chai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b5df6ab-0efe-4c61-90e4-6c34d41bc12f@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=k.chai@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox