Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B95CE9FA1DE for ; Mon, 11 Dec 2006 10:58:32 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 42039-08 for ; Mon, 11 Dec 2006 10:58:21 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by postgresql.org (Postfix) with ESMTP id 9D0379F9EED for ; Mon, 11 Dec 2006 10:58:21 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id x4so2163482nfb for ; Mon, 11 Dec 2006 06:58:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=umMtqK8zh7yrzaHTpH7UxpFSYhIfPOPSJgI0XSuy4yjinPFdu8ag0DGOT527ebggZ3LiGVY+LsIEh46KA0hvFwXVDhGCyukik6BF7dkBSq3GJx3u6MKxPN8m5j/XfpJ4WFQsfNAdKOL3pyWoy+PVKg/1i+UwTJt7WYURJrAYQUQ= Received: by 10.82.127.15 with SMTP id z15mr429482buc.1165849099099; Mon, 11 Dec 2006 06:58:19 -0800 (PST) Received: by 10.82.159.6 with HTTP; Mon, 11 Dec 2006 06:58:18 -0800 (PST) Message-ID: <5e66c6e90612110658r3c0918f6v4fd3682363db5c15@mail.gmail.com> Date: Mon, 11 Dec 2006 15:58:18 +0100 From: "Axel Waggershauser" To: "Tom Lane" Subject: Re: Low throughput of binary inserts from windows to linux Cc: pgsql-performance@postgresql.org In-Reply-To: <3317.1165636358@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5e66c6e90612080417r23ecaea4p210905f868c26c7f@mail.gmail.com> <5e66c6e90612081724m57293ffdy21d6b45697e69bd4@mail.gmail.com> <3317.1165636358@sss.pgh.pa.us> X-Google-Sender-Auth: d3fcc099bdfae6a9 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/233 X-Sequence-Number: 22289 On 12/9/06, Tom Lane wrote: > "Axel Waggershauser" writes: > > ... This works quite well for the > > following setups: > > > client -> server > > ----------------- > > linux -> linux > > linux -> windows > > windows -> windows > > > but pretty bad (meaning about 10 times slower) for this setup > > > windows -> linux > > This has to be a network-level problem. IIRC, there are some threads in > our archives discussing possibly-related performance issues seen with > Windows' TCP stack. Don't recall details, but I think in some cases > the problem was traced to third-party add-ons to the Windows stack. > You might want to check just what you're running there. I searched the archives but found nothing really enlightening regarding my problem. One large thread regarding win32 was related to a psql problem related to multiple open handles, other mails referred to a "QoS" patch but I could not find more specific information. I thought about firewall or virus scanning software myself, but I can't really see why such software should distinguish between a windows remote host and a linux remote host. Furthermore, "downloading" is fast on all setups, it's just uploading from windows to linux, which is slow. I repeated my test with a vanilla windows 2000 machine (inc. tons of microsoft hot-fixes) and it exposes the same problem. I'm out of ideas here, maybe someone could try to reproduce this behavior or could point me to the thread containing relevant information (sorry, maybe I'm just too dumb :-/) Thank, Axel