| От | 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?
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера