From: "Dieter Nützel" <Dieter.Nuetzel@hamburg.de>
To: Martin Dalecki <dalecki@evision-ventures.com>
Cc: Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: [ACPI] ACPI mentioned on lwn.net/kernel
Date: Mon, 28 Jan 2002 00:58:47 +0100 [thread overview]
Message-ID: <20020127235855Z289062-13996+13121@vger.kernel.org> (raw)
On Sunday, 27. January 2002 13:56, Martin Dalecki wrote:
> Linus Torvalds wrote:
>
> > In article <jeelkes8y5.fsf@sykes.suse.de>,
> > Andreas Schwab <schwab@suse.de> wrote:
> >
> >>|>
> >>|> Storing 30% less executable pages in memory? Reading 30% less
> >>|> executable
> >>|> pages off the disk?
> >>
> >>These are all startup costs that are lost in the noise the longer the
> >>program runs.
> >>
> >
> >That's a load of bull.
> >
> >Startup costs tend to _dominate_ most applications, except for
> >benchmarks, scientific loads and games/multimedia.
> >
> Well the situation is in fact even more embarassing if you do true
> benchmarking on really long running (well that's relative of course)
> applications. I personaly did once in a time a benchmarking on the good old
> tex running trhough a few hundert pages long document. Well the -O2 version
> was actually about 15% *SLOWER* then the -Os version. That's becouse in real
> world applications, which don't do numerical calculations but most of the
> time they do "decision taking" the whole mulitpipline sceduling get's
> outwighted by the simple cache pressure thing by *far*.
>
> The whole GCC developement is badly misguided on this for *sure*. They
> develop for numerics where most programs are kind of doing a
> controlling/decision taking job.
> Well I know I should try this with the kernel one time...
I can second that.
Now that I'm running AMD Athlon's since August 1999 I found during 3D
development/benchmarking (OpenGL/Mesa) that the following GCC flags are
"best" for Athlon/Duron with gcc-2.95.3:
-O -mcpu=k6 -pipe -mpreferred-stack-boundary=2 -malign-functions=4
-fschedule-insns2 -fexpensive-optimizations
I even compile the whole kernel with a little different flags setting. It is
smaller and "faster" with them.
HOSTCFLAGS = -Wall -Wstrict-prototypes -O -fomit-frame-pointer -mcpu=k6
-pipe -mpreferred-stack-boundary=2 -malign-functions=4 -fschedule-insns2
-fexpensive-optimizations
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O \
-fomit-frame-pointer -fno-strict-aliasing -fno-common
linux/arch/i386/Makefile:
ifdef CONFIG_MK7
CFLAGS += $(shell if $(CC) -march=athlon -S -o /dev/null -xc /dev/null
>/dev/null 2>&1; then echo "-march=athlon"; else echo "-mcpu=k6 -pipe
-mpreferred-stack-boundary=2 -malign-functions=4 -fschedule-insns2
-fexpensive-optimizations"; fi)
endif
Regards,
Dieter
--
Dieter Nützel
Graduate Student, Computer Science
University of Hamburg
Department of Computer Science
@home: Dieter.Nuetzel@hamburg.de
next reply other threads:[~2002-01-27 23:59 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-27 23:58 Dieter Nützel [this message]
[not found] <200201251550.g0PFoIPa002738@tigger.cs.uni-dortmund.de.suse.lists.linux.kernel>
[not found] ` <200201250802.32508.bodnar42@phalynx.dhs.org.suse.lists.linux.kernel>
[not found] ` <jeelkes8y5.fsf@sykes.suse.de.suse.lists.linux.kernel>
[not found] ` <a2sv2s$ge3$1@penguin.transmeta.com.suse.lists.linux.kernel>
[not found] ` <20020126034106.F5730@kushida.apsleyroad.org.suse.lists.linux.kernel>
[not found] ` <012d01c1a687$faa11120$0201a8c0@HOMER.suse.lists.linux.kernel>
2002-01-26 22:43 ` Andi Kleen
[not found] <fa.juevf8v.1u7ubb8@ifi.uio.no>
[not found] ` <fa.h3u09pv.1v2k3bm@ifi.uio.no>
2002-01-26 2:12 ` Dan Maas
2002-01-26 3:45 ` Jamie Lokier
2002-01-26 4:33 ` Alexander Viro
2002-01-26 4:38 ` Andrew Pimlott
2002-01-26 4:59 ` Jamie Lokier
2002-01-26 5:11 ` Jamie Lokier
-- strict thread matches above, loose matches on Subject: below --
2002-01-25 15:42 Moore, Robert
2002-01-25 15:50 ` Horst von Brand
2002-01-25 16:02 ` Ryan Cumming
2002-01-25 16:15 ` Andreas Schwab
2002-01-25 20:05 ` Ryan Cumming
2002-01-26 1:00 ` Linus Torvalds
2002-01-26 3:41 ` Jamie Lokier
2002-01-26 16:39 ` Martin Eriksson
2002-01-26 16:47 ` Jeff Garzik
2002-01-26 17:48 ` Jamie Lokier
2002-01-26 18:25 ` Martin Eriksson
2002-01-26 21:42 ` Linus Torvalds
2002-01-30 9:22 ` Andrey Panin
[not found] ` <Pine.LNX.4.33.0201291412590.18804-100000@coffee.psychology.mcmaster.ca>
2002-01-30 8:00 ` Andrey Panin
2002-01-26 17:33 ` Felix von Leitner
2002-01-26 19:40 ` Florian Weimer
2002-01-27 13:56 ` Martin Dalecki
2002-01-25 2:15 Therien, Guy
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=20020127235855Z289062-13996+13121@vger.kernel.org \
--to=dieter.nuetzel@hamburg.de \
--cc=dalecki@evision-ventures.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
Powered by JetHome