From: Gregory Maxwell <greg@linuxpower.cx>
To: "Jeff V. Merkey" <jmerkey@vger.timpanogas.org>
Cc: linux-kernel@vger.kernel.org
Subject: [OT] Re: PCI-SCI Drivers v1.1-7 released
Date: Tue, 6 Feb 2001 21:07:31 -0500 [thread overview]
Message-ID: <20010206210731.E1110@xi.linuxpower.cx> (raw)
In-Reply-To: <20010206182501.A23454@vger.timpanogas.org> <20010206190624.C23960@vger.timpanogas.org>
In-Reply-To: <20010206190624.C23960@vger.timpanogas.org>; from jmerkey@vger.timpanogas.org on Tue, Feb 06, 2001 at 07:06:24PM -0700
On Tue, Feb 06, 2001 at 07:06:24PM -0700, Jeff V. Merkey wrote:
> More to add on the gcc 2.96 problems. After compiling a Linux 2.4.1
> kernel on gcc 2.91, running SCI benchmarks, then compiling on RedHat
> 7.1 (Fischer) with gcc 2.96, the 2.96 build DROPPED 30% in throughput
> from the gcc 2.91 compiled version on the identical SAME 2.4.1
> source tree.
[snip]
Come on Jeff, don't let your annoyance make you a fudder..
The Linux kernel relies on certain undefined behaviors of the compiler to
achieve locality of various types. The optimizer in the GCC 3.0 code tree
is much smarter and is not laying out code the way GCC 2.x did.
So it's very likely that this lossage is caused by poorer cache locality.
After GCC 3 is finalized, it's likely that kernel developers will begin
moving to it, and rethinking how they express such things as branch
probability and code alignment to the compiler. Until then, GCC 3.0
snapshots are NOT the recommended compiler for the linux-kernel and not even
RedHat compilers their kernel's with it. User beware.
It should also be noted that this compiler almost always produces faster user
space code then the older compilers, because almost nothing includes the
type of hand-tweaked C that the kernel uses so often on critical paths, most
of that software uses assembly in such situations.
So.. It's likely that calling your performance issues 'gcc bugs' is about
the same as saying that SGI cc is buggy because it can't compile the kernel.
At least you managed to avoid calling RedHat names. :)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-02-07 2:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-07 1:25 PCI-SCI Drivers v1.1-7 released Jeff V. Merkey
2001-02-07 2:06 ` Jeff V. Merkey
2001-02-07 2:07 ` Gregory Maxwell [this message]
2001-02-07 18:08 ` [OT] " Jeff V. Merkey
2001-02-07 17:32 ` Jakub Jelinek
2001-02-07 18:31 ` Jeff V. Merkey
2001-02-07 18:37 ` Tim Wright
2001-02-07 20:14 ` Jeff V. Merkey
2001-02-07 19:22 ` Alan Cox
2001-02-07 20:24 ` Jeff V. Merkey
2001-02-07 20:35 ` PCI-SCI Build Problems on RedHat 7.1 Jeff V. Merkey
2001-02-07 19:52 ` Larry
2001-02-07 9:01 ` PCI-SCI Drivers v1.1-7 released David Howells
2001-02-07 18:10 ` Jeff V. Merkey
2001-02-07 9:22 ` Alan Cox
2001-02-07 18:19 ` Jeff V. Merkey
2001-02-07 19:06 ` Alan Cox
2001-02-07 20:03 ` Jeff V. Merkey
2001-02-07 19:12 ` Alan Cox
2001-02-07 9:15 ` Alan Cox
2001-02-07 18:13 ` Jeff V. Merkey
2001-02-07 19:02 ` Alan Cox
2001-02-07 20:02 ` Jeff V. Merkey
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=20010206210731.E1110@xi.linuxpower.cx \
--to=greg@linuxpower.cx \
--cc=jmerkey@vger.timpanogas.org \
--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