Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 21B0564FCBE for ; Fri, 2 Jan 2009 11:34:04 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 64850-06 for ; Fri, 2 Jan 2009 11:34:01 -0400 (AST) 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 6A74464FC41 for ; Fri, 2 Jan 2009 11:34:01 -0400 (AST) 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 n02FXPFw024482; Fri, 2 Jan 2009 10:33:25 -0500 (EST) To: Greg Smith cc: Robert Haas , Gregory Stark , ITAGAKI Takahiro , Postgres Subject: Re: posix_fadvise v22 In-reply-to: References: <8347.1229012970@sss.pgh.pa.us> <4136ffa0812110911x4914a951o6ca502879e3dede7@mail.gmail.com> <87k5a6tmy7.fsf@oxford.xeocode.com> <603c8f070901011230t1afa6644racb715b975078054@mail.gmail.com> <10658.1230843315@sss.pgh.pa.us> <603c8f070901011843p121e40afu35c4a7bdc51c051c@mail.gmail.com> Comments: In-reply-to Greg Smith message dated "Fri, 02 Jan 2009 05:08:13 -0500" Date: Fri, 02 Jan 2009 10:33:25 -0500 Message-ID: <24481.1230910405@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200901/55 X-Sequence-Number: 130699 Greg Smith writes: > On Thu, 1 Jan 2009, Robert Haas wrote: >> The only thing I haven't been able to do is demonstrate that this change >> actually produces a performance improvement. Either I'm testing the >> wrong thing, or it just doesn't provide any benefit on a single-spindle >> system. > When I did a round of testing on the earlier prefetch test program Greg > Stark put together, one of my single-spindle Linux system didn't show any > real benefit. So as long as you didn't see performance degrade, your not > seeing any improvement isn't bad news. ISTM that you *should* be able to see an improvement on even single-spindle systems, due to better overlapping of CPU and I/O effort. If the test case is either 100% CPU-bound or 100% I/O-bound then no, but for anything in between there ought to be improvement. regards, tom lane