От: Tom Lane
Тема: Re: OSX & Performance
Дата: ,
Msg-id: 11273.1125338254@sss.pgh.pa.us
(см: обсуждение, исходный текст)
Ответ на: Re: OSX & Performance  (Jeff Trout)
Ответы: Re: OSX & Performance  (Jeff Trout)
Список: pgsql-performance

Скрыть дерево обсуждения

OSX & Performance  (Jeff Trout, )
 Re: OSX & Performance  (Tom Lane, )
  Re: OSX & Performance  (Jeff Trout, )
   Re: OSX & Performance  (Tom Lane, )
    Re: OSX & Performance  (Jeff Trout, )

Jeff Trout <> writes:
> On Aug 28, 2005, at 4:00 PM, Tom Lane wrote:
>> 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

You must have CFLAGS set to empty in your build environment, because
configure will certainly default to -O2 if not overridden.  It works
fine for me on OS X.  Maybe you want to trace through the configure
script and see why it's doing something else?

            regards, tom lane

В списке pgsql-performance по дате сообщения:

От: asif ali
Сообщение: Re: Weird performance drop after VACUUM
От: Christopher Kings-Lynne
Сообщение: Re: shared buffers