Re: [uClinux-dev] Kernel 2.6 size increase - get_current()?

bill davidsen
2003-07-25T18:28:38Z

In article <3F1F9531.2050204@softhome.net>,
Ihar \"Philips\" Filipau <filia@softhome.net> wrote:

| Just curious.
|
| Is there any way to guess inline from inline?
|
| I mean 'inline' which means 'this has to be inlined or it will
| break' and 'inline' which means 'inline this please - it adds only 10k
| of code bloat and improve performance in my suppa-puppa-bench by 0.000001%!'
|
| Strictly speaking - separate 'inline' to 'require_inline' and
| 'better_inline'.
| So people who really care about image size - can turn
| 'better_inline' into void, without harm to functionality.
| Actually I saw real performance improvements on my Pentium MMX 133
| (it has $i16k+$d16k of caches I beleive) when I was cutting some of
| inlines out. and I'm not talking about (cache poor) embedded systems...

Actually you have a very diferent CPU to memory bandwidth ratio than a
processor manufactured in this millenium. I use a system like that for
test, but please don't optimize for it!

Speculation of the day: I suspect that on some laptops which run
seriously slower when on battery, the CPU/memory speed changes enough
that you could see and measure better performance with a 'slow' and a
'fast' kernel.

Speculation, since I'm sure the gain would be down in the noise, one of
those 'difference without a distinction' things.
--
bill davidsen <davidsen@tmr.com>
CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.