> -----Original Message----- > From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general- > owner@xxxxxxxxxxxxxx] On Behalf Of Rob Brown-Bayliss > Sent: Tuesday, November 09, 2010 8:20 PM > To: pgsql-general@xxxxxxxxxxxxxx > Subject: Re: Libpq is very slow on windows but fast on linux. > > Further testing shows it is windows networking causing the issue. > Copying files to and from the server is 5 to 6 times slower on a > Windows client compared to the Linux client. > > The issue is not specific to libpq. Check your Nagle setting. http://support.microsoft.com/kb/138831 See also: http://apocryph.org/2006/07/08/achieving_maximum_tcp_performance_on_windows_xp_2k3/ P.S. Iperf is really useful to see how well things are going as a diagnostic tool: http://sourceforge.net/projects/iperf/files/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general