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 1mSUtW-00018J-4R for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Sep 2021 01:48:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mSUtU-0003hD-Ty for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Sep 2021 01:48:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSUtT-0003h5-HQ for pgsql-hackers@lists.postgresql.org; Tue, 21 Sep 2021 01:48:24 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSUtR-0002iw-3a for pgsql-hackers@postgresql.org; Tue, 21 Sep 2021 01:48:22 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 36B2A580B67; Mon, 20 Sep 2021 21:48:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 20 Sep 2021 21:48:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=dAY94garOeSdvzqji0JNrreKYQm JrZRdTeP36lltk9A=; b=P1IcCYBVd7LVpDorwLT+RHOK2V48XkXmFh5WaBtKM+J j/iKgAj7GHSTOskJv0jP9lIrEsXwf9NcG4WwXAZG/4qWIT9kqWj++Oob4dHKY47P UfMsxnrIXrepqR+kUBVGk3Swi1tRDlv6khaZ4E4z99gZL/r2yrgrws9AJEG0Q/DS f1/N/IEpU/i4lgg3XA0PbOwYD67iCyPL+8zUvtlGBIBp39tk3EYnr45pGdDUIxJE GHGrjoH4ytW89dVMnnTlV5avny5G8CUVCccrfSqYS47einYbVI3LvJ3+tnWVaJk5 8HY7mu8PYEfwJR/bXL4xPm8NcCXim+CwM056MkDLqaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=dAY94g arOeSdvzqji0JNrreKYQmJrZRdTeP36lltk9A=; b=uRx+2lxWiVWXP06708+xyw yzZI19APOu4hinU0q64UaSA7HpnP87jcOwzWxhztrHeVHxjf8X7i1ektpBbFweWK /VfXdArCJsZaMfdh3XiR3nhoKSwalAzlz297qLMTz/Um/cC4jkyLhjJmLaDjIykt SInW8wgxMoYFBCfpe/7AApcXEGiBFxXeIir5yWDGzagVJWKGXYDas+AiK7dEyMXv z/LW9o+Yatjxq6MZPRonK7SwOfA5pKZjFGladv49VudotR67lfjAKX6MMJkGWRG9 oEPWhEwuYjYZYGfZ910w4XSTtw7+UBSEwWj3I5Hxz4i1UmXzhD76G8IgWvV5lOBQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeifedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Sep 2021 21:48:16 -0400 (EDT) Date: Tue, 21 Sep 2021 10:48:11 +0900 From: Michael Paquier To: "Bossart, Nathan" Cc: Justin Pryzby , Kyotaro Horiguchi , "tgl@sss.pgh.pa.us" , "robertmhaas@gmail.com" , "masao.fujii@oss.nttdata.com" , "andres@anarazel.de" , "magnus@hagander.net" , "mark.dilger@enterprisedb.com" , "don@seiler.us" , "pgsql-hackers@postgresql.org" Subject: Re: Estimating HugePages Requirements? Message-ID: References: <20210914.094936.565951707453489109.horikyota.ntt@gmail.com> <20210916171427.GR831@telsasoft.com> <4E144FAA-F3B1-42C3-9748-714ADB4BCC22@amazon.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OV4fkEW5DmhBLlHb" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --OV4fkEW5DmhBLlHb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 17, 2021 at 04:31:44PM +0000, Bossart, Nathan wrote: > Done. Thanks. I have gone through the last patch this morning, did some tests on all the platforms I have at hand (including Linux) and finished by applying it after doing some small tweaks. First, I have=20 finished by extending GetHugePageSize() to accept NULL for its first argument hugepagesize. A second thing was in the docs, where it is still useful IMO to keep the reference to /proc/meminfo and /sys/kernel/mm/hugepages to let users know how the system impacts the calculation of the new GUC. Let's see what the buildfarm thinks about it. -- Michael --OV4fkEW5DmhBLlHb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmFJOdsACgkQnvQgOdby QH2NQQ//aIk3KMhzcmg9nU08OQ5sLAeKvP0ccH0I+dZUC3v521pVCdlseIK3qtFN K3WWga55Auamx9DsSh3J6FMr2Y/Oa8R3b0bzG+faAW1f4tilxLQf16p51xGI4tE3 jvpWpVcTcMHvOyPkJNTaQ5/0EM3Z1PILLO9x0EEso6T/bcrRFeYGjWWSkQXvXZA2 TY1EtIeWSAZYD1NfZderMSNxOYleYY3U0ayrR01xe6IfVm7ntpUT0U+aHVMYTkVR 5csF0PClw4NvqYlGFRpP71nNKW2NxfgdUS6bHyuFYH8mkC+UvmXVVU1duS4PYolP uGynYvfKTrA6UvtXky+1pbjBqxQu77nF2kzNVAONGRRwFot7/YyWspJZ8gvIAz43 ZFphVXt9vUVIZ1LgwHVLOKK8CEdbGmRCz5QocQflFAviPIWXafGONpGlnu8xk8uH VB3NS9A+9ksr9xCX8ZmTbDxgpw3eDxlMj11H2/0h4WCEQ704rO8QAj9Ft6vrXe0L 9PVaWYcnMn4ciy9PQ9Mkg7myUJbZGfF4zf+YJ35dgELOe0cMB7OLIAZ9w52/g4md dv+hBusDK7QsDTgXtVZamFxQWD0/aI8qKAAiZmtJ/vgGeI+yqMiVgnBlp4cT06Gv JlfAlBKyEN4wWQUYNm9Zfi7JpHZeAZScVEYTHq7ugjIFghsokwM= =SSD0 -----END PGP SIGNATURE----- --OV4fkEW5DmhBLlHb--