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 1mlRBf-0005Vu-L1 for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 12 Nov 2021 07:41:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mlRBe-0007tz-Eg for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 12 Nov 2021 07:41:26 +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 1mlHVp-00043Q-I0 for pgsql-pkg-debian@lists.postgresql.org; Thu, 11 Nov 2021 21:21:37 +0000 Received: from smtp-fw-80006.amazon.com ([99.78.197.217]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mlHVl-0003T4-7z for pgsql-pkg-debian@postgresql.org; Thu, 11 Nov 2021 21:21:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1636665691; x=1668201691; h=from:to:cc:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:subject; bh=rnZZ4EvzmrlNmVb96HS7tQssw5d/ZzxR39U6ZtHNRJ0=; b=q/4WE9RVbn2MExxJdIUINCbVNPnfCzx/CITXj5J1aqjYQsGVVBrF6erp TG7yTAAI5FguIk6It9qw1lu4aKlfYJCzExamOkjJyNlykfIGRH+UNWwuD aTkf1MgOZNFXgRNDB4RbNWoZY8msWuJAjuLsQe0jJAs9fUTrlndvJWWPs k=; X-IronPort-AV: E=Sophos;i="5.87,227,1631577600"; d="scan'208";a="40867110" Subject: Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64 Thread-Topic: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64 Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2a-5feb294a.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-80006.pdx80.corp.amazon.com with ESMTP; 11 Nov 2021 21:21:30 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2a-5feb294a.us-west-2.amazon.com (Postfix) with ESMTPS id B568692B26; Thu, 11 Nov 2021 21:21:31 +0000 (UTC) Received: from EX13D02UWB001.ant.amazon.com (10.43.161.240) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Thu, 11 Nov 2021 21:21:31 +0000 Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13D02UWB001.ant.amazon.com (10.43.161.240) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Thu, 11 Nov 2021 21:21:30 +0000 Received: from EX13D01UWB002.ant.amazon.com ([10.43.161.136]) by EX13d01UWB002.ant.amazon.com ([10.43.161.136]) with mapi id 15.00.1497.026; Thu, 11 Nov 2021 21:21:30 +0000 From: "Pop, Sebastian" To: Christoph Berg CC: PostgreSQL in Debian , "Saidi, Ali" , "Csoma, Csaba" Thread-Index: AQHX1xz/aMnwG7BEBkCMiUUHc3Ygaav+jI+UgABHwWU= Date: Thu, 11 Nov 2021 21:21:30 +0000 Message-ID: <1636665689666.18737@amazon.com> References: <1636497120606.54267@amazon.com> <1635266397152.45198@amazon.com>,,<1636650661046.35954@amazon.com> In-Reply-To: <1636650661046.35954@amazon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.162.124] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk >> The benchmarks in=0A= >> https://www.postgresql.org/message-id/1C8D0E58-FB33-4105-AC00-8FA07621F5= DD%40amazon.com=0A= >> don't look like the option is a game-changer.=0A= >=0A= > Since then we have seen benchmarks that are several orders of magnitude f= aster with LSE instructions.=0A= > I will get the new data and share.=0A= =0A= On an m6gd.metal with PostgreSQL v11=0A= test: pgbench - select-only=0A= Measure tps (transactions/s), higher is better.=0A= =0A= build without LSE: 132143 tps =0A= with LSE atomics: 844552 tps=0A= =0A= That is a 6.39x speedup.=0A= =0A= Sebastian=