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 82A77D9532 for ; Thu, 3 Nov 2005 22:32:00 -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 95731-07 for ; Fri, 4 Nov 2005 02:31:55 +0000 (GMT) X-Greylist: delayed 03:03:17.816287 by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id 14CBAD909E for ; Thu, 3 Nov 2005 22:31:48 -0400 (AST) Received: from cliff.cs.toronto.edu (cliff.cs.toronto.edu [128.100.3.120]) by svr2.postgresql.org (Postfix) with ESMTP id ACD87F0CE7 for ; Thu, 3 Nov 2005 20:25:51 +0000 (GMT) Received: from josh.db (josh.db.toronto.edu [128.100.3.95]) by cliff.cs.toronto.edu (Postfix) with ESMTP id 8EA955FD0B; Thu, 3 Nov 2005 15:25:42 -0500 (EST) Received: by josh.db (Postfix, from userid 1300) id 863C93140B; Thu, 3 Nov 2005 15:25:42 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by josh.db (Postfix) with ESMTP id 83FB0313EE; Thu, 3 Nov 2005 15:25:42 -0500 (EST) Date: Thu, 3 Nov 2005 15:25:42 -0500 (EST) From: Qingqing Zhou X-X-Sender: zhouqq@josh.db To: Magnus Hagander Cc: Merlin Moncure , pgsql-performance@postgresql.org Subject: Re: insert performance for win32 In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCE92E7E6@algol.sollentuna.se> Message-ID: References: <6BCB9D8A16AC4241919521715F4D8BCE92E7E6@algol.sollentuna.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.362 required=5 tests=[AWL=-0.117, DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.362 X-Spam-Level: X-Archive-Number: 200511/64 X-Sequence-Number: 15321 On Thu, 3 Nov 2005, Magnus Hagander wrote: > > Both win32 send/recv have pgwin32_poll_signals() in them. > > This is glorified WaitForSingleObjectEx on global > > pgwin32_signal_event. This is probably part of the problem. > > Can we work some of the same magic you put into check > > interrupts macro? > > > > Uh, we already do that, don't we? > http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32/ > socket.c?rev=1.10 > has: > Yeah, we did this. I am thinking of just use simple mechanism of the win32 sockets, which could not pick up signals, but I would like to see if there is any difference -- do you think there is any point to try this? Regards, Qingqing