Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uDhyG-00Epis-Rg for pgsql-hackers@arkaria.postgresql.org; Sat, 10 May 2025 11:02:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uDhyF-002Dp7-Ls for pgsql-hackers@arkaria.postgresql.org; Sat, 10 May 2025 11:02:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uDhyF-002Doz-4X for pgsql-hackers@lists.postgresql.org; Sat, 10 May 2025 11:02:19 +0000 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uDhyC-0016QH-0P for pgsql-hackers@lists.postgresql.org; Sat, 10 May 2025 11:02:18 +0000 Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-6f549550d96so37986826d6.3 for ; Sat, 10 May 2025 04:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746874936; x=1747479736; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cVNQJkh5KuYraoxeLUksdTqenJoA3iAjBrBSm3EWt2s=; b=EvLqgdi+pp7+ShS4nSFZhe4sUqc/Wr4cqki/UK/08/KZqF1E+lIopRYLco61jjBpVI 5n2yzaJvLiBiTYFUZNeXIvBBj0Hm9BUL3Ib/vjdXgGIrEB5Yfp6nIXD9+mUGcNUKSQc8 8PASVmKsCmSnju1O02VQRrFStyP4Q/AOueji3gwZDwtpyKFDHTZI3LNBjFAr6a3Ll7Rm 4NsAlbYoymnO1GT2NU0L3ocFkEgKY57NhC3oPagJV1OyIHbaahpjkqlRJdIiCy3DbKLX +YeT2l3o+Rnuac0Qzt/MqGLus7Su53S8OQI89GwiyM0aLAnX0iyiHHW0F3L5mxPNoKYD T+PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746874936; x=1747479736; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cVNQJkh5KuYraoxeLUksdTqenJoA3iAjBrBSm3EWt2s=; b=phDcnj1q5H65EBD9M34iUuLhhjFOebpnfPSIXags4TEFDm/lPido3na1DPVbOMVdPr r4klpmsjJ40E15i6f3atTyeYWcv98A8EYJ4Me1hgmMhtcQzad0QVckU2zx4uJHH3YZgi 3D2uHZ6L0l9AwxntTX5nETAgs/qqVNyJ5PVji02ZGJN0Ly8ofR9OVXoy+mcIP7INQGXX CL/C35w2+QwOC1Pij5cABbobocvF26tb6yjDQZTDjgfwwppbGCgCTIm6pW2wpY4O5iAR QIJLiz4uN5yVJ/K1xgWr1Aa6sdzdowYSmCfcOYxiVF7WAVDpCb6kH642TLKpuQVMry1f Wk0Q== X-Gm-Message-State: AOJu0YxAGu6KJghLEGZOL7DBtCc8uEgvrHeMKhkEC6NW2yWxfUCXpN+B uZnMbfcdkKGrIUJwm+ubxS1MFo+gmxhGIyH4mHquy/vtDpB4D/ziE2oR9aicrw4mZoD3ZMNYAFI TM5Ks0atUBqHMvODtsovxeLM9JQdKkSRXlMqfjhEc X-Gm-Gg: ASbGncs3HVuaBFwY9sW0MksRtoWHOSpkg3gJpVJDbiumIJM5W3W/Vs7bFn0YI2s4f+P vm92hfC6HULdY4lj9uari3QOqGjnFzXZXo4hmYjYfMbDyKCNH3YTMZOOg5U3mHa8GTkxEDXTC+m vKcMvIokLRMz5VVzQTSrdjkmOX9V0xpEoXXx45khcH1d3p X-Google-Smtp-Source: AGHT+IGSqF1XwoVrUimmsE4FUBln56ycFIt0bejbWi2dCRokQIhNV/1f2oBxGgF0GvnAuvbi35H4L4NRlTcC7KpYIFA= X-Received: by 2002:a05:6820:1b09:b0:601:d595:3b1f with SMTP id 006d021491bc7-6084c1076f5mr3989525eaf.6.1746874925742; Sat, 10 May 2025 04:02:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stepan Neretin Date: Sat, 10 May 2025 18:01:54 +0700 X-Gm-Features: AX0GCFsJPIWq1Aa0uo1xUx-056eOowDt0w7H4FrzNkZLltCZK-sInIyQzu9e_EY Message-ID: Subject: Re: Proposal for enabling auto-vectorization for checksum calculations To: Matthew Sterrett Cc: pgsql-hackers@lists.postgresql.org, "Devulapalli, Raghuveer" , "Shankaran, Akash" Content-Type: multipart/mixed; boundary="0000000000006a9d5c0634c60302" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000006a9d5c0634c60302 Content-Type: multipart/alternative; boundary="0000000000006a9d5b0634c60300" --0000000000006a9d5b0634c60300 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 10, 2025 at 6:01=E2=80=AFPM Stepan Neretin w= rote: > > > On Thu, May 8, 2025 at 6:57=E2=80=AFAM Matthew Sterrett < > matthewsterrett2@gmail.com> wrote: > >> Hello! I'm still trying to figure out those CI failures, I just wanted >> to update things. >> >> From my testing, with this patch repeatedly disabling/enabling >> checksums is about 12.4% on an approximately 15 GB database. >> >> By the way, I'd love it if anyone could help me figure out how to >> replicate a CI failure in the Cirrus CI. >> I haven't been able to figure out how to test CI runs locally, does >> anyone know a good method to do that? >> >> >> > Hi Matthew, > > Thanks for the patch! > > I ran some timing tests: > > (without avx2) > > Time: 4034.351 ms > SELECT drive_pg_checksum(512); > > (with avx2) > > > Time: 3559.076 ms > SELECT drive_pg_checksum(512); > > Also attached two patches that should fix the CI issues. > > Best, > > Stepan Neretin > > > Oops, forgot to attach patches :) Best, Stepan Neretin --0000000000006a9d5b0634c60300 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, May 10,= 2025 at 6:01=E2=80=AFPM Stepan Neretin <slpmcf@gmail.com> wrote:


On Thu, May 8, 2= 025 at 6:57=E2=80=AFAM Matthew Sterrett <matthewsterrett2@gmail.com> wrote:<= br>
Hello! I'm s= till trying to figure out those CI failures, I just wanted
to update things.