lkml.org 
[lkml]   [2009]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/5] [GIT PULL] ring-buffer: optimize to 17% performance increase

On Tue, 12 May 2009, Steven Rostedt wrote:

>
> On Tue, 12 May 2009, Steven Rostedt wrote:
> > >
> > > It's also interesting to see that text size went down when speed
> > > went up. I'm wondering how these compiler options:
> >
> > But that was not always the case. The biggest boost in performance of the
> > series (the last patch) also increased the size.
> >
> > >
> > > CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> > > CONFIG_OPTIMIZE_INLINING=y
> >
> > Note, my test runs had both the above configure options disabled.
> > I'll run it again and see how they affect the results:
>
> Here's the results:
>
> size=n inline=n 270
> size=n inline=y 290
> size=y inline=n 315
> size=y inline=y 372 (ouch!)
>
> Thus it seems to keep both optimizations off is best for performance.

Versions do make a difference. I just upgraded my distcc gcc on all my
distcc boxes from gcc 4.2.2 to 4.4.0 and here's the new results:

size=n inline=n 257
size=n inline=y 259
size=y inline=n 295
size=y inline=y 315

The gcc inlining got a little better, but adding size seems to hurt.

-- Steve



\
 
 \ /
  Last update: 2009-05-13 15:49    [W:4.806 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site