X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 34E549FB36F for ; Fri, 22 Sep 2006 11:02:57 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 20645-08 for ; Fri, 22 Sep 2006 14:02:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 74B049FA088 for ; Fri, 22 Sep 2006 11:02:32 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 3E4FF56427; Fri, 22 Sep 2006 09:02:31 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Fri, 22 Sep 2006 09:02:29 -0500 Date: Fri, 22 Sep 2006 09:02:29 -0500 From: "Jim C. Nasby" To: Bruce Momjian Cc: Guy Thornley , Markus Schaber , Luke Lonergan , pgsql-performance@postgresql.org Subject: Re: Large tables (was: RAID 0 not as fast as Message-ID: <20060922140228.GX28987@nasby.net> References: <20060922025209.GO6211@esphion.com> <200609220305.k8M35dI10346@momjian.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200609220305.k8M35dI10346@momjian.us> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060922:bruce@momjian.us::MjEOWN4ynMcuE2yd:0EoHG X-Hashcash: 1:20:060922:guy@esphion.com::ZXn45bhWtGV3T3No:00340+ X-Hashcash: 1:20:060922:schabi@logix-tt.com::NS/54PNwQ1gi5UTZ:000000000000000000 0000000000000000000000006GDj X-Hashcash: 1:20:060922:llonergan@greenplum.com::K5llZb49BCXfCWLg:00000000000000 0000000000000000000000001aoY X-Hashcash: 1:20:060922:pgsql-performance@postgresql.org::nFZOBqH5WpHN+iay:00000 000000000000000000000000034j X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/301 X-Sequence-Number: 20987 On Thu, Sep 21, 2006 at 11:05:39PM -0400, Bruce Momjian wrote: > We tried posix_fadvise() during the 8.2 development cycle, but had > problems as outlined in a comment in xlog.c: > > /* > * posix_fadvise is problematic on many platforms: on older x86 Linux > * it just dumps core, and there are reports of problems on PPC platforms > * as well. The following is therefore disabled for the time being. > * We could consider some kind of configure test to see if it's safe to > * use, but since we lack hard evidence that there's any useful performance > * gain to be had, spending time on that seems unprofitable for now. > */ In case it's not clear, that's a call for someone to do some performance testing. :) Bruce, you happen to have a URL for a patch to put fadvise in? -- Jim Nasby jim@nasby.net EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)