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

From: bill davidsen (davidsen@tmr.com)
Date: Fri Jul 25 2003 - 13:36:08 EST


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



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:26 EST