Re: [PATCH] console - Add configurable support for console charset translation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tim Bird
Date: Friday, June 6, 2008 - 4:47 pm

Adrian Bunk wrote:
Not exactly.  I have some automated tests which measure the
compile-time and runtime memory affect of adjusting various kernel
options.  I do have, for 4 different architectures, a "smallest"
config that I've was hand-tuning for each arch.
Unfortunately, I started this some months ago and didn't
finish tuning these minimum configs.  They bitrotted, and now
none of them yeild bootable kernels for their respective boards.

I suppose I could dust this off and take another stab at it to
get some more results.

I wouldn't mind seeing min-configs for some boards in the main
source tree.

I think this has been discussed before, and one problem is
agreeing on what feature set to include in such configs.
At a minimum, it would be nice to have a few nice examples
of really, really small configs for things like qemus for different
architectures (just to give embedded developers who are working
on size a starting point).

It's a spectrum.  One or two yield something over 20k, a few more
yield about 15k, then there's a long tail going down from about 8k
to very small savings (I should look at the size results more often,
some of these are not worth carrying around.  I've been just
maintaining the whole group as a set, and haven't looked at
the size effect of individual patches/options for a while.)

Oh, and if anyone is wondering why I started with a 7k one,
rather than something else with more "punch", it was a
relatively simple one (and it's option name started with
a letter near the beginning of the alphabet ;-)

I also measure runtime, but my current test is not very good.
I do everything over an NFS-mount, and any network hiccups during boot
disturb the memory footprint.  I'm just using a simple "free"
over telnet, and comparing that vs. a baseline.

I suppose a simple "fix" would be to boot each test kernel several
times and discard outlying data points.

A few linux-tiny patches have little effect on kernel image size,
but a nice effect on runtime memory.  (e.g. There's one that changes
some mempool settings, that has only a 1k compile-time effect,
but a 12k runtime effect.)

I've been building up a table with real numbers, but I found
several problem areas with my test.  I'll try to get some numbers
out early next week.
 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] console - Add configurable support for console ..., Tim Bird, (Fri Jun 6, 4:47 pm)
mainlining min-configs..., Tim Bird, (Mon Jun 9, 6:37 pm)
Re: mainlining min-configs..., Ben Nizette, (Mon Jun 9, 8:14 pm)
Re: mainlining min-configs..., Paul Mundt, (Mon Jun 9, 9:16 pm)
Re: mainlining min-configs..., Adrian Bunk, (Tue Jun 10, 1:36 am)
Re: mainlining min-configs..., Tim Bird, (Tue Jun 10, 11:18 am)
Re: mainlining min-configs..., Adrian Bunk, (Tue Jun 10, 11:30 am)
Re: mainlining min-configs..., Sam Ravnborg, (Tue Jun 10, 11:51 am)
Re: mainlining min-configs..., Adrian Bunk, (Tue Jun 10, 12:05 pm)
Re: mainlining min-configs..., Rob Landley, (Tue Jun 10, 8:32 pm)
Re: mainlining min-configs..., Rob Landley, (Tue Jun 10, 8:48 pm)
Re: mainlining min-configs..., Rob Landley, (Tue Jun 10, 10:09 pm)
Re: mainlining min-configs..., Rob Landley, (Tue Jun 10, 10:17 pm)
Re: mainlining min-configs..., Rob Landley, (Tue Jun 10, 10:51 pm)
Re: mainlining min-configs..., Sam Ravnborg, (Tue Jun 10, 11:39 pm)
Re: mainlining min-configs..., Christian MICHON, (Wed Jun 11, 1:59 am)
Re: mainlining min-configs..., Tim Bird, (Wed Jun 11, 12:09 pm)
Re: mainlining min-configs..., Sam Ravnborg, (Wed Jun 11, 12:22 pm)
Re: mainlining min-configs..., Adrian Bunk, (Wed Jun 11, 12:36 pm)
Re: mainlining min-configs..., Tim Bird, (Wed Jun 11, 12:46 pm)
Re: mainlining min-configs..., Sam Ravnborg, (Wed Jun 11, 12:48 pm)
Re: mainlining min-configs..., Rob Landley, (Wed Jun 11, 5:01 pm)
Re: mainlining min-configs..., Rob Landley, (Wed Jun 11, 6:42 pm)