Re: [ACPI] ACPI mentioned on lwn.net/kernel

Martin Dalecki (dalecki@evision-ventures.com)
Sun, 27 Jan 2002 14:56:29 +0100


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...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/