public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Testing optimize-for-size suitability?
@ 2005-01-16 15:40 Steve Snyder
  2005-01-16 15:46 ` Arjan van de Ven
  2005-01-19  4:17 ` Adrian Bunk
  0 siblings, 2 replies; 5+ messages in thread
From: Steve Snyder @ 2005-01-16 15:40 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Is there a benchmark or set of benchmarks that would allow me to test the 
suitability of the CONFIG_CC_OPTIMIZE_FOR_SIZE kernel config option?

It seems to me that the benefit of this option is very dependant on the 
amount of CPU cache installed, with the compiler code generation being a 
secondary factor.  The use, or not, of CONFIG_CC_OPTIMIZE_FOR_SIZE is 
basically an act of faith without knowing how it impacts my particular 
environment.

I've got a Pentium4 CPU with 512KB of L2 cache, and I'm using GCC v3.3.3.  
How can I determine whether or not CONFIG_CC_OPTIMIZE_FOR_SIZE should be 
used for my system?

Thanks.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-19  5:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16 15:40 Testing optimize-for-size suitability? Steve Snyder
2005-01-16 15:46 ` Arjan van de Ven
2005-01-16 20:18   ` Rogério Brito
2005-01-19  4:17 ` Adrian Bunk
2005-01-19  5:14   ` Willy Tarreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox