X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 485BC9DCCAD for ; Tue, 29 Nov 2005 13:52:33 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11852-04 for ; Tue, 29 Nov 2005 13:52:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svana.org (svana.org [203.20.62.76]) by postgresql.org (Postfix) with ESMTP id 11DC49DCC6A for ; Tue, 29 Nov 2005 13:52:27 -0400 (AST) Received: from kleptog by svana.org with local (Exim 3.35 #1 (Debian)) id 1Eh9eM-0001od-00; Wed, 30 Nov 2005 04:52:18 +1100 Date: Tue, 29 Nov 2005 18:52:18 +0100 From: Martijn van Oosterhout To: David Boreham Cc: pgsql-hackers@postgresql.org Subject: Re: ice-broker scan thread Message-ID: <20051129175217.GG31333@svana.org> Reply-To: Martijn van Oosterhout References: <20051129110214.GA31333@svana.org> <438C76DA.4060801@boreham.org> <20051129164651.GF31333@svana.org> <438C8FD9.3090302@boreham.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HB4mHL4PVvkpZAgW" Content-Disposition: inline In-Reply-To: <438C8FD9.3090302@boreham.org> User-Agent: Mutt/1.3.28i X-PGP-Key-ID: Length=1024; ID=0x0DC67BE6 X-PGP-Key-Fingerprint: 295F A899 A81A 156D B522 48A7 6394 F08A 0DC6 7BE6 X-PGP-Key-URL: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[AWL=0.000] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/1483 X-Sequence-Number: 76765 --HB4mHL4PVvkpZAgW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 29, 2005 at 10:28:57AM -0700, David Boreham wrote: > Actually, after reading up on the current state of things, I'm not sure y= ou > can even get POSIX aio on top of kernel aio in Linux. There are also a > few limitations in the 2.6 aio implementation that might prove troublesom= e: > for example it only works with O_DIRECT. Which is bizarre because it's semantically equivalent to having a seperate thread doing the read() and sending you a signal when it's done. What I'm thinking of testing is a join across two large table so there is actually more than one outstanding request at a time. But it's irritating to have to code to a special api... Have a nice day, --=20 Martijn van Oosterhout http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them. --HB4mHL4PVvkpZAgW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFDjJVRIB7bNG8LQkwRAvHJAJ9Yw/1DYWrFNhzzT1NaagOVJj3esQCbBf0B 9/X5QiiZ5EXO2nr6D1idkr0= =YN9g -----END PGP SIGNATURE----- --HB4mHL4PVvkpZAgW--