Re: FORTIFY_SOURCE for the kernel

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

 



On Tue, 2006-01-24 at 01:54 +1030, n0dalus wrote:
> On 1/24/06, Josh Boyer <jwboyer@xxxxxxxxxxxxxxxxxx> wrote:
> > > On Mon, 2006-01-23 at 07:53 -0600, Josh Boyer wrote:
> > >
> > > The "s" in -Os stands for "size", not for "speed". So if -Os compiled
> > > code-execution is faster than the default CFLAGS, something must be
> > > broken elsewhere.
> >
> > That's not true.  Yes, -Os stands for size.  However code size _can_
> > translate to performance increase.  Think about cache footprint, etc.
> > Smaller code means more can fit in the cache.  It also results in a
> > smaller DRAM footprint for thinks like shared libraries, etc.
> >
> 
> Yes. In fact, -Os has been shown in many benchmarks to be just as good
> if not occasionally superior in efficiency to -O2.
References? Which CPUs? How generalizable are these results?

The fact that some applications might be running faster -Os-compiled,
doesn't mean much.

Ralf


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux