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 1pxbhO-00077t-5X for pgsql-hackers@arkaria.postgresql.org; Fri, 12 May 2023 22:57:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pxbhL-00085V-Nx for pgsql-hackers@arkaria.postgresql.org; Fri, 12 May 2023 22:57:15 +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 1pxbhK-00085K-R2 for pgsql-hackers@lists.postgresql.org; Fri, 12 May 2023 22:57:15 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pxbhD-0020Wc-S7 for pgsql-hackers@lists.postgresql.org; Fri, 12 May 2023 22:57:13 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 8B79132007D7; Fri, 12 May 2023 18:57:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 12 May 2023 18:57:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type: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; t=1683932225; x=1684018625; bh=Y6 rS91jqRnfzI7fSQ1B2FmhsRAgG+va39CcmUiFnxLw=; b=NyS7i7nsEnQAl8+x6u b6dnq32GIGAh9ik5ZNuFMsPBXvjHHqcFGZldL9Kvwwqs2UCTrBuHaHF8pToQmuxf qg1+ohrlNBCbC4RpgM+AGOLChwpu1oSiSO8q9gXU8ZTa935i9J9b/J0Q7c9xRFE6 xZzf2j61LqDowOIRdx+6zJ5qA5UCCoi1/lmmV3wzVdmikbw/vY/yx+OOml3W2jpx mRjublfnsQtNpg9PeQwCgDhl+rClW5H26leMkQuEGuvvznOtzJRpPpUbXsrDNAxO 951Dq+LLEglUfMx3xiSHVY3wBHrRCFeHj6KKcGuQB+Z2y4lS7UZdXMkS477n6vQO TPUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type: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=fm1; t=1683932225; x=1684018625; bh=Y6rS91jqRnfzI 7fSQ1B2FmhsRAgG+va39CcmUiFnxLw=; b=OQkYvtDuH3bFClvgAJS2J2EMkK04w Ub/pWbdUgjFW3xrwkOEUxJAWqSEzZ2g1hYir9RaH2b4esVHexo2cj3j2aelgAn65 lQIUtTImW08n2oRFCS9MIXk5AuoCabTSdQbvQHkRT4WRPCUocXxSg5p2Djf6rQoq zhERvviQi1CcYJDpLpcGGzyA/deTQdFSSP5Rvw2EnJT3ZWidm5oxbj2DNGKqfmBN 23HbUidAAxfQbf2AfmovQVZ5m175bzqkosU7FCJI4EMmzcCfF5tkFOeOvK2SJiha QAzNbvs2OYV9EbFQFTty2JF5YWGYjcP9XLBU2G38NySewDseTc6kK0b0w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehuddgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 12 May 2023 18:57:02 -0400 (EDT) Date: Sat, 13 May 2023 07:56:56 +0900 From: Michael Paquier To: Bharath Rupireddy Cc: Nathan Bossart , Andres Freund , PostgreSQL Hackers Subject: Re: WAL Insertion Lock Improvements Message-ID: References: <20230208220603.GA546776@nathanxps13> <20230221054948.GA2717@nathanxps13> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="n395a7aZfpqbLVFT" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --n395a7aZfpqbLVFT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 12, 2023 at 07:35:20AM +0530, Bharath Rupireddy wrote: > --enable-atomics=no, -T60: > --enable-spinlocks=no, -T60: > --enable-atomics=no --enable-spinlocks=no, -T60: Thanks for these extra tests, I have not done these specific cases but the profiles look similar to what I've seen myself. If I recall correctly the fallback implementation of atomics just uses spinlocks internally to force the barriers required. -- Michael --n395a7aZfpqbLVFT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmRexDgACgkQnvQgOdby QH0y+xAAoVc5TFGangJECTGTtG6tAkd9sxWJ3k9MA+6WTz8Qwk77IUlz/Rs4fIb8 GFLGDs0q5Z41F4P990pKUAl/92mpq4sFIR/Tm8nW309uFgdbU8D+6d2aGSbPC7oO n5qXzO+4FUB7KtiLloW8H9MWCZ8GrEpPUBrSFGh38rQLgH4DpKGIsImnfEGvMEed PxgfpldwtwmQXn27e3R0ZG/UqcKnjFU6xNCYiEQ7wJtXU/rcsS9r0ktQoWU3Vyr6 oHa0cjAh6DblAiJZzoHaoHjB/sq4b33sD04kSwN+YWiAeBuevlKpgq/PVbO4pw7L rU0UqdHhOZ2n1VjpHOQuTznNFVu/y/vuchN8gV1xDdW9urBxsLZkyZ4Cwgm24+7x A4hvo4immNR7h+Gpid97KqF7Ense/x6jFjPnue6d4LbHuNxogRyc3/rpFdrBkvF4 TeluT54EnsRnbXSDcFMN4rP5ZMuDaJYMvZAQ1yQbI11dpsaX8l4QJb/xUC8aBIk+ Hbe1FwiWmirGprWz8SRyL+5+Ud28ujdMezP/VnUDGGOjjnoBr2MQLNPI+KEoFtMH XD33mt7bisvBzwog7xIqCGUbqHnn8t2ucPdUdCoAUMoqzn+spMLpugcp/p3MZ/Xn yv924EVuWBpfD1Nimh+eqsuJ0PBD4+lpdt+u/ONrT0InnkGQcCk= =HBgE -----END PGP SIGNATURE----- --n395a7aZfpqbLVFT--