{"id":2175495,"url":"http://patchwork.ozlabs.org/api/1.0/patches/2175495/?format=json","project":{"id":41,"url":"http://patchwork.ozlabs.org/api/1.0/projects/41/?format=json","name":"GNU C Library","link_name":"glibc","list_id":"libc-alpha.sourceware.org","list_email":"libc-alpha@sourceware.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<1b9286461cc1b5980ffb5a025563f25872037e13.1766051058.git.fweimer@redhat.com>","date":"2025-12-18T10:18:00","name":"[3/3] malloc: Increase tcache fill count from 16 to 32","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"4666463a95e33e1be424aa028c775cf884f0389a","submitter":{"id":14312,"url":"http://patchwork.ozlabs.org/api/1.0/people/14312/?format=json","name":"Florian Weimer","email":"fweimer@redhat.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/glibc/patch/1b9286461cc1b5980ffb5a025563f25872037e13.1766051058.git.fweimer@redhat.com/mbox/","series":[{"id":485815,"url":"http://patchwork.ozlabs.org/api/1.0/series/485815/?format=json","date":"2025-12-18T10:17:02","name":"malloc: batched frees","version":1,"mbox":"http://patchwork.ozlabs.org/series/485815/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2175495/checks/","tags":{},"headers":{"Return-Path":"<libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":["incoming@patchwork.ozlabs.org","libc-alpha@sourceware.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","libc-alpha@sourceware.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=Hb2ol3GU;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=Hb2ol3GU","sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com","sourceware.org; spf=pass smtp.mailfrom=redhat.com","server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.129.124"],"Received":["from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dX6Bx4XdWz1xty\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 18 Dec 2025 21:21:13 +1100 (AEDT)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 6EE7D4BA2E07\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 18 Dec 2025 10:21:11 +0000 (GMT)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by sourceware.org (Postfix) with ESMTP id 8AA8E4BA2E2C\n for <libc-alpha@sourceware.org>; Thu, 18 Dec 2025 10:18:06 +0000 (GMT)","from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-635-6_1wnPalNHW_T_nQ1dw9aQ-1; Thu,\n 18 Dec 2025 05:18:04 -0500","from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id A853E195608A\n for <libc-alpha@sourceware.org>; Thu, 18 Dec 2025 10:18:03 +0000 (UTC)","from fweimer-oldenburg.csb.redhat.com (unknown [10.44.33.94])\n by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id EFF971956056\n for <libc-alpha@sourceware.org>; Thu, 18 Dec 2025 10:18:02 +0000 (UTC)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 6EE7D4BA2E07","OpenDKIM Filter v2.11.0 sourceware.org 8AA8E4BA2E2C"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 8AA8E4BA2E2C","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 8AA8E4BA2E2C","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1766053086; cv=none;\n b=wm7zXRajk+E7BfBn+HRBySmUrWVZXpa1CCKPfPqSqXwL222fjtJ7JirqvZvsWKpaqExuwvwEtcNMI7/ZPintAxBCcCh3Y1/YHNv7DHx6aYeqwbWhwWkWEW9ucuU/FSBOi+1SBD65rMKXk0XL6zmU85W7v0FYAR8o0vXolkAuruA=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1766053086; c=relaxed/simple;\n bh=pW8nw3UDBFZNPNoTcB3rYgy8G28DYE11saltrx2nEfs=;\n h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version;\n b=BUnnonN7PFQP2KGpE4piBL//25knsy1stwV6wP4oKf+OjPeG+DFqtCY/DUYAEwHXrLJV382rIxz6yWAAjfVBXSzpljSZC5tgeB6B+J2ystjtCCPF3f4FvJ05oq0DMsxl02LeGSa4C8lO9EiyWv34Fuv0RQQz/CfZyjV5+nPKTFk=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1766053086;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=zqArtcsnw4dV1bS3jF8WuBA+IgCOslG7I0fS5sIU8z0=;\n b=Hb2ol3GUg8/FGq0oPfvZzVlmQIr60J3zt11yEFtxvyPsrSqjCmdbfLhTmB6rGVkTiq3WYO\n 3s3XE9iwLDPABezkaIIbq+h9tjfmc/8P3BZG8EkI4XlODkakbGvVMsdbMohlmDN8DHc3Ck\n mM0WC7/sMrJ4A8odPNYVz5lsulUV4TE=","X-MC-Unique":"6_1wnPalNHW_T_nQ1dw9aQ-1","X-Mimecast-MFC-AGG-ID":"6_1wnPalNHW_T_nQ1dw9aQ_1766053083","From":"Florian Weimer <fweimer@redhat.com>","To":"libc-alpha@sourceware.org","Subject":"[PATCH 3/3] malloc: Increase tcache fill count from 16 to 32","In-Reply-To":"<cover.1766051058.git.fweimer@redhat.com>","Message-ID":"\n <1b9286461cc1b5980ffb5a025563f25872037e13.1766051058.git.fweimer@redhat.com>","References":"<cover.1766051058.git.fweimer@redhat.com>","X-From-Line":"1b9286461cc1b5980ffb5a025563f25872037e13 Mon Sep 17 00:00:00 2001","Date":"Thu, 18 Dec 2025 11:18:00 +0100","User-Agent":"Gnus/5.13 (Gnus v5.13)","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.0 on 10.30.177.17","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"0zjrmiek3pNA1Dy1lQ7oRPZSZLVhjNHND8kldYHklCY_1766053083","X-Mimecast-Originator":"redhat.com","Content-Type":"text/plain","X-BeenThere":"libc-alpha@sourceware.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Libc-alpha mailing list <libc-alpha.sourceware.org>","List-Unsubscribe":"<https://sourceware.org/mailman/options/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe>","List-Archive":"<https://sourceware.org/pipermail/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-request@sourceware.org?subject=help>","List-Subscribe":"<https://sourceware.org/mailman/listinfo/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=subscribe>","Errors-To":"libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org"},"content":"This avoids a regression in the omnetpp and xalancbmk benchmarks\nof SPEC.  Apparently, these benchmarks are very sensitive to the\nfill rate in malloc.\n\nSuggested-by: Wilco Dijkstra <wilco.dijkstra@arm.com>\nTested-by: Wilco Dijkstra <wilco.dijkstra@arm.com>\n---\n malloc/malloc.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/malloc/malloc.c b/malloc/malloc.c\nindex d42f0183e3..d60a133a06 100644\n--- a/malloc/malloc.c\n+++ b/malloc/malloc.c\n@@ -314,7 +314,7 @@\n \n /* This is another arbitrary limit, which tunables can change.  Each\n    tcache bin will hold at most this number of chunks.  */\n-# define TCACHE_FILL_COUNT 16\n+# define TCACHE_FILL_COUNT 32\n \n /* Maximum chunks in tcache bins for tunables.  This value must fit the range\n    of tcache->num_slots[] entries, else they may overflow.  */\n","prefixes":["3/3"]}