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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012
Дата
Msg-id 25102.1436189428@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
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.
        regards, tom lane



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: dblink: add polymorphic functions.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_stat_*_columns?