pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Florian Weimer <fweimer@bfk.de>
To: Cosimo Streppone <cosimo@streppone.it>
Cc: Postgresql Performance list <pgsql-performance@postgresql.org>
Subject: Re: New to PostgreSQL, performance considerations
Date: Tue, 12 Dec 2006 16:17:27 +0100
Message-ID: <82psapuos8.fsf@mid.bfk.de> (raw)
In-Reply-To: <457EA39E.1020207@streppone.it>
References: <C1A31C39.15548%llonergan@greenplum.com>
	<457EA39E.1020207@streppone.it>

* Cosimo Streppone:

> "-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

-mcpu and -mtune are synonymous.  You really should -march here (but
the result is non-generic code).  Keep in mind that GCC does not
contain an instruction scheduler for the Pentium 4s.  I also believe
that the GCC switches are not fine-grained enough to cover the various
Pentium 4 variants.  For instance, some chips don't like the CMOV
instruction at all, but others can process it with decent speed.

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99



view thread (124+ messages)  latest in thread

Message-ID: <82psapuos8.fsf@mid.bfk.de>
Permalink:  ../82psapuos8.fsf@mid.bfk.de/
Also on:    postgresql.org/message-id/82psapuos8.fsf@mid.bfk.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: fweimer@bfk.de, cosimo@streppone.it
  Subject: Re: New to PostgreSQL, performance considerations
  In-Reply-To: <82psapuos8.fsf@mid.bfk.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox