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 1rgsPX-008QZC-IR for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Mar 2024 20:26:16 +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 1rgsPU-0029oL-Gv for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Mar 2024 20:26:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rgsPT-0029o8-Bi for pgsql-hackers@lists.postgresql.org; Sun, 03 Mar 2024 20:26:12 +0000 Received: from fout2-smtp.messagingengine.com ([103.168.172.145]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rgsPN-002gd8-BW for pgsql-hackers@lists.postgresql.org; Sun, 03 Mar 2024 20:26:10 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id 0557113800CD; Sun, 3 Mar 2024 15:26:06 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 03 Mar 2024 15:26:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709497566; x= 1709583966; bh=XFIHaMHO7iKuo11YlE94TptF2GQr16jcHkd7JpRWIXc=; b=F JytWMViut+1Z7YapbrmE9V8nXvdyhI4NxPOAQf+4DMuR7spencLNZQHb8jvstwRY aJ2pnwDBfGVhlsh+PfsRSWolW00owWNaF7rVQdTOfcwRcQxKqS2OfPFC4FgFlaa6 d/mCCyLUpPLY4p025FYOVPSoiYLVtp0s5puecDlh+HU0opR8iCY82n2PlNccT8Mr Eg6LxHnmYtaFAAMKR9kAarO2ZfwRihiNMNBFdS5qMlq+GZ1sRhMG+TcZrLMApFIC TbSWjeUcaYW6T6Rvu3k2VQz4Li0E+XoRS5l2yKsANaVag0dPba4JYQHMIXKg6hMW gPUGxlr95fbhdPVG9EDwg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrheehgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfggtggugfgjsehtke ertddttdejnecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhr vgesrghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpedvkedtffduff dtffffheffhfejjefhgfeiueeukeejkeffgfdufffhudffffeuveenucffohhmrghinhep vghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhr gh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 3 Mar 2024 15:26:05 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1709474319; bh=FYeLum7iX4fDNte9IPG4a3kHn/I2gv0KJT8w5OImitQ=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=SguYqXF/87eRYuN1BiIbWHaPZOUgC68kNA/RuLDpUTGDnRTkEHsoWCCbu3um6a8lL z4M6T+44RABuIp4mx2X99SIIbK2cy/3Mvj65y509ndsk4onna8xLvBjntklJjHcDUE tzJjrP+IwxNMzKP+QgSYhLrHulxL/+Cgbn+qOQF/LMdKK2PFAyQyr5jPZ/BeoR/aGS xk889hLHYHAH7s776ZHFVMC2AYQ6To0tuhL1L0ZLR/oga9ZckSEDHVy/06aFlCJS7y abRpJCUM5tSySR2Tf0Sl6VDadXuj4dn5ay0cFSSoFsd3CdJnTZfXKxmqlfjIpRCvjw 5+58msozgrKfg== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id B2AC4CD5; Sun, 3 Mar 2024 14:58:39 +0100 (CET) Date: Sun, 3 Mar 2024 14:58:39 +0100 From: Alvaro Herrera To: Kyotaro Horiguchi Cc: x4mmm@yandex-team.ru, dilipbalaut@gmail.com, tndrwang@gmail.com, pgsql-hackers@lists.postgresql.org, tomas.vondra@enterprisedb.com Subject: Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock Message-ID: <202403031358.b435eh7u72td@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202402291046.xpykltdowf22@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Feb-29, Alvaro Herrera wrote: > On 2024-Feb-29, Kyotaro Horiguchi wrote: > > Some of them, commit_timestamp_buffers, transaction_buffers, > > subtransaction_buffers use 0 to mean auto-tuning based on > > shared-buffer size. I think it's worth adding an extra_desc such as "0 > > to automatically determine this value based on the shared buffer > > size". > > How about this? Pushed that way, but we can discuss further wording improvements/changes if someone wants to propose any. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "La rebeldía es la virtud original del hombre" (Arthur Schopenhauer)