Re: gcc: why optimize for size flag is not the default

Поиск
Список
Период
Сортировка
От Grzegorz Jaskiewicz
Тема Re: gcc: why optimize for size flag is not the default
Дата
Msg-id 3BBC3658-CCCD-4331-9CA4-06ED9C75A65B@pointblue.com.pl
обсуждение исходный текст
Ответ на Re: gcc: why optimize for size flag is not the default  (Marko Kreen <markokr@gmail.com>)
Ответы Re: gcc: why optimize for size flag is not the default
Список pgsql-hackers
On 11 Mar 2009, at 13:51, Marko Kreen wrote:

> Linux kernel is moving to use -Os everywhere.  AFAIK their argument is
> that kernel code should not be doing anything CPU-intensive, thus
> minimal cache usage is more important than unrolled loops.
>
> This also seems to hint that -Os is not really appropriate to  
> Postgres.
> Although it would be good fit for eg. PgBouncer.

while it might be right in case of linux kernel (which I won't agree  
totally with personally), I don't see any reason to compare it with  
postgresql.
Kernel is extensively use by everything in system, hence their  
reasoning. Postgresql is an application.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: idea, proposal: only preloadable libraries (conditional load)
Следующее
От: "A.M."
Дата:
Сообщение: Re: gcc: why optimize for size flag is not the default