[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071213154908.GH10069@stusta.de>
Date: Thu, 13 Dec 2007 16:49:09 +0100
From: Adrian Bunk <bunk@...nel.org>
To: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>
Subject: Re: Next patches for the 2.6.25 queue
On Thu, Dec 13, 2007 at 09:46:42AM -0500, Mathieu Desnoyers wrote:
> Hi Andrew,
>
> I would like to post my next patches in a way that would make it as
> easy for you and the community to review them. Currently, the patches
> that have really settled down are :
>
> * For 2.6.25
>...
> - Immediate Values
> - Redux version, asked by Rusty
>...
I might have missed it:
Are there any real numbers (opposed to estimates and microbenchmarks)
available how much performance we actually gain in which situations?
It might be some workload with markers using Immediate Values or
something like that, but it should be something where the kernel
runs measurably faster with Immediate Values than without.
Currently I'm somewhere between "your Immediate Values are just an
academic code obfuscation without any gain in practice" and "janitors
should convert all drivers to use Immediate Values", and I'd like to
form an opinion based on in which situations the kernel runs faster by
how many percent.
That's also based on observation like e.g. that __read_mostly should
improve the performance, but I've already seen situations in the kernel
where it forced gcc to emit code that was obviously both bigger and
slower than without the __read_mostly [1], and that's part of why I'm
sceptical of all optimizations below the C level unless proven
otherwise.
> Thanks,
>
> Mathieu
cu
Adrian
[1] Figuring out what might have happened is left as an exercise to the
reader. :-)
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists