Re: [PATCH 8/8] Convert PDA into the percpu section

From: Rusty Russell
Date: Wed Mar 07 2007 - 06:57:09 EST


On Wed, 2007-03-07 at 11:33 +1100, Rusty Russell wrote:
> On Tue, 2007-03-06 at 20:34 +0100, Andi Kleen wrote:
> > Do you have text size comparisons before/after and possible lmbench?
>
> No, but I'll run them this evening. Last time the size reduction was
> slight, and there was no measurable performance improvement in
> microbenchmarks.

Here are the size results, for a start:


UP:
Before:
size vmlinux
text data bss dec hex filename
3094881 243110 221184 3559175 364f07 vmlinux

After:
size vmlinux
text data bss dec hex filename
3093409 243142 221184 3557735 364967 vmlinux

SMP:
Before:
size vmlinux
text data bss dec hex filename
3222269 318770 237568 3778607 39a82f vmlinux

After:
size vmlinux
text data bss dec hex filename
3221421 314674 237568 3773663 3994df vmlinux

(The data size changes are moving from pda -> percpu, and on SMP
removing the page-aligned PDA).

So, a slight win. lmbench tomorrow...

Rusty.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/