X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6818D11F6B7F for ; Fri, 21 Apr 2006 15:34:29 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.254 X-Spam-Level: X-Spam-Status: No, score=0.254 required=5 tests=[AWL=0.254] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 1vmaYLLW+g4k for ; Fri, 21 Apr 2006 15:34:24 -0300 (ADT) 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 6694511F6B78 for ; Fri, 21 Apr 2006 15:34:25 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id DED6656423; Fri, 21 Apr 2006 13:34:24 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Fri, 21 Apr 2006 13:34:24 -0500 Date: Fri, 21 Apr 2006 13:34:24 -0500 From: "Jim C. Nasby" To: Wu Fengguang , Markus Schaber , pgsql-performance@postgresql.org Subject: Re: Introducing a new linux readahead framework Message-ID: <20060421183423.GL49405@pervasive.com> References: <20060421013826.GA5217@mail.ustc.edu.cn> <20060421043147.GV49405@pervasive.com> <20060421071511.GA4885@mail.ustc.edu.cn> <44488F7E.6060704@logix-tt.com> <20060421122028.GA5937@mail.ustc.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060421122028.GA5937@mail.ustc.edu.cn> 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:060421:wfg@mail.ustc.edu.cn::g9ABxza9uxiTJ+Lp:00000000000000000 0000000000000000000000002MKN X-Hashcash: 1:20:060421:schabi@logix-tt.com::OAUKZ03YN2fLHkIU:000000000000000000 0000000000000000000000001E33 X-Hashcash: 1:20:060421:pgsql-performance@postgresql.org::7lDLaE7+eihPThnx:00000 0000000000000000000000004U5N X-Archive-Number: 200604/509 X-Sequence-Number: 18593 On Fri, Apr 21, 2006 at 08:20:28PM +0800, Wu Fengguang wrote: > Hi Markus, > > On Fri, Apr 21, 2006 at 09:53:34AM +0200, Markus Schaber wrote: > > Are there any rough estimates when this will get into mainline kernel > > (if you intend to submit)? > > I'm not quite sure :) > > The patch itself has been pretty stable. To get it accepted, we must > back it by good benchmarking results for some important applications. > I have confirmed that file service via FTP/HTTP/NFS can more or less > benefit from it. However, database services have not been touched yet. > Oracle/DB2 seem to bypass the readahead code route, while postgresql > relies totally on kernel readahead logic. So if postgresql is proved > to work well with this patch, it will have good opportunity to go into > mainline :) IIRC Mark from OSDL said he'd try testing this when he gets a chance, but you could also try running dbt2 and dbt3 against it. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461