From: Andres Freund <andres@anarazel.de>
To: Yura Sokolov <y.sokolov@postgrespro.ru>
Cc: rony.kurniawan@oracle.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17005: Enhancement request: Improve walsender throughput by aggregating multiple messages in one send
Date: Mon, 17 May 2021 09:27:53 -0700
Message-ID: <20210517162753.lmhmnfd72bn3nfms@alap3.anarazel.de> (raw)
In-Reply-To: <aae9709fddecd6f6b59405c62a861dae@postgrespro.ru>
References: <17005-3e1030784d5440c4@postgresql.org>
<20210516224413.xitbilinlyrlt42m@alap3.anarazel.de>
<aae9709fddecd6f6b59405c62a861dae@postgrespro.ru>
Hi,
On 2021-05-17 16:21:36 +0300, Yura Sokolov wrote:
> Andres Freund писал 2021-05-17 01:44:
> > What kind of network is this? I would have expected that if the network
> > can't keep up the small sends would end up getting aggregated into
> > larger packets anyway? Are you hitting a PPS limit due to the small
> > packages, but not yet the throughput limit?
>
> I believe the reason is more in sys-call and kernel cpu time overhead than
> in network throughput. Especially in this "after meltdown+spectre" time.
Well, enabling Nagle's wouldn't change anything if the issue is just
syscall and not network overhead. Yet the ask was to enable Nagle's...
Greetings,
Andres Freund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@anarazel.de, y.sokolov@postgrespro.ru, rony.kurniawan@oracle.com
Subject: Re: BUG #17005: Enhancement request: Improve walsender throughput by aggregating multiple messages in one send
In-Reply-To: <20210517162753.lmhmnfd72bn3nfms@alap3.anarazel.de>
References: <17005-3e1030784d5440c4@postgresql.org> <20210516224413.xitbilinlyrlt42m@alap3.anarazel.de> <aae9709fddecd6f6b59405c62a861dae@postgrespro.ru> <20210517162753.lmhmnfd72bn3nfms@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox