Andres Freund <andres(at)anarazel(dot)de> writes:
> It might be better to just use larger send sizes however. I think most
> kernels are going to be better than us knowing how to chop up the send
> size.
Yeah. The existing commentary about that is basically justifying 8K
as being large enough to avoid performance issues; if somebody can
show that that's not true, I wouldn't have any hesitation about
kicking it up.
(Might be worth malloc'ing it rather than having it as part of the
static process image if we do so, but that's a trivial change.)
regards, tom lane