Re: Optimization levels when compiling PostgreSQL...

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Re: Optimization levels when compiling PostgreSQL...
Дата
Msg-id 8765wx6yzt.fsf@Login.CERT.Uni-Stuttgart.DE
обсуждение исходный текст
Ответ на Re: Optimization levels when compiling PostgreSQL...  (Sean Chittenden <sean@chittenden.org>)
Список pgsql-hackers
Sean Chittenden <sean@chittenden.org> writes:

> I'm thinking about changing this from a beta port to a -devel port
> that I'll periodically update with snapshots.  I'll turn on -O6 for
> the -devel port and -O2 for production for now.  If I don't hear of
> any random bogons in the code I'll see if I can't increase it further
> to -O3 and beyond at a slow/incremental rate.

-O3 is usually slower than -O2 because of increased code size due to
automatic inlining. With GCC, -O4 etc. are all equivalent to -O3.

-- 
Florian Weimer                       Weimer@CERT.Uni-Stuttgart.DE
University of Stuttgart           http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT                          fax +49-711-685-5898


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: HISTORY updated for 7.3beta2
Следующее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Improving speed of copy