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 1nZpSF-0005g6-UV for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Mar 2022 07:42:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nZpSE-0008I3-Le for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Mar 2022 07:42:50 +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 1nZpSE-0008Hu-DB for pgsql-bugs@lists.postgresql.org; Thu, 31 Mar 2022 07:42:50 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZpS6-0000YX-Qh for pgsql-bugs@lists.postgresql.org; Thu, 31 Mar 2022 07:42:49 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 43B1B5C0120; Thu, 31 Mar 2022 03:42:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 31 Mar 2022 03:42:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; 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=fm1; bh=y4Fx4A+xvx4WOFscAxaVWE5vRiut4cuJfpTarm OSmoE=; b=ss5V7sMHu4RaD3GmH5lZphYthGxcKnx9LnyXUT7pBnapMPVLw6cUW9 lRnTDTJRXEpyA5CyOnfOunXxwBnrvDanEzvDHLFHZojWrkGd68bjffRLgZdh0gQQ y8/v5juNapc9gGOq3QlkJDtv/JDv3u/o17lEOpqS4iLgC8IHYr55zcqpZ966Tk7+ vddyRhNgrIE4/AN7Jv+Pq7E2cWjVU/bWwBBP5PCcZdl5n6yO4XUjHWXkgnoxrYUs abmvLvTritExYssnv94ShZ+Pl5QiYaVQX7WZv5kQ+/aio4oYUukpO3KPARryNDQR SLOF9WitmrstrRFe5pwJ8p234cl6d6pQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; 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:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=y4Fx4A+xvx4WOFscA xaVWE5vRiut4cuJfpTarmOSmoE=; b=m93qEiaHSIrFAUSnuHO4KhPtr5yvQUKtR 0cpXNnoYrzhXpWAfXS1ZmAMYEIgA2vfBgLFGrlaghe0Oa+k2LszLHGmtw9X04QLh sm/PJDrKA1C14mKhTUK8nMo7Y66eiUafGQc4bxTdjiNjky7RgrMxEl/qbSt4YQ2C LWA6yWvyqgpOeUgMb5Z3Ii7LxadNpjM0+tzL8M4pCjtWKFzeacj7BqaVzK+ViJ2G Z3ad+6/GrPIan1Q78E/EqqTb6XgPGYKTYkBX1GPRdgAsotNpXuaX09G5T1UZWD0b u+ELMy3rPoupE5m8NLpKEVN/ihPM6Op946pV4RJo/0HegaWZQjl6w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeifedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepleeuhedtjeeffeelgfeigeev jeegffelvdetveegfedvfeeugeeuleefvdeuveefnecuffhomhgrihhnpehmihgtrhhosh hofhhtrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 31 Mar 2022 03:42:40 -0400 (EDT) Date: Thu, 31 Mar 2022 16:42:37 +0900 From: Michael Paquier To: Julien Rouhaud Cc: Thomas Munro , okano.naoki@jp.fujitsu.com, PostgreSQL mailing lists Subject: Re: BUG #17448: In Windows 10, version 1703 and later, huge_pages doesn't work. Message-ID: References: <17448-0a96583a67edb1f7@postgresql.org> <20220326082408.moh55zuecxjmewnm@jrouhaud> <20220331045908.bm5edcacvymgwwv2@jrouhaud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kWVB6L8w3Lfg8q2K" Content-Disposition: inline In-Reply-To: <20220331045908.bm5edcacvymgwwv2@jrouhaud> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --kWVB6L8w3Lfg8q2K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 31, 2022 at 12:59:08PM +0800, Julien Rouhaud wrote: > That approach seems sensible. For reference the versionhelpers.h seems to be > available starting with VS 2013 / v120, which is ok since that the oldest > version we support AFAICS. Hmm. This points out to a different problem. The oldest version of MSVC supported on v10 and v11 is VS2005, so a backpatch means that those checks would need to be tweaked if we'd want to be perfectly compatible. But I'd rather not enter in this game category, limiting this patch to v12~ :) > Now, I also have the exact same result without the patch applied so it's hard > to know whether it had any impact at all. Unfortunately, I didn't find any > information on how to check if "large pages" are used and/or by which program. Okano-san has mentioned VMMap upthread: https://docs.microsoft.com/en-us/sysinternals/downloads/vmmap -- Michael --kWVB6L8w3Lfg8q2K Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmJFW20ACgkQnvQgOdby QH0NqBAAmysFQBzrmU7T70D8GTsTJ8hNhy8tD0z9rphCdFfumZlViFPBhJTewuvY U5/qSTLscT1uPnfUfZx+tlUIGM5ymiBfbOEAhvBlccn0ZTlNSWIgk6aFmPSvbjP3 uFuRDWAM1IRXC4bHWV+ngZ6pEzRIPYZ5fNmos8dJFZhBRz3MC/R82Ll4SHogwGHu 261DPrlbATeGf1az3jzOe0u1IoJQ05KkmKaKSOruRAeJ8i+VeU26LBBI0Ek+66I7 Nso2Uzg97s4sU9Q3hwwMsN3KugA0+Uq8nW3ndreMwbOFjuG2GR6I2GdY3dzqyuzG OuVRKhEYfapOMIqywU3O/fYpqUijBbaaMq+UqcbdLk0AOju7WcV8lCO21XguzxoD ZEznNoHiSqyqGiExfEG1JsBb6aYPUHg7xpkbumaeZC+PWmK3sC/rYtWxb4JSkL4D X1Jv533qHXbT6XG5FZFUgiOl3jIluZoaI4ljmqvmSKHoSLV5ijSwWR+0qyGcOzQ6 2yCbL1QrlmqD5mveW4HiIz8pDLuaW7BU0BqcvF7RxqLwBSYNyQuPApHBpM0Svd4w +q1GjSsgJXcKMq03+m0tD+Hez2Bm0We/UOy0YzlkrHX9QkFEOxdF7E4/lUTfqjwy FALHwjYW69PRqzqchg/yiWvks7B7sNveY6I6m7sS7YeCTwdnEtg= =OLtw -----END PGP SIGNATURE----- --kWVB6L8w3Lfg8q2K--