lkml.org 
[lkml]   [2013]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] [x86]: Compiler Option Os is better on latest x86
From
Date
On Fri, 25 Jan 2013 09:11:01 -0500, ling.ma.program@gmail.com said:

> Based on above reasons, we compiled linux kernel 3.6.9 with O2 and Os
> respectively. The results show Os improve performance netperf 4.8%,
> 2.7% for volano as below

Am I allowed to NAK this? What the numbers given so far *actually*
show is 4.8% more instructions executed, *not* 4.8% better performance.

I'm having a *very* hard time convincing myself that what we're seeing isn't
simply the expected behavior of loops *not* being unrolled and similar
non-optimizations done by -Os, so more instructions get executed to do the same
amount of work.

Rather than "run for 10 seconds and count instructions", can we
"run for 50,000 syscalls and count clock time" or similar that shows
an *actual* improvement?

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-01-28 18:42    [W:0.104 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site