Re: Flushing large data immediately in pqcomm
Melih Mutlu <m.melihmutlu@gmail.com>
From: Melih Mutlu <m.melihmutlu@gmail.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Heikki Linnakangas <hlinnaka@iki.fi>, Jelte Fennema-Nio <postgres@jeltef.nl>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Robert Haas <robertmhaas@gmail.com>, Thomas Munro <thomas.munro@gmail.com>
Date: 2024-03-28T19:44:12Z
Lists: pgsql-hackers
On Wed, Mar 27, 2024 at 14:39 David Rowley <dgrowleyml@gmail.com> wrote: > On Fri, 22 Mar 2024 at 12:46, Melih Mutlu <m.melihmutlu@gmail.com> wrote: > > I did all of the above changes and it seems like those resolved the > regression issue. > > Thanks for adjusting the patch. The numbers do look better, but on > looking at your test.sh script from [1], I see: > > meson setup --buildtype debug -Dcassert=true > --prefix="$DESTDIR/usr/local/pgsql" $DESTDIR && \ > > can you confirm if the test was done in debug with casserts on? If > so, it would be much better to have asserts off and have > -Dbuildtype=release. Yes, previous numbers were with --buildtype debug -Dcassert=true. I can share new numbers with release build and asserts off soon. Thanks, Melih
Commits
-
Avoid needless large memcpys in libpq socket writing
- c4ab7da60617 17.0 landed