Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id E427263281D for ; Fri, 13 Mar 2009 14:23:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 33583-03 for ; Fri, 13 Mar 2009 14:23:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 219CC63239E for ; Fri, 13 Mar 2009 14:23:44 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n2DHNOJH012432; Fri, 13 Mar 2009 13:23:24 -0400 (EDT) To: Alan Stange cc: Gregory Stark , "Jignesh K. Shah" , Greg Smith , "pgsql-performance@postgresql.org" Subject: Re: 8.4 Performance improvements: was Re: Proposal of tunable fix for scalability of 8.4 In-reply-to: <49BA79A4.9030208@rentec.com> References: <49B922C0.6050700@sun.com> <49BA5537.8060002@sun.com> <87prgl4jbh.fsf@oxford.xeocode.com> <49BA79A4.9030208@rentec.com> Comments: In-reply-to Alan Stange message dated "Fri, 13 Mar 2009 11:20:04 -0400" Date: Fri, 13 Mar 2009 13:23:24 -0400 Message-ID: <12431.1236965004@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.017 tagged_above=0 required=5 tests=AWL=0.017 X-Spam-Level: X-Archive-Number: 200903/168 X-Sequence-Number: 33090 Alan Stange writes: > Gregory Stark wrote: >> AFAIK Opensolaris doesn't implement posix_fadvise() so there's no benefit. > It's implemented. I'm guessing it's not what you want to see though: > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/gen/posix_fadvise.c Ugh. So apparently, we actually need to special-case Solaris to not believe that posix_fadvise works, or we'll waste cycles uselessly calling a do-nothing function. Thanks, Sun. regards, tom lane