Re: CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> Sascha Siegel schrieb:
>> Hi,
>>
>> can someone tell my whats the reason for building the arch-kernel with
>> "# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set"?
>>
>> Thank you!
>
> Optimizing for size sacrifices performance. Read the gcc documentation
> about the -O{1,2,3,s} options.

I remember a few kernel devs recommending size. It was to reduce the
number of cache misses and improve CPU cache utilisation, avoiding RAM and
L2 cache. Fedora/RHEL appears to optimize for size.

That was a while ago when I was doing some kernel stuff.... so I could be
wrong.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux