Re: Sun performance - Major discovery! - Mailing list pgsql-performance

From Bruce Momjian
Subject Re: Sun performance - Major discovery!
Date
Msg-id 200310091927.h99JRuA28389@candle.pha.pa.us
Whole thread Raw
In response to Re: Sun performance - Major discovery!  (Christopher Browne <cbbrowne@libertyrms.info>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Christopher Browne
Date:
Subject: Re: Sun performance - Major discovery!
Next
From: "scott.marlowe"
Date:
Subject: Re: [pgsql-advocacy] OFFTOPIC: PostgreSQL vs MySQL