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.96) (envelope-from ) id 1vyZgP-000E2I-0b for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Mar 2026 18:13:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vyZgL-006R0r-2h for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Mar 2026 18:13:50 +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.96) (envelope-from ) id 1vyZgL-006R0i-1O for pgsql-hackers@lists.postgresql.org; Fri, 06 Mar 2026 18:13:50 +0000 Received: from mail-dy1-x1330.google.com ([2607:f8b0:4864:20::1330]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vyZgI-00000000oBi-078m for pgsql-hackers@postgresql.org; Fri, 06 Mar 2026 18:13:47 +0000 Received: by mail-dy1-x1330.google.com with SMTP id 5a478bee46e88-2be26842fd5so1877661eec.1 for ; Fri, 06 Mar 2026 10:13:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772820825; cv=none; d=google.com; s=arc-20240605; b=STovFZ12sCikuxSyIqpiVA6+zq2tGtTf6nQY7ai3oX3Iu9VvGyAbMTrMXJ5YS4eHac OHYR4Ess8pXPylXHYRqPqZ+ehgP0GcBu30qJgcvqaUG0F6ZvkgJOhVtFcrrPzVDCY04f GaQvBx2J9hLgwOis4/clhXF6qTlR9SwFxW5sG28uUlMcqGw5rSG2BPx1u3j9McPhGyXf oywXnhaGWMWdUXCHOsbl+TLLlgNFFxDIo364I9d6cE+7syTx8sUCkHxlesl8IYq7Voyy Qo1P5+IdldCV1+iP9VcdlIngJsikF28JKYDyFcnkwJWOk87wqz2JR42KdB24HSxlml/6 0qew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=B4CczzgS6YxRO1U46ptVc4AmnCUo5acZnPj4yHgGcFA=; fh=FELaS24JcCxumsszHr11TfufapC99JwWSvxlfeanm+A=; b=H+G7Ocyjd/6Qb/PAo/CDWdcv10X40q5SXEGD2VzUaoBjwbN2t6wQsA3DmgAzco3MQ0 fi6jkWehkFEWq1xbQdVE9NsgurFR4B0R/CoyN3FQx86t+9ZqEH5QBn/C5AGYXNNsNDwH wcqiahYTeRppKVQRKcwghQncJddaISG4mXHl81idb1hTb+SUr6ANrN0wC4OlehHiNv4n TtJC5PkQIKKtNLxMsTdPg9td4rTrLaPyko/IZhCAp2Ja2sH4BiEK/RvRd948RlLXlGrX irIzubRZiMkYdYkyPmUlyVrID4szq2KpF4zrZc9EN7quwayZEmXnWvuwUSQ+itifCj0I AL7Q==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1772820825; x=1773425625; darn=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=B4CczzgS6YxRO1U46ptVc4AmnCUo5acZnPj4yHgGcFA=; b=MOuPe/2GzUU94upwHkvKX8PWk0Oq8Ooo6m1LE1LF6fkP9JsHKkHoBFywRgEB7G7Czy ZazGTrYKWpFxeXvWf+vBW5OGs36KKmvi5CzVpudaHEoYUAxVRLLC+6SXF7fst/Fk1tJl aDMhDPmVEJnvByUGXe3rdNazhktXZehLEWJU7x4l8n7FaZaosjdlI7uRiE40UfM5Xchb uN9WdOc+VXvkUiaAzES420gMV4n868UfOhRPH62WdC3+9ZODnkUWStnDOi8j844p1X9+ BQ6/6wWXoQz7CB79XTkbbXlRkSCPfLebA8U+iPXpq6JiJYLvD1N/zMhlrbODzigZGa3f Om1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772820825; x=1773425625; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=B4CczzgS6YxRO1U46ptVc4AmnCUo5acZnPj4yHgGcFA=; b=BgG8qi4cP5/CMaybw/nEp65N46fu7zRBe4bkriYYFS9fvCboCR2Ifx+4l/CDdvAv4F VFU0a1RTfrLDIdyQZqqKOgyK2THDnupgUn5lDTuo81cJYHRt/vooNCeCtGSVbUEGOdaQ QTw/9z3DtV4oypDaQOw2EaTR0ecccmcs6GvHPfhLmWPv4oOCXoWPP8rvkA31l4TRwbje pN7V+cpXwqe4gor0tkzzxJNkFN33G/C+62nExhy2EXKCK/VGOUiS+5b2+mGzS5pijTX/ VPXAm+5T6F/od1FmxDeLwVNA63ViIbOxDIxEbiwb0/9VGA9jBv5VAaArrag6GUYYsGxq 1Lcg== X-Forwarded-Encrypted: i=1; AJvYcCVnf7nsr4mWpcNS++dCfXmuZelHGaJuPc3Jp5TJl2qZXTvbGzqmuAgCUvMuRMelcnAeM89QirEZCQUUEyRB@postgresql.org X-Gm-Message-State: AOJu0YxDQCpk+bUDv35K32J6pao51Zt+zvPNFvoiyRr4XYNaBeRi5Jzd sGOh+XjCaWSyCic419/3JnhCxNQbSKigJUEBjE4OG+5OrxuNwILwHUWvk+ZD5TyyRsjfT38+SfE IXfX8rfaUU2baXNPC63Lb1J0leuGtRSxoLjyeJk2r X-Gm-Gg: ATEYQzwM0u8TYWITOlcMBjmQTCXyvSn42NGzZEa2+/JF8NbHOTTJLRzLF2BURkKwBDD oJgpD1IBHi5cJk5X1t+Q5O7+er+GMpArwYwBljWINoot/pw4rsGLKco702fMtIaamjP7V5ksKEk z8tvEH4PVQrX5fArKUGC6NxkWaPJ7M31IYuKRSgPhhEV7Z6N/m2KAq2/aBrdyXKSpnhmPsc/y4N t3kP1SyFFjR+yUkJ5M1W3a7XjNFhf0EMxgGaylv90V61TiWWc7lSeqy0+VT7Hj+hZThX60WUZid VFJUZcSv X-Received: by 2002:a05:693c:3004:b0:2be:17b1:e49f with SMTP id 5a478bee46e88-2be3e18f28dmr2610418eec.4.1772820824738; Fri, 06 Mar 2026 10:13:44 -0800 (PST) MIME-Version: 1.0 References: <91acb778-42c4-44ef-8888-f18ad9b12a5b@dunslane.net> In-Reply-To: From: Manni Wood Date: Fri, 6 Mar 2026 12:13:33 -0600 X-Gm-Features: AaiRm50zY9GxCKth9fj0BdRlkfbzhEi93Ab_ww3lHQDHs6E_YbmOAlS1Va2_Nbo Message-ID: Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD To: Nazir Bilal Yavuz Cc: Andrew Dunstan , Nathan Bossart , KAZAR Ayoub , Neil Conway , Shinya Kato , PostgreSQL-development Content-Type: multipart/alternative; boundary="00000000000082647f064c5f0326" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000082647f064c5f0326 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 6, 2026 at 11:39=E2=80=AFAM Nazir Bilal Yavuz wrote: > Hi, > > On Fri, 6 Mar 2026 at 20:00, Manni Wood > wrote: > > > > Hello. > > > > I ran Nazir's v11 patch on my x86 tower PC and my arm raspberry pi usin= g > the same build I've been using: meson with "debugoptimized", which > translates to "-g -O2" gcc flags. > > Thanks for the benchmark! The results look nice. > > One question: does your benchmark include the 34dfca2934 LZ4 commit, > and is LZ4 enabled on your system? > > -- > Regards, > Nazir Bilal Yavuz > Microsoft > Hello, Nazir! When I ran `meson setup build --buildtype=3Ddebugoptimized` on both my x86 machine and my arm machine, the response on both was: "External libraries " lz4 : NO" However, I did not remove commit 34dfca2934 from any of my Postgres builds; I left that commit in place. Let me know if that helps! And I agree, the results look nice. Best, -Manni --=20 -- Manni Wood EDB: https://www.enterprisedb.com --00000000000082647f064c5f0326 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Mar 6, = 2026 at 11:39=E2=80=AFAM Nazir Bilal Yavuz <byavuz81@gmail.com> wrote:
Hi,

On Fri, 6 Mar 2026 at 20:00, Manni Wood <manni.wood@enterprisedb.com> wrote= :
>
> Hello.
>
> I ran Nazir's v11 patch on my x86 tower PC and my arm raspberry pi= using the same build I've been using: meson with "debugoptimized&= quot;, which translates to "-g -O2" gcc flags.

Thanks for the benchmark! The results look nice.

One question: does your benchmark include the 34dfca2934 LZ4 commit,
and is LZ4 enabled on your system?

--
Regards,
Nazir Bilal Yavuz
Microsoft

Hello, Nazir!

=
When I ran `meson setup build --buildtype=3Ddebugoptimized` on b= oth my x86 machine and my arm machine, the response on both was:
=
"External libraries
"=C2=A0=C2=A0lz4 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: = NO"

However, I did not remove commit=C2= =A034dfca2934 from any of my Postgres builds; I left that commit in place.<= /div>

Let me know if that helps!

And I agree, the results look nice.

Best,
<= div>
-Manni
--
= -- Manni Wood EDB: https://www.enterprisedb.com
--00000000000082647f064c5f0326--