X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AC61AD976D for ; Fri, 4 Nov 2005 18:17:12 -0400 (AST) 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 09154-08 for ; Fri, 4 Nov 2005 22:17:08 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 99E49D999D for ; Fri, 4 Nov 2005 18:17:09 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 12D4B31059; Fri, 4 Nov 2005 23:17:11 +0100 (MET) From: "Qingqing Zhou" X-Newsgroups: pgsql.performance Subject: Re: insert performance for win32 Date: Fri, 4 Nov 2005 17:17:21 -0500 Organization: Hub.Org Networking Services Lines: 21 Message-ID: References: <6BCB9D8A16AC4241919521715F4D8BCE92E7F1@algol.sollentuna.se> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.555 required=5 tests=[AWL=0.555] X-Spam-Score: 0.555 X-Spam-Level: X-Archive-Number: 200511/95 X-Sequence-Number: 15352 ""Magnus Hagander"" wrote >> >> I'd like to use the win32 provided recv(), send() functions >> instead of redirect them to pgwin32_recv()/pgwin32_send(), >> just like libpq does. If we do this, we will lose some >> functionalities, but I'd like to see the performance >> difference first. -- do you think that will be any difference? > > I doubt there will be much performance difference, as you hav eto hit > the kernel anyway (in the recv/send call). But that part is just a guess > :-) > On a separate line -- I verified Magnus's doubt -- revert pgwin32_recv() to recv() does not improve performance visiblly. Regards, Qingqing