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 9BFF111F662B for ; Wed, 5 Apr 2006 20:29:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 71944-03 for ; Wed, 5 Apr 2006 20:29:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from my.endian.it (unknown [62.146.87.34]) by postgresql.org (Postfix) with ESMTP id EE7C411F6259 for ; Wed, 5 Apr 2006 20:29:43 -0300 (ADT) Received: from dell.home.lan (host14-128.pool8251.interbusiness.it [82.51.128.14]) (authenticated (0 bits)) by my.endian.it (8.11.6/8.11.6) with ESMTP id k360WUr17984; Thu, 6 Apr 2006 02:32:30 +0200 Subject: Re: bad performance on Solaris 10 From: Chris Mair To: Mark Kirkwood Cc: pgsql-performance@postgresql.org, josh@agliodbs.com, llonergan@greenplum.com In-Reply-To: <443451F0.5060605@paradise.net.nz> References: <1144111178.3723.80.camel@dell.home.lan> <1144272685.4562.43.camel@dell.home.lan> <443451F0.5060605@paradise.net.nz> Content-Type: text/plain Date: Thu, 06 Apr 2006 01:29:40 +0200 Message-Id: <1144279780.5133.19.camel@dell.home.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-22) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200604/80 X-Sequence-Number: 18164 > > I've done a few tests. > > > > Remounting the fs where $PGDATA lives with "forcedirectio" > > (together with logging, that is default) did not help > > (if not harm...) performance. > > > > > > Sure - forcedirectio on the entire $PGDATA is a definite loss, you only > want it on $PGDATA/pg_xlog. The usual way this is accomplished is by > making a separate filsystem for pg_xlog and symlinking from $PGDATA. > > Did you try the other option of remounting the fs for $PGDATA without > logging or forcedirectio? not yet, I'm not on the final disk set yet. when I get there I'll have two separate filesystems for pg_xlog and base and will try what you suggest. (but note the other mail about wal_sync_method = fsync) bye, chris.