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 1vyeds-000IlS-2G for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Mar 2026 23:31:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vyedq-007PqU-2o for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Mar 2026 23:31:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vyedq-007PqJ-1o for pgsql-hackers@lists.postgresql.org; Fri, 06 Mar 2026 23:31:35 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vyedo-00000001GYO-1jSF for pgsql-hackers@postgresql.org; Fri, 06 Mar 2026 23:31:34 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-65f8c8c3a4aso18008368a12.2 for ; Fri, 06 Mar 2026 15:31:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772839890; cv=none; d=google.com; s=arc-20240605; b=V6Kl8nXTVQUhrC/8bV+cwlHHhKGCq0asPlCfqxnXutoa6CmRwz30Y31tbaVPE+F+CN uYg1YHBsiSmwUNmAY7u1i8NWI2D2F3AFUGqRT3UWu0osfBBjcvI1j8s6aExEdhFbaBx+ /UoH9XDt44vR7QDd10yGXw3ReMlE1SVzjaWRR3EkMYQ5KwnG71bt1K8ndPDxFJ5TM8/X mSXu3o9vJseZqG6DBXNBhMDq4p96J2u9+7JysQOYbdsMTpNbm+ogOitMZVeLw00tv0RK hjYu1ozBCzW6lbE123TDsuR8IVaYRae3Iz4AV2oJuS1J5QnCX1aXk6tlLU8Kvg34RbqC zI8g== 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=PMEOW1IDfamfILUz7I61zU+pV5n072Xrsv3Qgn7LRWM=; fh=8mYy++xQAVvCAELzw8oyr5d2Mx2Br3EgTEdiMu5lIEQ=; b=IKEYf+2SvKLEb/6zyQXreu1br/ADA60WqjyhCB4jS1/ZDSFzz0he8U8uc8rw76rXbs h7ZlI7Knx6YTnVgptGWGbrccHzN0FvdqBMWu3EcvVVMvXgkeyc27yyzY4W7hH32tZXjo 6Pl/28db6CF1Qc4nZ+mhGMY3dF9IuOjoEtRyFRIjgGvjjy6C+tQr+m+1aeLKkg70Jbby 3EjTTr0d37ZScBNuz0nEz6HdZeIddkV7MgXnHmWfrAB04RILVBJ9is7LapYdu7btOcMH z7c2LJxHRhHY3B27kUMyRkcuj4HIHVw8z0yko9YUxJWOYnw0ysZLdm5ow847M9kRP0EG Vsdg==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=esi.dz; s=google; t=1772839890; x=1773444690; 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=PMEOW1IDfamfILUz7I61zU+pV5n072Xrsv3Qgn7LRWM=; b=R+f7FzxkHQYazQjYlwEW757n5Y4iYeDsXGT8Fp8kVVuNXQsRYb8W5jXN2O7rWiBims GgHqZ06ArdUyppADAyYhMWszimEJbj+tsNoUlYnRLXZ1lPMIyQgCObcdJMHJ5uwHhauv QEInrfnetI6gWYe/Yohz9CWj0fy+ck6sS5x7SgCksFI70YoyiRcsg2EIBk4b8m7DV5O7 ilxt3bnQDUaY6jk+f1MQjPVkPNlKcRC/foIOhVJLeLx77XGQ5TrUYcjXI/pfLcrXbNAi 0hwsuayRS6mHXgjG6ERckgo9BQa5dM0gKHbnyI2t7Pq3/b96txqTs/J+ifrJCu85EYIE otww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772839890; x=1773444690; 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=PMEOW1IDfamfILUz7I61zU+pV5n072Xrsv3Qgn7LRWM=; b=aujR0TC+e3eaMGroU12yXNfRsZTcoJ+oTFslJdCzNV3XRn0OfVDqazpLhmF7G2kML5 wwgef/vcViz9OMmwRk4iyjIVM2XqKR2smXdrHOoT1vDwu71G9+W3SAzmdq9Y0byHhaz8 0vioapBSLLYjzTh85GRbY4o7KgAeZD5CjQp1rqjVQOsKinxi2c+E5/QgNZ9X4sENsunI WdLJ4bzmZ7FoY/hBOQi4s2iAQefICdlLHMCVj9w59USRixwBjHIDc8IIVikbn86g6nOd gY7JyDaWWT1XxHgUzSulo3LOj9T8Mf2tUOSzd9PngZ2+eyvxmfzi9FV7xKVg1rjfQE9f 7Gsg== X-Forwarded-Encrypted: i=1; AJvYcCXieUfJ0rPCTxf1J/bs0qmAu0ak2NiP+O8WVmNQfRQbgn1ytLd26Tei7O2XZr5u3cdfVKWq1wSO2p/+Q+xU@postgresql.org X-Gm-Message-State: AOJu0Yw7hbfxlbU1bDV+30Zvt71xOJQS4xYuQrEt7670SkLxom3ybs5e UT+mn+xktJ8P3nPAEi6eho+xUiRU+xhIuuc43GBOsTPKdGk25MrgTSDEQvdNQZ0lzpsfH2ENqcE rDa1sGXwN5naG8qnkgTXzoqKJkY6/JwSHtkEAesAJ X-Gm-Gg: ATEYQzw4Pmdcsff0I2K7VVQu4iF2TgWC4u7Y/0gMVFFeByCK+AKOVNB3WJL5zh6q1KE VCfhVjKOHK7R+qnOrZnFzOtG5deq6V0cP4dQjV0/Hb6at6kFAWio4PWwIPFv4E6Na+jSd0K7skj JYqjXOqawOMpVm67yfZJGfTm8m2UPrmLETY267v0ogcwAotYuXh4C2cTyWJNH/Sn741ByKU+Ztj Q/RVqlJxKN3a/14nMwiAdzFHEDowbrm4INm4F2SPkfVRDHwVmhVosExC0DbI+Ss2Q7mfh6gY7DW t9MZLOkPpshkv43L1nDUEkWPpCDxtHqsh0MFB+2QAajiIagEXfjlY/LqwcgVr8kHLPTC0LXv8CI geYneqTm5fUlNUe6LTYX68x+O8oQ= X-Received: by 2002:a05:6402:3491:b0:65f:a9e1:4a4e with SMTP id 4fb4d7f45d1cf-6619d498f50mr1980496a12.4.1772839890471; Fri, 06 Mar 2026 15:31:30 -0800 (PST) MIME-Version: 1.0 References: <91acb778-42c4-44ef-8888-f18ad9b12a5b@dunslane.net> In-Reply-To: From: KAZAR Ayoub Date: Sat, 7 Mar 2026 00:31:19 +0100 X-Gm-Features: AaiRm535jWxYWybqFIyX0tOytQKqbOw-pfE7TwFZ3KHfpALhD6QD-6CfufrcuKI Message-ID: Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD To: Nathan Bossart Cc: Manni Wood , Nazir Bilal Yavuz , Andrew Dunstan , Neil Conway , Shinya Kato , PostgreSQL-development Content-Type: multipart/alternative; boundary="000000000000ea5853064c6373ad" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ea5853064c6373ad Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Sat, Mar 7, 2026 at 12:13=E2=80=AFAM Nathan Bossart wrote: > On Fri, Mar 06, 2026 at 03:25:46PM -0600, Manni Wood wrote: > > Well, golly! Look at these numbers. Old master with no lz4, your v11 > patch > > with no lz4, and then your v11 patch with lz4 compiled in. > > I'm appreciative of all the benchmarking that you and others are doing, b= ut > wouldn't we be more interested in the difference between "old master with > lz4" and "v11 with lz4"? Else, we have multiple variables in play. > Yes I agree because the lz4 effect doesn't prove anything for the SIMD patch itself right ? So basically a comparison for the SIMD effect should be "master with/out lz4 vs patched with/out lz4, respectively and nothing more!", is this correct ? Regards, Ayoub --000000000000ea5853064c6373ad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Sat, Mar 7, 2026 at 12:13= =E2=80=AFAM Nathan Bossart <= nathandbossart@gmail.com> wrote:
On Fri, Mar 06, 2026 at 03:25:46PM -0600, Manni Woo= d wrote:
> Well, golly! Look at these numbers. Old master with no lz4, your v11 p= atch
> with no lz4, and then your v11 patch with lz4 compiled in.

I'm appreciative of all the benchmarking that you and others are doing,= but
wouldn't we be more interested in the difference between "old mast= er with
lz4" and "v11 with lz4"?=C2=A0 Else, we have multiple variab= les in play.
Yes I agree because the lz4 effect doesn&= #39;t prove anything for the SIMD patch itself right ? So basically a compa= rison for the SIMD effect should be "master with/out lz4 vs patched wi= th/out lz4, respectively and nothing more!", is this correct ?=C2=A0
Regards,
Ayoub
--000000000000ea5853064c6373ad--