X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2B31ED1B56A for ; Thu, 9 Oct 2003 19:31:24 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 07961-04 for ; Thu, 9 Oct 2003 16:30:39 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 8E72CD1B56D for ; Thu, 9 Oct 2003 16:27:56 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h99JRuA28389; Thu, 9 Oct 2003 15:27:56 -0400 (EDT) From: Bruce Momjian Message-Id: <200310091927.h99JRuA28389@candle.pha.pa.us> Subject: Re: Sun performance - Major discovery! In-Reply-To: <60znga5lgx.fsf@dev6.int.libertyrms.info> To: Christopher Browne Date: Thu, 9 Oct 2003 15:27:56 -0400 (EDT) Cc: pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL106 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/301 X-Sequence-Number: 4049 Christopher Browne wrote: > pgman@candle.pha.pa.us (Bruce Momjian) writes: > > 5) How can I compile for optimum performance? > > > > Try using the "-fast" compile flag. The binaries might not be portable to > > other Solaris systems, and you might need to compile everything that links > > to PostgreSQL with "-fast", but PostgreSQL will run significantly faster, > > 50% faster on some tests. > > You might also mention something like the following: > > If you are compiling using GCC, you will quite likely want to add in > the "-O2" compile flag. We already do that by default in current CVS for gcc, and -O for non-gcc. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073