From: | Cosimo Streppone <cosimo(at)streppone(dot)it> |
---|---|
To: | Postgresql Performance list <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: New to PostgreSQL, performance considerations |
Date: | 2006-12-12 12:42:06 |
Message-ID: | 457EA39E.1020207@streppone.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Luke Lonergan wrote:
> Can you try this with just "-O3" versus "-O2"?
Thanks to Daniel for doing these tests.
I happen to have done the same tests about 3/4 years ago,
and concluded that gcc flags did *not* influence performance.
Moved by curiosity, I revamped those tests now on a test
machine (single P4 @ 3.2 Ghz, with 2Mb cache and 512 Mb Ram).
Here are the results:
http://www.streppone.it/cosimo/work/pg/gcc.png
In short: tests executed with postgresql 8.2.0,
gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4),
tps figures computed as average of 9 pgbench runs (don't ask why 9... :-),
with exactly the same commands given by Daniel:
"-O0" ~ 957 tps
"-O1 -mcpu=pentium4 -mtune=pentium4" ~ 1186 tps
"-O2 -mcpu=pentium4 -mtune=pentium4" ~ 1229 tps
"-O3 -mcpu=pentium4 -mtune=pentium4" ~ 1257 tps
"-O6 -mcpu=pentium4 -mtune=pentium4" ~ 1254 tps
I'm curious now to get the same tests run with
a custom-cflags-compiled glibc.
--
Cosimo
From | Date | Subject | |
---|---|---|---|
Next Message | Steinar H. Gunderson | 2006-12-12 12:46:33 | Re: New to PostgreSQL, performance considerations |
Previous Message | Michael Stone | 2006-12-12 12:32:55 | Re: New to PostgreSQL, performance considerations |