Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id DB229133798F for ; Wed, 27 Oct 2010 17:57:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 82070-02 for ; Wed, 27 Oct 2010 20:56:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from zimbra01a.gobox.com.br (gobox.com.br [189.26.115.162]) by mail.postgresql.org (Postfix) with ESMTP id F11701335B36 for ; Wed, 27 Oct 2010 17:56:57 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra01a.gobox.com.br (Postfix) with ESMTP id D7821142C6792; Wed, 27 Oct 2010 18:56:54 -0200 (BRST) X-Virus-Scanned: amavisd-new at gobox.com.br Received: from zimbra01a.gobox.com.br ([127.0.0.1]) by localhost (zimbra01a.gobox.com.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tGzaJ+JkdDpg; Wed, 27 Oct 2010 18:56:52 -0200 (BRST) Received: from zimbra01a.gobox.com.br (zimbra01a.gobox.com.br [172.16.10.22]) by zimbra01a.gobox.com.br (Postfix) with ESMTP id 59DDD142189BD; Wed, 27 Oct 2010 18:56:52 -0200 (BRST) Date: Wed, 27 Oct 2010 18:56:52 -0200 (BRST) From: =?utf-8?Q?Andr=C3=A9_Volpato?= To: Greg Smith Cc: Brad Nicholson , pgsql-performance@postgresql.org Message-ID: <1619873356.10803.1288213012254.JavaMail.root@zimbra01a> In-Reply-To: <4CC87C69.5070301@2ndquadrant.com> Subject: Re: AIX slow buffer reads MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.16.10.1] X-Mailer: Zimbra 6.0.8_GA_2661 (ZimbraWebClient - FF3.0 (Win)/6.0.8_GA_2661) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201010/515 X-Sequence-Number: 40933 ----- Mensagem original ----- | Andr=C3=A9 Volpato wrote: | > | | > | If it is being spent in the bitmap index scan, try setting | > | effective_io_concurrency to 0 for Linux, and see what effect that | > | has. | > | > I disabled effective_io_concurrency at AIX but it made no changes on | > bitmap index times. | > |=20 | Brad's point is that it probably doesn't do anything at all on AIX, | and is already disabled accordingly. But on Linux, it is doing something, | and that might be contributing to why it's executing so much better on | that platform. If you disable that parameter on your Debian box, that | should give you an idea whether that particular speed-up is a major | component to the difference you're seeing or not. Cant do it right now, but will do it ASAP and post here. | Also, if the system check was done by the "vendor team" team, don't | trust them at all. It doesn't sound like a disk problem is involved in | your case yet, but be sure to do your own basic disk benchmarking too | rather than believing what you're sold. There's a quick intro to that | at | http://www.westnet.com/~gsmith/content/postgresql/pg-disktesting.htm | and a much longer treatment of the subject in my book if you want a | lot | more details. I don't have any AIX-specific tuning advice in there | though.|=20 I=C2=B4m gonna read your sugestion, thanks. We tested the disks also, and we did a lot of tuning to get acceptable tran= sfer rates at AIX. Yesterday I tried your "stream-scaling" and get around 7000MB/s (single thr= ead) and 10000MB/s (eight threads) at AIX, and a little less than that at D= ebian, since its a virtual box. I found that even my notebook is close to that transfer rates, and both box= es are limited by DDR2 speeds. | -- | Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD | PostgreSQL Training, Services and Support www.2ndQuadrant.us | "PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books []=C2=B4s, Andr=C3=A9 Volpato