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

Paul Jackson
2004-08-08T03:20:33Z

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@sgi.com> 1.650.933.1373