Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pK8C2-0000PO-2I for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Jan 2023 01:33:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pK8C0-0001Sn-M0 for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Jan 2023 01:33:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pK8C0-0001Se-Cb for pgsql-hackers@lists.postgresql.org; Tue, 24 Jan 2023 01:33:44 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pK8Bw-0007hl-9g for pgsql-hackers@postgresql.org; Tue, 24 Jan 2023 01:33:42 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 766255C012F; Mon, 23 Jan 2023 20:33:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 23 Jan 2023 20:33:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1674524018; x=1674610418; bh=leQvYxHpCm YhxNLhz4la95MtWF0t744ht23IUShFyK0=; b=TyW9AbdNRu9A+S3f149j9186Eb tDDOCb/28rF44Q+O/7GWTFFgaknG/dZpMg2ECVO7TDd3Zjs9aP3TIGTbTQod8UJn 2RQadUM6RbnZ8Ax/xU9HlNDr4YiIqrlQUArx8CVSUbdWTo2/Frphak5RMJOa5A8a rQpDupArEPCRdJA9TSH6lJ9SkiaCVMEG4gbIRt42CQLF83TXoT4VjRgZNNtzpA1l gvzic5pZNtJcrJqkUlB2yVpOvro9rnvKY8GtNXMU0LUX9N7MnZnO5vpBDUfMfeVc J43806HaeSUOcCWZOnyq7NtBJ4719Z8p+WIZ3BVWmdoN5X0u7Xe3XbEalA/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1674524018; x=1674610418; bh=leQvYxHpCmYhxNLhz4la95MtWF0t 744ht23IUShFyK0=; b=JS6gzOv/c82SfY+Na2T83/LR5KO99jHiR/6rA3+uAHna jA7tuQYsCDQR2aHd+sADAvHsrij2htU9dmFSoFs7EbhGyMHc+wmkZVD+mbY8s7aV zN4bYfzlAUXjDRdOCHw19UiFfktd40N3KuqfDnKl6WZoJekVcgopfH+a05EA+ys7 ftQpH8DtVeG6HG27dOyLiYP3+8pF23CugwnBD5w/ME5uKy86SRAc9KOBrmrp07dr DI7ZbAf4FMzHp3UlxRImz4IeG5M5vHZrK13QY/Pxit1WPdsKAvOQvTJvj5BkUePD tHqCZP+i26oX/jvgO2bqBz7MeSdvNbTtUWOXs1+e+A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudduledgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Jan 2023 20:33:37 -0500 (EST) Date: Mon, 23 Jan 2023 17:33:35 -0800 From: Andres Freund To: Justin Pryzby Cc: Michael Paquier , Kyotaro Horiguchi , thomas.munro@gmail.com, tgl@sss.pgh.pa.us, john.naylor@enterprisedb.com, noriyoshi.shinoda@hpe.com, jchampion@timescale.com, sawada.mshk@gmail.com, masao.fujii@oss.nttdata.com, pgsql-hackers@postgresql.org, rjuju123@gmail.com Subject: Re: Improve logging when using Huge Pages Message-ID: <20230124013335.7u75j75ze5o7uh2l@awork3.anarazel.de> References: <20221107151458.6puzamerxti2y5in@awork3.anarazel.de> <3239882.1667836576@sss.pgh.pa.us> <20221109.114757.661491395677294771.horikyota.ntt@gmail.com> <20230124012100.GB13860@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230124012100.GB13860@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2023-01-23 19:21:00 -0600, Justin Pryzby wrote: > Michael seemed to support this idea and nobody verbalized hatred of it, > so I implemented it. In v15, we have shared_memory_size_in_huge_pages, > so this adds effective_huge_pages. > > Feel free to suggest a better name. Hm. Should this be a GUC? There's a reason shared_memory_size_in_huge_pages is one - it's so it's accessible via -C. But here we could make it a function or whatnot as well. I'm ok with this being a GUC, it doesn't feel elegant, but I suspect there's no realistic elegant answer. Greetings, Andres Freund