Re: Sun performance - Major discovery!

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Browne <cbbrowne(at)libertyrms(dot)info>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Sun performance - Major discovery!
Date: 2003-10-09 19:27:56
Message-ID: 200310091927.h99JRuA28389@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Christopher Browne wrote:
> pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2003-10-09 19:30:08 Re: [PERFORM] OFFTOPIC: PostgreSQL vs MySQL
Previous Message scott.marlowe 2003-10-09 19:25:47 Re: PostgreSQL vs MySQL