lkml.org 
[lkml]   [2003]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6 patch] add a config option for -Os compilation
>> On Sat, Oct 18, 2003 at 10:24:02AM -0700, Andrew Morton wrote:
>> > "Martin J. Bligh" <mbligh@aracnet.com> wrote:
>> > >
>> > > Please don't - I benchmarked it a while ago, and it's definitely slower.
>> >
>> > Alan said he generally found -Os to be faster...
>>
>> Not exactly:
>> http://www.ussg.iu.edu/hypermail/linux/kernel/0211.0/1513.html
>>
>
> http://www.ussg.iu.edu/hypermail/linux/kernel/0308.1/1261.html
>
> And bear in mind that you can see significant changes in benchmark results
> between equivalent kernels even when the optimisation level is kept the
> same, due to aliasing and alignment luck.
>
> It would take a quite a lot of work to measure this properly. A simple A/B
> comparison doesn't cut it.

So why are we changing it then? ;-) We don't seem to have much evidence
either way. What are the distros doing?

M.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.115 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site