Re: Next patches for the 2.6.25 queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux