From: | KAZAR Ayoub <ma_kazar(at)esi(dot)dz> |
---|---|
To: | Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, nathandbossart(at)gmail(dot)com, ants(dot)aasma(at)cybertec(dot)at |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Speed up COPY FROM text/CSV parsing using SIMD |
Date: | 2025-10-21 06:44:06 |
Message-ID: | CA+K2RunC5qD4ZM8cTmzEADgobsjf+pC-nQwB+nu5_u1YHa6isw@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Oct 21, 2025, 8:17 AM KAZAR Ayoub <ma_kazar(at)esi(dot)dz> wrote:
>
> Currently we are at 200-400Mbps which isn't that terrible compared to
> production and non production grade parsers (of course we don't only parse
> in our case), also we are using SSE2 only so theoretically if we add
> support for avx later on we'll have even better numbers.
> Maybe more micro optimizations to the current heuristic can squeeze it
> more.
>
>
> [1]
> https://branchfree.org/2019/03/06/code-fragment-finding-quote-pairs-with-carry-less-multiply-pclmulqdq/
> [2]
> https://github.com/AyoubKaz07/postgres/commit/73c6ecfedae4cce5c3f375fd6074b1ca9dfe1daf
> [3] https://agner.org/optimize/instruction_tables.pdf
> [4] https://www.uops.info/table.html
>
> Regards,
> Ayoub Kazar.
>
Sorry, I meant 200-400MB/s.
Regards.
Ayoub Kazar.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2025-10-21 06:56:12 | Re: Logical Replication of sequences |
Previous Message | KAZAR Ayoub | 2025-10-21 06:17:01 | Re: Speed up COPY FROM text/CSV parsing using SIMD |