Re: [Lse-tech] [PATCH] cpusets - big numa cpu and memory placement

From: Paul Jackson
Date: Sat Aug 07 2004 - 22:23:04 EST


Erich wrote:
> The complaints about the huge size of the patch should therefore have
> in mind that we might well get rid of the user interface part of it.

To put some numbers on things, building 2.6.8-rc2-mm2 for arch=ia64,
with gcc 3.3.2, using sn2_defconfig, I see the following kernel text
byte costs:

Enabling CONFIG_CPUSETS: 22384 (22028 cpuset.o, 356 hooks)
The bitmap list UI: 1552
-----
Total: 23936

The bitmap list user interface is a fairly small part of the total.

Of the 22384 for CONFIG_CPUSETS, 22028 bytes is in kernel/cpuset.o and
the remaining 356 for the cpuset kernel hooks (which are essentially
zero if CONFIG_CPUSETS is disabled).


> The core infrastructure of cpusets will be needed anyway and the
> amount of code is the absolutely required minimum, IMHO.

I agree. If anyone can see further opportunities to trim, let me know.


> What I proposed was to include cpusets ASAP

I agree.


> A better world ;-)

Yeah !!

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
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/