From: Steve Snyder <swsnyder@insightbb.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Testing optimize-for-size suitability?
Date: Sun, 16 Jan 2005 10:40:12 -0500 [thread overview]
Message-ID: <200501161040.12907.swsnyder@insightbb.com> (raw)
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.
next reply other threads:[~2005-01-16 15:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-16 15:40 Steve Snyder [this message]
2005-01-16 15:46 ` Testing optimize-for-size suitability? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200501161040.12907.swsnyder@insightbb.com \
--to=swsnyder@insightbb.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox