Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ujx2r-00Dyf9-KQ for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Aug 2025 09:36:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ujx2p-003Noc-OG for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Aug 2025 09:36:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ujx2p-003NoR-Ey for pgsql-hackers@lists.postgresql.org; Thu, 07 Aug 2025 09:36:19 +0000 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ujx2m-001EXG-2c for pgsql-hackers@lists.postgresql.org; Thu, 07 Aug 2025 09:36:18 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 2014543123; Thu, 7 Aug 2025 09:36:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vondra.me; s=gm1; t=1754559374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Cg5jF7Rjm1ePAGvZR7XD1pTpuBoqhHydGWLVR4EyCR8=; b=T2/dqQLZmCfk4yKSLLViix+Y8CIuA3edWAyhEMYS5i3AqeS3rUnaSDyrdCCXtMLXZHyTW6 +SduNFrCJ5qhSjqpRe1rr2q0oDXmqnjjrbNsV5CkgoHWclykZu5VPhJblgN6UDV/woBhhO YAupbTxV/oyJr9gGfSSf/Z/nkl9iM5hJmKTmbBTTVlMdEOXxegVCR3CQG3PQG8GIq+gE/B 8kyfVZ8RODTBc2pxJAd+jsfJ447wLe4Zz3ShpXiy3C0gM/gs6PQ3gPXqXuZO5Fh2FP/UnU R9VCo7hVKKV0B7698cuxXAH8KsXcmega9+Axp/NB75bTkXaTQ/f/U/UP5ircCw== Message-ID: Date: Thu, 7 Aug 2025 11:36:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Adding basic NUMA awareness From: Tomas Vondra To: Jakub Wartak Cc: PostgreSQL Hackers References: <099b9433-2855-4f1b-b421-d078a5d82017@vondra.me> <5a2410f8-62a9-4483-bf0a-3a8331fb0808@vondra.me> <71a46484-053c-4b81-ba32-ddac050a8b5d@vondra.me> <1b5bf372-6d40-4022-bf4f-367ffb61ee51@vondra.me> <51e51832-7f47-412a-a1a6-b972101cc8cb@vondra.me> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduvddtheekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuhffvvehfjggtgfesthejredttddvjeenucfhrhhomhepvfhomhgrshcugghonhgurhgruceothhomhgrshesvhhonhgurhgrrdhmvgeqnecuggftrfgrthhtvghrnhephfeggfeljeevgfejteeuvdfhhfduteevlefguefgudelvdffjeelgeejhfetffeknecukfhppeekiedrgeelrddvfedtrddvtdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepkeeirdegledrvdeftddrvddtiedphhgvlhhopegluddtrddufeejrddtrddvngdpmhgrihhlfhhrohhmpehtohhmrghssehvohhnughrrgdrmhgvpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjhgrkhhusgdrfigrrhhtrghksegvnhhtvghrphhrihhsvggusgdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-GND-Sasl: tomas@vondra.me List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 8/7/25 11:24, Tomas Vondra wrote: > Hi! > > Here's a slightly improved version of the patch series. > Ah, I made a mistake when generating the patches. The 0001 and 0002 patches are not part of the NUMA stuff, it's just something related to benchmarking (addressing unrelated bottlenecks etc.). The actual NUMA patches start with 0003. Also, 0007, 0008 and 0009 should ultimately be collapsed into a single patch. It's all about the clocksweep partitioning, I only kept those separate to make it easier to see the changes and review. regards -- Tomas Vondra