Re: OSX & Performance

From: Jeff Trout <threshar(at)torgo(dot)978(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: postgres performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: OSX & Performance
Date: 2005-08-29 17:27:25
Message-ID: 486EB962-5B80-49B4-AF01-0C2DD77CC9EF@torgo.978.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On Aug 28, 2005, at 4:00 PM, Tom Lane wrote:

>
> Hmm, can you provide a test case for other people to poke at?
>

I'l try to put one together as small as I can make it.
The table in question is roughly 22M rows. There are about 8k rows
per timestamp (day granularity).

> I see -O2 when building PG (CVS tip) on a fully up-to-date 10.4.2
> machine. Maybe something odd in your environment, like a preset
> CFLAGS setting?
>

8.0.3 doesn't have any optimization flags
8.1beta1 doesn't have any optimization
ie: gcc -no-cpp-precomp -Wall -Wmissing-prototypes -Wpointer-arith -
Wdeclaration-after-statement -Wold-style-definition -Wendif-labels -
fno-strict-aliasing -I../../src/port -I../../src/include -c
thread.c -o thread_srv.o

I'm on 10.4.2, xcode 2.1
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure --
disable-checking --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/
s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --
build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --
target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 (Apple Computer, Inc. build 5026)

The snapshot on ftp.psotgresql.org (dated 8/29) also runs with no
optimization.

No cflags are set.

need to see anything from config.log?

--
Jeff Trout <jeff(at)jefftrout(dot)com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2005-08-29 17:57:34 Re: OSX & Performance
Previous Message Carlos Henrique Reimer 2005-08-29 16:23:20 shared buffers