Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012
Дата
Msg-id 559A8B59.6040103@iki.fi
обсуждение исходный текст
Ответ на Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 07/06/2015 04:30 PM, Tom Lane wrote:
> Heikki Linnakangas <hlinnaka@iki.fi> writes:
>> I was able to reproduce huge gains from this, after I introduced an
>> artificial latency to all network packets with:
>
>> tc qdisc add dev eth2 root netem delay 100ms
>
>> With that, and with the client on different host so that the traffic
>> goes through that high-latency network, I saw over 10x difference with
>> the same psql test you ran.
>
>> Committed, thanks!
>
> Why does the committed patch do getsockopt() on server_fd rather than
> port->sock?  This seems at best confusing and at worst wrong.

Good catch, fixed!

- Heikki




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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [PATCH v1] GSSAPI encryption support
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Idea: closing the loop for "pg_ctl reload"