Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
An good article for all GCC speed junkies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Mon Nov 17, 2003 11:23 pm    Post subject: An good article for all GCC speed junkies Reply with quote

An Evolutionary Analysis of GNU C Optimizations

cheers

SteveB
Back to top
View user's profile Send private message
tomapd
n00b
n00b


Joined: 26 Aug 2003
Posts: 22
Location: Sendai

PostPosted: Tue Nov 18, 2003 1:55 am    Post subject: Reply with quote

Yes. I read this one too. This is for us!!! :)
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Tue Nov 18, 2003 4:38 am    Post subject: Reply with quote

Indeed, a very interesting article! Thanks for posting that link.

I notice that the tests didn't include numbers for -Os. I suspect, however, that -Os might not fare as well as other optimizations in relatively pure CPU benchmarking (i.e., my hunch is -Os would be more competitive in situations where disk and RAM speed come into play more than in benchmarks intented to stress the CPU in relative isolation). Does that seem reasonable?
Back to top
View user's profile Send private message
Boris27
Guru
Guru


Joined: 05 Nov 2003
Posts: 562
Location: Almelo, The Netherlands

PostPosted: Tue Nov 18, 2003 8:54 am    Post subject: Reply with quote

ozonator wrote:
Indeed, a very interesting article! Thanks for posting that link.

I notice that the tests didn't include numbers for -Os. I suspect, however, that -Os might not fare as well as other optimizations in relatively pure CPU benchmarking (i.e., my hunch is -Os would be more competitive in situations where disk and RAM speed come into play more than in benchmarks intented to stress the CPU in relative isolation). Does that seem reasonable?


Yes. I thought the same. O3 might be blazing fast on your CPU, but the disk access times (and whatnot) have been excluded in this test. And they do make a difference.

It's not just the CPU you're optimizing for, its the rest of the system too.... If you build a 2500+ Athlon with an old and slow 1.6 GB Seagate disk and use O3, you're basically saying that you like to flog old drives to their deaths....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum