X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 823548B9C0E for ; Wed, 9 Feb 2005 11:48:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89178-02 for ; Wed, 9 Feb 2005 11:48:28 +0000 (GMT) Received: from ro.mikronika.com.pl (ni.mikronika.com.pl [213.17.224.83]) by svr1.postgresql.org (Postfix) with ESMTP id F3CF68BA02B for ; Wed, 9 Feb 2005 11:48:29 +0000 (GMT) Received: from [192.168.0.56] (karol.mikronika.com.pl [192.168.0.56]) (authenticated bits=0) by ro.mikronika.com.pl (8.12.9/8.12.9/Debian-1) with ESMTP id j19BmQhZ004024; Wed, 9 Feb 2005 12:48:26 +0100 Message-ID: <4209F88A.8060200@mikronika.com.pl> Date: Wed, 09 Feb 2005 12:48:26 +0100 From: Karol Szkudlarek User-Agent: Mozilla Thunderbird 1.0 (X11/20041222) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Karol Szkudlarek Cc: pgsql-odbc@postgresql.org Subject: Re: 500 times slower References: <4202379B.5020604@mikronika.com.pl> <420330A2.70503@mikronika.com.pl> In-Reply-To: <420330A2.70503@mikronika.com.pl> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.07 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/40 X-Sequence-Number: 4930 Karol Szkudlarek wrote: > > The problem exists only between windows client and remote windows > server. The other configurations (for example remote linux server) > works ok. We are using stable version of psqlodbc driver. > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings Hi! My collegue spent some time to dig the following case and it looks like Nagle algorithm and delayed ACKs related problem. In psqlodbc.h #define SOCK_BUFFER_SIZE 4096 I changed that value to 8192 and driver works fine for me. I am not sure why this change helps. Karol