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

From Tom Lane
Subject Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012
Date
Msg-id 25102.1436189428@sss.pgh.pa.us
Whole thread Raw
In response to Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: PATCH:do not set Win32 server-side socket buffer size on windows 2012
List 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 by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: dblink: add polymorphic functions.
Next
From: Tom Lane
Date:
Subject: Re: pg_stat_*_columns?