Re: Why does backend send buffer size hardcoded at 8KB?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why does backend send buffer size hardcoded at 8KB?
Дата
Msg-id 762.1564266890@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why does backend send buffer size hardcoded at 8KB?  (Andres Freund <andres@anarazel.de>)
Ответы Re: Why does backend send buffer size hardcoded at 8KB?  (Andres Freund <andres@anarazel.de>)
Список pgsql-general
Andres Freund <andres@anarazel.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



В списке pgsql-general по дате отправления:

Предыдущее
От: farjad.farid
Дата:
Сообщение: RE: Hardware for writing/updating 12,000,000 rows per hour
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Why does backend send buffer size hardcoded at 8KB?