From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id BF2C992C08 for ; Thu, 23 Mar 2023 07:57:55 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9D0462E0C0 for ; Thu, 23 Mar 2023 07:57:55 +0100 (CET) Received: from bastionodiso.odiso.net (bastionodiso.odiso.net [IPv6:2a0a:1580:2000::2d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Thu, 23 Mar 2023 07:57:54 +0100 (CET) Received: from kvmformation3.odiso.net (formationkvm3.odiso.net [10.3.94.12]) by bastionodiso.odiso.net (Postfix) with ESMTP id C451A80BA; Thu, 23 Mar 2023 07:57:53 +0100 (CET) Received: by kvmformation3.odiso.net (Postfix, from userid 0) id B22152418E5; Thu, 23 Mar 2023 07:57:53 +0100 (CET) From: Alexandre Derumier To: pve-devel@lists.proxmox.com Date: Thu, 23 Mar 2023 07:57:47 +0100 Message-Id: <20230323065750.17230-1-aderumier@odiso.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.024 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% HEADER_FROM_DIFFERENT_DOMAINS 0.25 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods NO_DNS_FOR_FROM 0.001 Envelope sender has no MX or A DNS records SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [qemuserver.pm] Subject: [pve-devel] [PATCH-SERIES qemu, qemu-server, manager 0/1] add tcmalloc support X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2023 06:57:55 -0000 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. 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